paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Towards Adaptive Software Agents for Debugging

迈向用于调试的自适应软件智能体
FSE Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering2025匹配度 3/10 · 该论文属于用 LLM 多智能体做调试/修复的软件工程工作,既未涉及静态分析、形式化验证,也未涉及浮点或贝叶斯程序分析;其设计目标是提升 Agent 自身的调试能力(自适应角色/数量),更接近用户明确不感兴趣的'研究目标本身是 LLM/Agent'一类。仅因涉及 Agentic 程序与调试场景而与研究方向有微弱交集,且摘要仅为初步评估,缺乏理论形式化与工业落地证据。引用 1 inbox
Yacine Majdoub, Eya Ben Charrada, Haifa Touati
crossref: 2026-09-12

AI 速览

一句话:提出自适应多智能体设计,按任务复杂度动态确定智能体数量与角色,提升 LLM 调试修复效果。

多智能体设计已被证明能提升大语言模型的调试能力,但增加 LLM 智能体数量会带来运行成本上升以及智能体偏离焦点等弊端。本文提出一种自适应智能体设计:智能体的数量与角色根据待完成任务复杂度动态确定,且角色并非预先定义,而是在分析待解决问题之后生成。初步评估显示,生成的智能体数量依赖于缺陷代码的复杂度——对于仅有语法问题的简单代码,通常只用一个智能体即可修复;对于更复杂的问题,则会创建更多智能体。在修复有效性方面,相比 one-shot prompting 平均提升 11%。作者据此展望未来研究方向,以改进该设计,使自适应软件智能体能够自主规划并执行其软件目标。

问题
使用多个 LLM 智能体可提升调试能力,但增加智能体数量会提高运行成本并增加智能体失去焦点的风险。
方法
提出自适应智能体设计,智能体数量与角色由任务复杂度动态决定,角色在分析问题后生成而非预定义。
评估
初步评估表明生成的智能体数量随缺陷代码复杂度变化,简单语法问题通常仅需一个智能体,修复效果相比 one-shot prompting 平均提升 11%。
原文摘要(Abstract)

Using multiple agents was found to improve the debugging capabilities of Large Language Models. However, increasing the number of LLM-agents has several drawbacks such as increasing the running costs and rising the risk for the agents to lose focus. In this work, we propose an adaptive agentic design, where the number of agents and their roles are determined dynamically based on the complexity of the task to be achieved. In this design, the agents roles are not predefined, but are generated after analyzing the problem to be solved. Our initial evaluation shows that, with the adaptive design, the number of agents that are generated depends on the complexity of the buggy code. In fact, for simple code with mere syntax issues, the problem was usually fixed using one agent only. However, for more complex problems, we noticed the creation of a higher number of agents. Regarding the effectiveness of the fix, we noticed an average improvement of 11% compared to the one-shot prompting. Given these promising results, we outline future research directions to improve our design for adaptive software agents that can autonomously plan and conduct their software goals.

链接与引用

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

BibTeX
@inproceedings{paperbot8997,
  title = {Towards Adaptive Software Agents for Debugging},
  author = {Yacine Majdoub and Eya Ben Charrada and Haifa Touati},
  booktitle = {FSE},
  year = {2025},
  doi = {10.1145/3696630.3728514}
}