arXiv:2410.08115cs.CLcs.AI2024-10ACL被引 52

Optima提升大模型多智能体系统的沟通效率与任务效果,减少90%以上通信开销。

Optima: Optimizing Effectiveness and Efficiency for LLM-Based Multi-Agent System

  • 通过生成、排序、选择、训练的迭代循环优化多智能体对话策略。
  • 在复杂推理任务中性能提升2.8倍,通信token消耗低于10%。
  • 适合需要高效协作的大模型系统研发者,尤其关注推理效率的场景。

基于大语言模型(LLM)的多智能体系统(MAS)在协同解决问题方面展现出巨大潜力,但仍面临通信效率低、可扩展性差及参数更新优化方法不足等关键挑战。本文提出Optima框架,通过大模型训练显著提升通信效率与任务有效性。该框架采用生成、排序、选择、训练的迭代范式,并设计兼顾任务表现、令牌效率与通信可读性的奖励函数。研究对比了监督微调、直接偏好优化及其混合方法,揭示其效能-效率权衡。引入受蒙特卡洛树搜索启发的技术生成DPO数据,将对话轮次视为节点以探索多样化交互路径。在信息不对称问答和复杂推理等常见多智能体任务上评估,Optima相较于单智能体基线与原始多智能体系统(基于Llama 3 8B),实现高达2.8倍的性能提升,且在需大量信息交换的任务中仅使用不足10%的令牌。此外,其效率优势为更有效地利用推理计算提供了可能,推动推理时缩放定律的改进。本工作为构建可扩展、高效、有效的多智能体系统提供了新路径。

原文摘要 · Abstract (English)

Large Language Model (LLM) based multi-agent systems (MAS) show remarkable potential in collaborative problem-solving, yet they still face critical challenges: low communication efficiency, poor scalability, and a lack of effective parameter-updating optimization methods. We present Optima, a novel framework that addresses these issues by significantly enhancing both communication efficiency and task effectiveness in LLM-based MAS through LLM training. Optima employs an iterative generate, rank, select, and train paradigm with a reward function balancing task performance, token efficiency, and communication readability. We explore various RL algorithms, including Supervised Fine-Tuning, Direct Preference Optimization, and their hybrid approaches, providing insights into their effectiveness-efficiency trade-offs. We integrate Monte Carlo Tree Search-inspired techniques for DPO data generation, treating conversation turns as tree nodes to explore diverse interaction paths. Evaluated on common multi-agent tasks, including information-asymmetric question answering and complex reasoning, Optima shows consistent and substantial improvements over single-agent baselines and vanilla MAS based on Llama 3 8B, achieving up to 2.8x performance gain with less than 10\% tokens on tasks requiring heavy information exchange. Moreover, Optima's efficiency gains open new possibilities for leveraging inference-compute more effectively, leading to improved inference-time scaling laws. By addressing fundamental challenges in LLM-based MAS, Optima shows the potential towards scalable, efficient, and effective MAS (https://chenweize1998.github.io/optima-project-page).

多智能体大模型优化通信效率

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。