arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00674cs.CLcs.LG
收藏

重新思考混合智能体:混合不同的大语言模型是有益的吗?

Rethinking Mixture-of-Agents: Is Mixing Different Large Language Models Beneficial?

Princeton University(普林斯顿大学)

Wenzhe Li, Yong Lin, Mengzhou Xia, Chi Jin

AI总结:

针对混合不同大语言模型是否有益的问题,提出仅聚合单一最佳模型的Self-MoA方法,实验证明其性能优于标准MoA并刷新了AlpacaEval 2.0榜单。

摘要:

集成来自不同来源的输出是一种直接且有效的提升性能的方法。混合智能体(Mixture-of-Agents, MoA)就是这样一种流行的集成方法,它聚合来自多个不同大语言模型(LLMs)的输出。本文在语言模型的背景下提出了一个问题:混合不同的LLM真的有益吗?我们提出了Self-MoA——一种仅聚合单一表现最佳的LLM输出的集成方法。我们的大量实验表明,令人惊讶的是,在大量场景中,Self-MoA优于混合不同LLM的标准MoA:在AlpacaEval 2.0基准上,Self-MoA比MoA提升了6.6%,在包括MMLU、CRUX和MATH在内的各种基准上平均提升了3.8%。将Self-MoA应用于AlpacaEval 2.0中排名靠前的模型之一,直接在排行榜上实现了新的最先进性能。为了理解Self-MoA的有效性,我们系统地研究了各种MoA设置下输出多样性与质量之间的权衡。我们确认MoA的性能对质量相当敏感,并且混合不同的LLM通常会降低模型的平均质量。作为对该研究的补充,我们确定了混合不同LLM可能有帮助的场景。本文进一步引入了Self-MoA的顺序版本,它能够在多轮中即时聚合大量LLM输出,并且与一次性聚合所有输出一样有效。

英文摘要:

Ensembling outputs from diverse sources is a straightforward yet effective approach to boost performance. Mixture-of-Agents (MoA) is one such popular ensemble method that aggregates outputs from multiple different Large Language Models (LLMs). This paper raises the question in the context of language models: is mixing different LLMs truly beneficial? We propose Self-MoA -- an ensemble method that aggregates outputs from only the single top-performing LLM. Our extensive experiments reveal that, surprisingly, Self-MoA outperforms standard MoA that mixes different LLMs in a large number of scenarios: Self-MoA achieves $6.6\%$ improvement over MoA on the AlpacaEval 2.0 benchmark, and an average of $3.8\%$ improvement across various benchmarks, including MMLU, CRUX, and MATH. Applying Self-MoA to one of the top-ranking models in AlpacaEval 2.0 directly achieves the new state-of-the-art performance on the leaderboard. To understand the effectiveness of Self-MoA, we systematically investigate the trade-off between diversity and quality of outputs under various MoA settings. We confirm that the MoA performance is rather sensitive to the quality, and mixing different LLMs often lowers the average quality of the models. To complement the study, we identify the scenarios where mixing different LLMs could be helpful. This paper further introduces a sequential version of Self-MoA, that is capable of aggregating a large number of LLM outputs on-the-fly over multiple rounds, and is as effective as aggregating all outputs at once.

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

↑