只用最强模型的输出,比混用多个模型效果更好。
Rethinking Mixture-of-Agents: Is Mixing Different Large Language Models Beneficial?
- 用单一最佳模型输出做集成,取代混合多个模型
- 在AlpacaEval 2.0上比传统混合方法高6.6%性能
- 适合追求高效高质推理的开发者和研究者
集成不同来源的输出是提升性能的简单有效方法。Mixture-of-Agents(MoA)是一种流行的集成方法,通过聚合多个不同大型语言模型(LLMs)的输出实现。本文质疑:在语言模型场景下,混合不同LLMs是否真的有益?我们提出Self-MoA——仅聚合单个表现最佳模型输出的集成方法。大量实验表明,出人意料的是,Self-MoA在多数场景下优于标准的混合多个模型的MoA:在AlpacaEval 2.0基准上,相比MoA提升6.6%,在包括MMLU、CRUX、MATH在内的多个基准上平均提升3.8%。将Self-MoA应用于AlpacaEval 2.0排行榜中的顶尖模型,直接达到新最优性能。为理解其有效性,我们系统研究了不同MoA设置下输出多样性与质量之间的权衡。结果证实,MoA性能对质量敏感,混合不同模型常降低平均质量。此外,我们识别出混合模型可能有益的特定场景,并引入一种顺序版Self-MoA,可在多轮中实时聚合大量模型输出,效果等同于一次性聚合所有输出。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。