paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Fault localization to detect co-change fixing locations

故障定位以检测协同变更的修复位置
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 3/10 · 该论文属于深度学习用于故障定位与程序修复的 PL+ML 交叉工作,虽与程序分析/修复相关,但未涉及用户核心关注的静态分析赋能 ML/Agent、LLM/Agent 改进程序分析、浮点程序分析或贝叶斯程序分析。方法上使用 GCN 和双任务学习,也不是以 LLM/Agent 为工具或面向 Agentic 程序。引用 23 inbox
Yi Li, Shaohua Wang, Tien N. Nguyen
crossref: 2026-09-12

AI 速览

一句话:提出 FixLocator,用双任务深度学习定位同一修复中需协同变更的方法与语句级故障位置。

故障定位是大多数自动程序修复的前置步骤,传统方法通常只定位单个故障语句。论文提出 FixLocator,面向同一修复中需要一起修改的协同变更修复位置,支持检测一个或多个方法中需要相应修改的故障语句。方法将问题建模为双任务学习:方法级模型 MethFL 学习方法共同修复,语句级模型 StmtFL 学习语句共同修复;两者通过 cross-stitch 单元软共享参数,使一个模型的学习可以促进另一个模型。论文还引入“协同变更语句”这一新特征,并使用图卷积网络整合不同类型程序依赖。摘要未报告具体评估结果。

问题
多数故障定位方法只针对单个故障位置,而实际修复常需在多个方法或语句间协同修改,现有方法难以检测这类 co-change fixing locations。
方法
提出基于深度学习的 FixLocator,采用 MethFL 与 StmtFL 双任务学习,通过 cross-stitch 软共享参数,并结合 co-changed statements 特征与图卷积网络整合程序依赖。
评估
摘要未具体说明评估数据集、指标与量化结果;从摘要看,评估应验证其检测同一修复中协同变更的方法级与语句级故障位置的能力。
原文摘要(Abstract)

Fault Localization (FL) is a precursor step to most Automated Program Repair (APR) approaches, which fix the faulty statements identified by the FL tools. We present FixLocator, a Deep Learning (DL)-based fault localization approach supporting the detection of faulty statements in one or multiple methods that need to be modified accordingly in the same fix. Let us call them co-change (CC) fixing locations for a fault. We treat this FL problem as dual-task learning with two models. The method-level FL model, MethFL, learns the methods to be fixed together. The statement-level FL model, StmtFL, learns the statements to be co-fixed. Correct learning in one model can benefit the other and vice versa. Thus, we simultaneously train them with soft-sharing the models' parameters via cross-stitch units to enable the propagation of the impact of MethFL and StmtFL onto each other. Moreover, we explore a novel feature for FL: the co-changed statements. We also use Graph-based Convolution Network to integrate different types of program dependencies.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot6987,
  title = {Fault localization to detect co-change fixing locations},
  author = {Yi Li and Shaohua Wang and Tien N. Nguyen},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3549137}
}