去中心化多智能体系统提升大模型推理效率与成本效益
Decentralized Multi-Agent Systems with Shared Context
- 多智能体并行处理,共享验证上下文避免中心节点瓶颈
- 在SWE-bench上最高提升10.5个百分点,任务成本降低50%
- 适合需要高效长文本推理与大规模代码生成的场景
多智能体系统(MAS)可通过将复杂问题分解为并行子任务,在推理时扩展大语言模型的能力。然而,现有多数MAS依赖中心化协调,主代理负责分配任务、收集输出并合并结果,随着子任务增加,控制器成为通信与整合瓶颈。本文提出去中心化语言模型(DeLM),通过并行智能体、共享验证上下文和任务队列实现去中心化协调。智能体异步领取子任务,读取累积进展,执行本地推理,并写回紧凑的验证更新。共享上下文作为通用通信基础,使智能体可基于彼此已验证的进展协作,无需将每次更新经由中央控制器。实验表明,DeLM在软件工程测试时扩展和长上下文推理方面均有提升。在SWE-bench Verified上,平均@1、通过率@2和通过率@4均达最优,相比最强基线最高提升10.5个百分点,任务成本降低约50%。在LongBench-v2多文档问答中,对四种前沿模型家族均取得最高平均准确率,较最强基线最高提升5.7个百分点。代码已公开于项目主页 https://yuzhenmao.github.io/DeLM/。
原文摘要 · Abstract (English)
Multi-agent systems (MAS) can scale large language model reasoning at test time by decomposing complex problems into parallel subtasks. However, most existing MAS rely on centralized orchestration, where a main agent assigns work, collects outputs, and merges results. As the number of subtasks grows, this controller becomes a communication and integration bottleneck. We propose Decentralized Language Models (DeLM), a MAS framework that decentralizes coordination through parallel agents, a shared verified context, and a task queue. Agents asynchronously claim subtasks, read accumulated progress, perform local reasoning, and write back compact verified updates. The shared context acts as a common communication substrate, enabling agents to build on one another's verified progress without routing every update through a central controller. Empirically, DeLM improves both software-engineering test-time scaling and long-context reasoning. On SWE-bench Verified, DeLM achieves the best performance across Avg.@1, Pass@2, and Pass@4, with gains of up to 10.5 percentage points over the strongest baseline, while reducing cost per task by roughly 50%. On LongBench-v2 Multi-Doc QA, DeLM achieves the highest average accuracy across four frontier model families, improving over the strongest baseline by up to 5.7 percentage points. The code is available on our project website at https://yuzhenmao.github.io/DeLM/.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。