Abstract:Machine learning (ML) models play an increasingly prevalent role in many software engineering tasks. However, because most models are now powered by opaque deep neural networks, it can be difficult for developers to understand why the model came to a certain conclusion and how to act upon the model's prediction. Motivated by this problem, this paper explores counterfactual explanations for models of source code. Such counterfactual explanations constitute minimal changes to the source code under which the mode… Show more
“…Regarding ML models for program repair, Noller et al surveyed developers and discovered that not only do most current program repair tools not produce high-quality patches but also developers do not seem interested in human-in-the-loop interaction to collaboratively develop better patches [20]. Regarding summarizing code diffs, Cito et al develop a method for producing counterfactual explanations for models of code [5]. The focus of this work is models for automated code review that predict some metric such as performance given a code diff.…”
“…Regarding ML models for program repair, Noller et al surveyed developers and discovered that not only do most current program repair tools not produce high-quality patches but also developers do not seem interested in human-in-the-loop interaction to collaboratively develop better patches [20]. Regarding summarizing code diffs, Cito et al develop a method for producing counterfactual explanations for models of code [5]. The focus of this work is models for automated code review that predict some metric such as performance given a code diff.…”
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.