paperbot · PL 论文追踪

全部论文 待读 收藏

P1 A Localization Framework for Reasoning Faults in LLM-based Code Agents

LLM代码智能体推理故障定位框架
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 6/10 · 论文聚焦 LLM 代码智能体的推理失败诊断与定位,属于 Agentic 程序的可靠性/调试问题,且提出了一个此前缺失的标注数据集(APPS-Failure-DB),与用户对 Agentic 程序分析和重要场景 benchmark 的兴趣部分契合;但其核心技术是动态覆盖追踪加 Tracer/Debugger Agent,而非用户主攻的静态分析、浮点或贝叶斯程序分析,也非用 LLM 改进静态分析。此外验证仅在 Qwen 7B Coder 上完成,且代码行级定位 F1 仅 0.0714,与用户偏好建立在强模型之上的工作要求有差距。引用 0 inbox
Birudugadda Srivibhav, Kondam Sriman Reddy, Nakka Naga Bhuvith, Koleti Eswar Sai Ganesh, Shouvick Mondal
crossref: 2026-09-12

AI 速览

一句话:提出APPS-Failure-DB数据集与工具辅助定位框架,将LLM代码智能体的推理失败日志关联到代码故障。

论文针对LLM代码智能体失败常源于内部推理缺陷而非简单代码bug、但缺乏标注数据的问题,构建了APPS-Failure-DB:包含2450个来自Qwen 7B Coder在APPS任务上的经验证推理失败样本,并通过盲Oracle Agent(GPT-4o)提供真值标注。基于该数据集,作者提出工具辅助定位框架,结合覆盖追踪的动态分析与语义Tracer Agent构建可追踪映射,再由Debugger Agent完成推理阶段与代码行级定位。结果显示,73.82%的失败发生在执行阶段,推理阶段定位准确率为67.48%;但7B模型代码行级定位仍困难,F1仅0.0714。该工作同时贡献数据集与诊断框架。

问题
LLM代码智能体失败常由非结构化假设日志中的推理缺陷导致,但缺乏系统研究的标注数据集,且难以将推理失败链接到具体代码故障。
方法
构建APPS-Failure-DB与Oracle-Annotated Pipeline,并提出结合覆盖率追踪、Tracer Agent和Debugger Agent的工具辅助定位框架。
评估
在APPS推理失败样本上评估失败阶段分布与定位准确率,报告执行阶段失败占比、推理阶段定位准确率及代码行级F1。
原文摘要(Abstract)

Autonomous LLM-based code agents are rapidly advancing, yet their practical utility is hindered by a critical gap in our understanding of their failures. When an agent fails, the root cause is often not a simple code bug but a complex flaw in its internal reasoning process, which is captured in unstructured "hypothesis" logs. To date, there has been no annotated dataset to systematically study this phenomenon, especially on complex, competitive programming-style tasks. To address this gap, we introduce APPS-Failure-DB, a new benchmark dataset of 2450 unique, validated reasoning failures from an LLM agent (Qwen 7B Coder) tasked with solving problems from the APPS dataset. We generated this dataset using a novel "Oracle-Annotated Pipeline," where a blind Oracle Agent (GPT-4o) validates and provides ground-truth annotations for each logical failure. Building on this dataset, we propose and evaluate a new, tool-assisted localization framework that is the first to link the unstructured text of an agent’s hypothesis log to specific code-level faults. Our framework combines dynamic analysis (coverage tracing) with a semantic "Tracer Agent" to build a traceability map, enabling a final "Debugger Agent" to perform precise localization. Our results demonstrate that we can characterize failure patterns in agent reasoning, with 73.82% of failures occurring in the Execution-Phase, and achieve a reasoning-phase localization accuracy of 67.48%. While code-line-level localization remains challenging with our 7B parameter model (F1-Score of 0.0714), our framework establishes a foundation for future work with larger models. This work contributes both a new dataset for the research community and a novel framework for diagnosing agent reasoning failures.

链接与引用

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

BibTeX
@inproceedings{paperbot11784,
  title = {A Localization Framework for Reasoning Faults in LLM-based Code Agents},
  author = {Birudugadda Srivibhav and Kondam Sriman Reddy and Nakka Naga Bhuvith and Koleti Eswar Sai Ganesh and Shouvick Mondal},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3774748.3793627}
}