3.8 Proceedings Paper

Leveraging Causal Inference for Explainable Automatic Program Repair

出版社

IEEE
DOI: 10.1109/IJCNN55064.2022.9892168

关键词

Automated Program Repair; Program Analysis; Sequence-to-sequence Model; Causal Inference; Interpretability

资金

  1. Key Research and Development Program of Guangdong Province [2021B0101400003]

向作者/读者索取更多资源

This paper introduces an interpretable program repair method CPR based on sequence-to-sequence models, which can generate explanations in the decision-making process and select the most relevant components by inferring causal relationships and solving partitioning problem. The experiments show that CPR can provide reasonable causal graphs and improve bug fixing performance in automatic program repair.
Deep learning models have made significant progress in automatic program repair. However, the black-box nature of these methods has restricted their practical applications. To address this challenge, this paper presents an interpretable approach for program repair based on sequence-to-sequence models with causal inference and our method is called CPR, short for causal program repair. Our CPR can generate explanations in the process of decision making, which consists of groups of causally related input-output tokens. Firstly, our method infers these relations by querying the model with inputs disturbed by data augmentation. Secondly, it generates a graph over tokens from the responses and solves a partitioning problem to select the most relevant components. The experiments on four programming languages (Java, C, Python, and JavaScript) show that CPR can generate causal graphs for reasonable interpretations and boost the performance of bug fixing in automatic program repair.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

3.8
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据