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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Dawei, Tan, Zhen, Qian, Peijia, Li, Yifan, Chaudhary, Kumar Satvik, Hu, Lijie, Shen, Jiayi
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910686084333568
author Li, Dawei
Tan, Zhen
Qian, Peijia
Li, Yifan
Chaudhary, Kumar Satvik
Hu, Lijie
Shen, Jiayi
author_facet Li, Dawei
Tan, Zhen
Qian, Peijia
Li, Yifan
Chaudhary, Kumar Satvik
Hu, Lijie
Shen, Jiayi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_03284
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SMoA: Improving Multi-agent Large Language Models with Sparse Mixture-of-Agents
Li, Dawei
Tan, Zhen
Qian, Peijia
Li, Yifan
Chaudhary, Kumar Satvik
Hu, Lijie
Shen, Jiayi
Artificial Intelligence
Computation and Language
Multiagent Systems
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.
title SMoA: Improving Multi-agent Large Language Models with Sparse Mixture-of-Agents
topic Artificial Intelligence
Computation and Language
Multiagent Systems
url https://arxiv.org/abs/2411.03284