TL;DR
This paper challenges the prevailing wisdom that ensembling different Large Language Models (LLMs) is the best way to boost performance. The authors introduce Self-MoA, a method that aggregates multiple outputs from a single top-performing model, demonstrating that it consistently outperforms traditional "Mixed-MoA" by prioritizing output quality over cross-model diversity.
What Problem Does This Paper Address?
Ensembling—combining the outputs of multiple models—is a proven strategy for improving LLM performance at inference time. The popular "Mixture-of-Agents" (MoA) framework typically uses a diverse set of different models (proposers) to generate responses, which are then synthesized by another LLM (aggregator).
However, the authors identify a critical "quality-diversity trade-off." While mixing different models increases diversity, it often introduces lower-quality outputs from weaker models into the mix. This paper investigates whether the benefits of MoA actually stem from this cross-model diversity or if simply generating and aggregating multiple responses from the best available model is more effective.
Methods
The authors compare three primary architectures, as illustrated in the figure below:
- Mixed-MoA (Standard): Multiple different LLMs ($M_1, M_2, M_3$) generate responses to a query. An aggregator ($A$) synthesizes these into a final output.
- Self-MoA: A single top-performing model ($M_1$) is sampled multiple times (using a temperature like 0.7 to ensure variety). The aggregator then synthesizes these "in-model" diverse responses.
- Self-MoA-Seq: To overcome context window limits when aggregating many samples, the authors propose a sequential version. It uses a sliding window to iteratively combine the "best output so far" with new candidate samples.
To quantify their findings, they use the Vendi Score to measure diversity and average proposer accuracy to measure quality, then perform linear regression to see how each factor influences final performance.
Datasets
The study evaluates these methods across a broad range of benchmarks:
- AlpacaEval 2.0: A standard for instruction-following, using a GPT-4-based annotator and length-controlled (LC) win rates.
- MMLU-redux: A cleaned version of the Massive Multitask Language Understanding dataset (3,000 samples).
- CRUX: A benchmark for Python code reasoning and execution.
- MATH: Challenging competition-level mathematics problems.
- MT-Bench: A multi-turn conversation benchmark.
Key Insights and Ideas
- Quality Trumps Diversity: The most significant "aha moment" is that MoA performance is highly sensitive to the quality of the proposers. Mixing in weaker models for the sake of diversity often "dilutes" the pool, leading to worse results than just using the best model multiple times.
- The Pareto Front: The authors visualize a clear trade-off between quality and diversity. As shown in Figure 2, the best-performing configurations (the yellow/green stars) typically cluster in the high-quality, relatively lower-diversity region.
- In-Model Diversity is Sufficient: Repeated sampling from a single strong model provides enough "in-model" diversity to allow the aggregator to correct errors or synthesize a more comprehensive answer, without the risk of being misled by poor outputs from inferior models.
- Aggregator Sensitivity: The aggregator model acts as a filter. If the input quality is high, the aggregator can effectively pick the best parts. If the input quality is low (due to mixing in weak models), the aggregator struggles to produce a high-quality result.
Key Results
- New State-of-the-Art: By applying Self-MoA to top-tier models like
gemma-2-9b-it-WPO-HB, the authors achieved a new SOTA on the AlpacaEval 2.0 leaderboard with a 78.5% LC win rate. - Outperforming Mixed-MoA: On AlpacaEval 2.0, Self-MoA achieved a 6.6 point improvement over the standard Mixed-MoA approach using the same number of forward passes.
- Consistent Gains: Across MMLU, CRUX, and MATH, Self-MoA provided an average 3.8% improvement over standard MoA.
- Efficiency: In a 3-layer setting, Self-MoA outperformed the Mixed-MoA baseline while requiring only half the number of forward passes (7 vs 13).
Limitations and Future Work
- When Mixing Helps: The authors acknowledge that Mixed-MoA can be beneficial in specific "mixture tasks" where different models have specialized, non-overlapping strengths (e.g., one model is great at math, another at code). However, in general-purpose tasks, this is rarely the case.
- Aggregator Bottleneck: The performance of Self-MoA is still limited by the aggregator's ability. If the aggregator is significantly weaker than the proposer (as seen in some MATH experiments), the benefits of ensembling are diminished.
- Inference Cost: While Self-MoA is more effective than Mixed-MoA, it still requires multiple samples per query, which increases inference latency and cost compared to a single model pass. Future work could explore more efficient ways to achieve these gains.
Summary updated