arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.04692cs.CL
收藏

智能体混合(Mixture-of-Agents)增强大语言模型能力

Mixture-of-Agents Enhances Large Language Model Capabilities

Duke University(杜克大学);Together AI;University of Chicago(芝加哥大学);Stanford University(斯坦福大学)

Junlin Wang, Jue Wang, Ben Athiwaratkun, Ce Zhang, James Zou

AI总结:

本文提出智能体混合(MoA)分层架构,通过让多个LLM智能体利用上一层全部输出作为辅助信息,在AlpacaEval 2.0等基准上超越GPT-4 Omni,验证了集体智能增强大语言模型能力的有效性。

摘要:

大语言模型(LLMs)的最新进展展示了其在自然语言理解与生成任务中的强大能力。随着LLM数量不断增多,如何利用多个LLM的集体专长是一个令人兴奋的开放方向。为实现这一目标,我们提出了一种新方法,通过智能体混合(Mixture-of-Agents,MoA)方法来利用多个LLM的集体优势。在我们的方法中,我们构建了一个分层的MoA架构,其中每一层由多个LLM智能体组成。每个智能体在生成其响应时,将上一层所有智能体的输出作为辅助信息。MoA模型在AlpacaEval 2.0、MT-Bench和FLASK上取得了最先进的性能,超越了GPT-4 Omni。例如,我们仅使用开源LLM的MoA在AlpacaEval 2.0上以显著差距领先,得分为65.1%,而GPT-4 Omni为57.5%。

英文摘要:

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.

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

↑