AI Agents 相关度: 9/10

CollabCoder: Plan-Code Co-Evolution via Collaborative Decision-Making for Efficient Code Generation

Duy Tung Doan, Quang Huy Phung, Dzung Nguyen, Khac-Hoai Nam Bui
arXiv: 2604.13946v1 发布: 2026-04-15 更新: 2026-04-15

AI 摘要

CollabCoder提出了一种新型Plan-Code协同进化框架,提升代码生成质量和效率。

主要贡献

  • 提出Plan-Code协同进化框架CollabCoder
  • 动态多Agent协作进行代码生成
  • 在复杂benchmark上性能优于现有方法并降低计算开销

方法论

设计计划模块和代码模块之间的协同决策过程,动态决定哪个模块执行调试。

原文摘要

Automated code generation remains a persistent challenge in software engineering, as conventional multi-agent frameworks are often constrained by static planning, isolated execution, high computational overhead, and limited adaptability to complex tasks. This paper introduces CollabCoder, a novel Plan-Code Co-Evolution framework that improves code generation through dynamic multi-agent collaboration. The core idea is to design a collaborative decision-making process between the plan module and the code module to decide which module should be executed for the debugging process. Extensive experiments on widely used benchmarks demonstrate that CollabCoder consistently improves code quality and robustness across tasks. Importantly, CollabCoder achieves performance comparable to or exceeding current state-of-the-art methods while reducing computational overhead, with efficiency gains becoming more pronounced as benchmark difficulty increases. On the more challenging LiveCodeBench and xCodeEval benchmarks, our approach improves performance by 11-20% over strong baselines while reducing the number of API calls by an average of 4-10 per execution.

标签

代码生成 多Agent系统 协同进化 自动化调试

arXiv 分类

cs.SE cs.CL