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.
Rethinking LLM Ensembling from the Perspective of Mixture Models
Key Laboratory of New Generation Artificial Intelligence Technology(新一代人工智能技术关键实验室);Its Interdisciplinary Applications (Southeast University), Ministry of Education(交叉应用(东南大学),教育部);Southeast University(东南大学);Centre for Frontier AI Research (CFAR), Agency for Science, Technology(前沿人工智能研究(CFAR),科技研究局);Research (A STAR), Singapore(研究(A STAR),新加坡);Institute of High Performance Computing (IHPC), Agency for Science, Technology(高性能计算(IHPC),科技研究局)
Rethinking Data Selection at Scale: Random Selection is Almost All You Need
Alibaba Group(阿里巴巴集团);School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);International Center of Future Science, Jilin University(吉林大学未来科学国际中心)
GRAPHMOE: Amplifying Cognitive Depth of Mixture-of-Experts Network via Introducing Self-Rethinking Mechanism
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Institute for Advanced Algorithms Research, Shanghai(上海先进算法研究所);The University of Manchester(曼彻斯特大学);The University of Pittsburgh(匹兹堡大学);Harbin Institute of Technology(哈尔滨工业大学);University of Sydney(悉尼大学)
MoDoMoDo: Multi-Domain Data Mixtures for Multimodal LLM Reinforcement Learning
Brown University(布朗大学);Salesforce AI Research(Salesforce AI研究院);NVIDIA Research(英伟达研究院);Carnegie Mellon University(卡内基梅隆大学);Princeton University(普林斯顿大学);Texas A&M University(德克萨斯A&M大学);California Institute of Technology(加州理工学院);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室)
Machine Learning Research, Morgan Stanley, New York, NY(机器学习研究部,摩根士丹利,纽约,纽约);School of Electrical and Computer Engineering, Cornell University, Ithaca, NY(电气与计算机工程学院,康奈尔大学,伊萨卡,纽约)