paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Towards AI-Powered Localization of Software Bugs: From Semantic Understanding to Agentic Cognition

迈向 AI 驱动的软件缺陷定位:从语义理解到智能体认知
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 5/10 · 论文处于 PL 与 AI 交叉,利用 LLM 的程序语义理解与上下文推理做缺陷定位,与“AI 辅助软件工程/程序理解”相邻;但未聚焦静态分析/形式化验证,也不涉及浮点或贝叶斯程序分析等核心方向。引用 0 inbox
Asif Mohammed Samir
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出借助程序语义理解、上下文推理与开发者式调试认知三条途径,显著提升自动缺陷定位效果。

软件缺陷每年造成数十亿美元损失,并占用开发者近一半时间,但自动缺陷定位至今仍未被很好解决:信息检索类方法只做表层文本匹配,深度学习方法则依赖大量训练数据,效果与适用性受限。近期大语言模型在自然语言与源代码理解上展现出前所未有的能力,但其在缺陷定位中的潜力尚缺乏探索。本博士论文工作假设:通过程序语义理解、上下文推理以及受开发者启发的调试实践,缺陷定位系统可以更好地克服现有方法的局限。作者围绕该假设提出三个研究问题,开展三项分别利用不同形式智能的研究:(1) 利用程序语义弥合缺陷报告与源代码之间的鸿沟;(2) 通过上下文推理捕捉智能相关性反馈;(3) 复现开发者的认知调试实践。研究结果表明,这些途径能够显著改进缺陷定位。

问题
自动缺陷定位仍是难题:传统信息检索方法依赖表层文本匹配,深度学习则需要大量训练数据,导致效果与适用性受限。
方法
基于大语言模型,从程序语义理解、上下文推理(智能相关性反馈)与模仿开发者认知调试实践三个角度设计缺陷定位方法,并围绕三组研究问题展开研究。
评估
通过三项分别利用不同形式智能的研究来检验所提假设;摘要未给出具体数据集、基线与指标。
原文摘要(Abstract)

Software bugs cost billions annually and consume nearly 50% of developers' time. Despite decades of research, automated bug localization remains challenging according to software practitioners. Traditional approaches (e.g., Information Retrieval) rely on surface-level textual matching, while deep learning methods require extensive training data, limiting their effectiveness and applicability. Recent Large Language Models (LLMs) offer unprecedented capabilities in understanding both natural language and source code, yet their potential for bug localization remains underexplored. In this dissertation work, we hypothesize that through program semantics understanding, contextual reasoning, and developer-inspired debugging practices, bug localization systems can better overcome the limitations of existing approaches. We ask three research questions targeting the hypothesis, conduct three studies leveraging different forms of intelligence, and use them to test our hypothesis. Our studies suggest that bug localization can be improved significantly by (1) leveraging program semantics to bridge gaps between bug report and source code, (2) capturing Intelligent Relevance Feedback through contextual reasoning, and (3) replicating developers' cognitive debugging practices.

链接与引用

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

BibTeX
@inproceedings{Samir26,
  title = {Towards AI-Powered Localization of Software Bugs: From Semantic Understanding to Agentic Cognition},
  author = {Asif Mohammed Samir},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3804878}
}