跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 多智能体系统

arXiv:2611.33893 (cs)
[提交于 2026年11月25日]

标题:When Are Parallel Subagents Effective for Coding? An Empirical Study on Repository Construction

作者:Zhiheng Lyu, Chengyu Yin, Lingming Zhang
查看论文《When Are Parallel Subagents Effective for Coding? An Empirical Study on Repository Construction》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:LLM-based coding agents are increasingly used for long-horizon tasks such as building an entire program from a specification. Products like Codex and Claude Code let an agent delegate work to parallel subagents, multiplying run cost, yet it remains unclear whether and when delegation produces a better program. We compare a single agent with a main agent delegating to subagents on repository-construction tasks from NL2Repo and ProgramBench (which also provides an executable reference program). We compare scores at equal time and equal cost, run intervention experiments, and analyze fine-grained behavior. On randomly drawn tasks, parallel subagents raise hidden-test pass rates by only about 1 to 5 percentage points at up to 3.8x the cost of a single agent. Their gain is larger on hard tasks, where we find evidence of three mechanisms. Self-checking: with GPT-5.6 Sol, one sentence telling a single agent to probe the reference program first recovers most of this gain at a fraction of the cost; from GPT-5.6 Sol to GPT-6.1 Sol, the gain shrinks as single agents check their own work more. Fresh context: in extended runs, a single agent that periodically starts a new session with an empty conversation makes faster early progress in every comparison than one that resumes its conversation. Modularity: multi-agent runs produce more modular code (more files and shorter functions), closer to the upstream source. We observe similar patterns in a smaller replication with Opus 5.5 on Claude Code. Overall, subagents help when (i) a single agent stops checking too early, (ii) a long session keeps editing with little improvement, or (iii) modular code helps on the task; otherwise, they mainly add cost.
评论: 50 pages (18 pages main text, plus references and appendices), 10 figures. Code: https://github.com/cogito233/subagent-study ; Dataset: https://huggingface.co/datasets/cogito233/subagent-study-data
主题: 多智能体系统 (cs.MA); 人工智能 (cs.AI)
引用方式: arXiv:2611.33893 [cs.MA]
  (或者 arXiv:2611.33893v1 [cs.MA] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.33893

提交历史

来自:Zhiheng Lyu
[v1] 2026年11月25日 星期三 07:11:29 UTC (542 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.MA
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站