arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.03284cs.AIcs.CLcs.MA
收藏

SMoA:利用稀疏混合智能体改进多智能体大语言模型

SMoA: Improving Multi-agent Large Language Models with Sparse Mixture-of-Agents

School of Computing, and Augmented Intelligence, Arizona State University(亚利桑那州立大学计算与增强智能学院);Computer Science and Engineering, Michigan State University(密歇根州立大学计算机科学与工程学院);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);University of Texas at Austin(德克萨斯大学奥斯汀分校)

Dawei Li, Zhen Tan, Peijia Qian, Yifan Li, Kumar Satvik Chaudhary, Lijie Hu, Jiayi Shen

AI总结:

针对多智能体LLM中密集交互导致的效率与多样性问题,提出SMoA框架,通过响应选择、早停和角色分配,在保持性能的同时显著降低计算成本。

摘要:

尽管多智能体系统已被证明能够在各种任务和应用中显著提升大语言模型(LLM)的性能,但扩展智能体之间的密集交互可能会阻碍其效率和多样性。为了应对这些挑战,我们从稀疏混合专家(SMoE)中汲取灵感,提出了一种稀疏混合智能体(SMoA)框架,以提高多智能体LLM的效率和多样性。与完全连接的结构不同,SMoA引入了新颖的响应选择和早停机制,以稀疏化各个LLM智能体之间的信息流,从而在性能和效率之间取得平衡。此外,受SMoE框架中用于专家间工作负载平衡的专家多样性原则的启发,我们为每个LLM智能体分配了不同的角色描述,以促进多样化和发散性思维。在推理、对齐和公平性基准上的大量实验表明,SMoA实现了与传统混合智能体方法相当的性能,但计算成本显著降低。进一步分析表明,SMoA更加稳定,具有更大的扩展能力,并通过超参数优化提供了相当大的潜力。代码和数据将在https://github.com/David-Li0406/SMoA上提供。

英文摘要:

While multi-agent systems have been shown to significantly enhance the performance of Large Language Models (LLMs) across various tasks and applications, the dense interaction between scaling agents potentially hampers their efficiency and diversity. To address these challenges, we draw inspiration from the sparse mixture-of-agents (SMoE) and propose a sparse mixture-of-agents (SMoA) framework to improve the efficiency and diversity of multi-agent LLMs. Unlike completely connected structures, SMoA introduces novel Response Selection and Early Stopping mechanisms to sparsify information flows among individual LLM agents, striking a balance between performance and efficiency. Additionally, inspired by the expert diversity principle in SMoE frameworks for workload balance between experts, we assign distinct role descriptions to each LLM agent, fostering diverse and divergent thinking. Extensive experiments on reasoning, alignment, and fairness benchmarks demonstrate that SMoA achieves performance comparable to traditional mixture-of-agents approaches but with significantly lower computational costs. Further analysis reveals that SMoA is more stable, has a greater capacity to scale, and offers considerable potential through hyper-parameter optimization. Code and data will be available at: https://github.com/David-Li0406/SMoA.

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

↑