Explainable AI for Software Engineering
Authors:
- 1 November 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-2
Abstract
The success of software engineering projects largely depends on complex decision-making. For example, which tasks should a developer do first, who should perform this task, is the software of high quality, is a software system reliable and resilient enough to deploy, etc. However, erroneous decision-making for these complex questions is costly in terms of money and reputation. Thus, Artificial Intelligence/Machine Learning (AI/ML) techniques have been widely used in software engineering for developing software analytics tools and techniques to improve decision-making, developer productivity, and software quality. However, the predictions of such AI/ML models for software engineering are still not practical (i.e., coarse-grained), not explainable, and not actionable. These concerns often hinder the adoption of AI/ML models in software engineering practices. In addition, many recent studies still focus on improving the accuracy, while a few of them focus on improving explainability. Are we moving in the right direction? How can we better improve the SE community (both research and education)?In this tutorial, we first provide a concise yet essential introduction to the most important aspects of Explainable AI and a hands-on tutorial of Explainable AI tools and techniques. Then, we introduce the fundamental knowledge of defect prediction (an example application of AI for Software Engineering). Finally, we demonstrate three successful case studies on how Explainable AI techniques can be used to address the aforementioned challenges by making the predictions of software defect prediction models more practical, explainable, and actionable. The materials are available at https://xai4se.github.io.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Actionable Analytics: Stop Telling Me What It Is; Please Tell Me What To DoIEEE Software, 2021
- SQAPlanner: Generating Data-Informed Software Quality Improvement PlansIEEE Transactions on Software Engineering, 2021
- Predicting Defective Lines Using a Model-Agnostic TechniqueIEEE Transactions on Software Engineering, 2020
- The impact of automated feature selection techniques on the interpretation of defect modelsEmpirical Software Engineering, 2020
- Mining Software Defects: Should We Consider Affected Releases?2019
- AutoSpearman: Automatically Mitigating Correlated Software Metrics for Interpreting Defect Models2018
- An experience report on defect modelling in practice2018
- An Empirical Comparison of Model Validation Techniques for Defect Prediction ModelsIEEE Transactions on Software Engineering, 2017
- "Why Should I Trust You?"2016
- Automated parameter optimization of classification techniques for defect prediction models2016