arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.15707cs.SEcs.AI
收藏

SEMAG:自演化多智能体代码生成

SEMAG: Self-Evolutionary Multi-Agent Code Generation

College of Computer Science and Software Engineering, Shenzhen University, China(深圳大学计算机科学与软件工程学院);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ), China(广东省人工智能与数字经济发展实验室(深圳));School of Information Technology, Carleton University, Canada(卡尔顿大学信息技术学院)

Yulin Peng, Haowen Hou, Xinxin Zhu, Ying Tiffany He, F. Richard Yu

AI总结:

SEMAG通过自演化多智能体框架提升代码生成适应性,实现更高准确率和更强的模型自适应能力。

摘要:

SEMAG通过自演化多智能体框架提升代码生成适应性,实现更高准确率和更强的模型自适应能力。

英文摘要:

Large Language Models (LLMs) have made significant progress in handling complex programming tasks. However, current methods rely on manual model selection and fixed workflows, which limit their ability to adapt to changing task complexities. To address this, we propose SEMAG, a Self-Evolutionary Multi-Agent code Generation framework that mimics human coding practices. It decomposes programming tasks into stages, including planning, coding, debugging, and discussion, while adapting workflows to task difficulty. Its self-evolutionary agents can access the latest models in real time and automatically upgrade the backbone model. SEMAG sets new state-of-the-art Pass@1 accuracy across benchmarks. Using identical backbone models, SEMAG outperforms prior methods by 3.3% on CodeContests. When augmented with self-evolutionary model selection that automatically identifies optimal backbones, SEMAG reaches 52.6%, showcasing both framework effectiveness and adaptability to evolving LLM capabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑