Mixture-of-Agents Enhances Large Language Model Capabilities

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Junlin, Wang, Jue, Athiwaratkun, Ben, Zhang, Ce, Zou, James
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916279505387520
author Wang, Junlin
Wang, Jue
Athiwaratkun, Ben
Zhang, Ce
Zou, James
author_facet Wang, Junlin
Wang, Jue
Athiwaratkun, Ben
Zhang, Ce
Zou, James
contents Recent advances in large language models (LLMs) demonstrate substantial capabilities in natural language understanding and generation tasks. With the growing number of LLMs, how to harness the collective expertise of multiple LLMs is an exciting open direction. Toward this goal, we propose a new approach that leverages the collective strengths of multiple LLMs through a Mixture-of-Agents (MoA) methodology. In our approach, we construct a layered MoA architecture wherein each layer comprises multiple LLM agents. Each agent takes all the outputs from agents in the previous layer as auxiliary information in generating its response. MoA models achieves state-of-art performance on AlpacaEval 2.0, MT-Bench and FLASK, surpassing GPT-4 Omni. For example, our MoA using only open-source LLMs is the leader of AlpacaEval 2.0 by a substantial gap, achieving a score of 65.1% compared to 57.5% by GPT-4 Omni.
format Preprint
id arxiv_https___arxiv_org_abs_2406_04692
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Mixture-of-Agents Enhances Large Language Model Capabilities
Wang, Junlin
Wang, Jue
Athiwaratkun, Ben
Zhang, Ce
Zou, James
Computation and Language
Recent advances in large language models (LLMs) demonstrate substantial capabilities in natural language understanding and generation tasks. With the growing number of LLMs, how to harness the collective expertise of multiple LLMs is an exciting open direction. Toward this goal, we propose a new approach that leverages the collective strengths of multiple LLMs through a Mixture-of-Agents (MoA) methodology. In our approach, we construct a layered MoA architecture wherein each layer comprises multiple LLM agents. Each agent takes all the outputs from agents in the previous layer as auxiliary information in generating its response. MoA models achieves state-of-art performance on AlpacaEval 2.0, MT-Bench and FLASK, surpassing GPT-4 Omni. For example, our MoA using only open-source LLMs is the leader of AlpacaEval 2.0 by a substantial gap, achieving a score of 65.1% compared to 57.5% by GPT-4 Omni.
title Mixture-of-Agents Enhances Large Language Model Capabilities
topic Computation and Language
url https://arxiv.org/abs/2406.04692