让多个AI角色自动调整分工和协作方式,更灵活高效解决复杂问题。
MetaGen: Self-Evolving Roles and Topologies for Multi-Agent LLM Reasoning
- 推理时动态生成和更新角色职责,不改动模型参数。
- 在代码生成和多步推理任务中准确率提升,推理成本更低。
- 适合需要灵活协作的复杂任务,如编程、深度推理场景。
大语言模型正被广泛应用于多智能体系统中,通过结构化交互协作完成单个智能体难以胜任的复杂任务。然而,现有系统通常依赖固定的角色库和僵化的交互拓扑,导致任务匹配度低,无法根据新信息及时调整,且推理开销大。我们提出MetaGen,一种无需训练的框架,在推理阶段动态调整角色空间与协作拓扑,不更新基础模型权重。MetaGen基于查询条件生成并重写角色说明,维护可调控的动态角色池,并围绕最小骨干结构构建受限执行图。执行过程中,通过轻量级反馈信号迭代更新角色提示并调整结构决策。在代码生成和多步推理基准上的实验表明,MetaGen在准确率与成本权衡上优于强基线多智能体系统。
原文摘要 · Abstract (English)
Large language models are increasingly deployed as multi-agent systems, where specialized roles communicate and collaborate through structured interactions to solve complex tasks that often exceed the capacity of a single agent. However, most existing systems still rely on a fixed role library and an execution-frozen interaction topology, a rigid design choice that frequently leads to task mismatch, prevents timely adaptation when new evidence emerges during reasoning, and further inflates inference cost. We introduce MetaGen, a training-free framework that adapts both the role space and the collaboration topology at inference time, without updating base model weights. MetaGen generates and rewrites query-conditioned role specifications to maintain a controllable dynamic role pool, then instantiates a constrained execution graph around a minimal backbone. During execution, it iteratively updates role prompts and adjusts structural decisions using lightweight feedback signals. Experiments on code generation and multi-step reasoning benchmarks show that MetaGen improves the accuracy and cost tradeoff over strong multi-agent baselines.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。