一句话:综述可解释 AI 在软件工程中的应用,并通过缺陷预测案例展示如何使预测更实用、可解释和可行动。
软件工程中的决策日益复杂,AI/ML 被广泛用于软件分析以提升决策、开发者生产力与软件质量,但其预测往往粒度粗、不可解释且不可行动,阻碍了实践采纳。本教程首先介绍可解释 AI 的核心概念、工具与技术,并讲授缺陷预测这一软件工程 AI 应用的基础知识;随后通过三个成功案例,展示可解释 AI 技术如何应对上述挑战,使软件缺陷预测更实用、可解释和可行动。教程材料见 https://xai4se.github.io。
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.
DOI 原文 ·
@inproceedings{paperbot6537,
title = {Explainable AI for Software Engineering},
author = {Chakkrit Kla Tantithamthavorn and Jirayus Jiarpakdee},
booktitle = {ASE},
year = {2021},
doi = {10.1109/ase51524.2021.9678580}
}