Introduction
Training Large Language Models (LLMs) from scratch or performing extensive fine-tuning requires massive computational resources and meticulously curated datasets. As a cost-effective alternative, "model souping"—averaging the weights of multiple models sharing the same architecture—has emerged as a powerful post-training technique to enhance performance and robustness.
However, traditional souping methods often rely on arbitrary model selection and uniform weighting (e.g., a simple 50/50 average), assuming all models contribute equally to every task. Researchers from Meta and UCL challenge these assumptions, arguing that because different models possess specialized strengths (e.g., coding vs. mathematical reasoning), a more principled approach to combination is required.
The Soup Of Category Experts (SoCE) Framework
The authors introduce Soup Of Category Experts (SoCE), a method that treats benchmarks as collections of distinct competency domains rather than monolithic scores. The SoCE workflow follows a four-step process:
- Correlation Analysis: The team calculates the Pearson correlation between various benchmark categories. High correlation suggests overlapping skills (e.g., Java and Javascript), while low correlation indicates distinct domains (e.g., Math vs. Live Tool Use).
- Expert Selection: For each cluster of weakly-correlated categories, the "expert" model with the highest performance in that specific area is identified.
- Weight Optimization: Instead of uniform averaging, the team searches for an optimal "recipe" (e.g., 70% Expert A, 20% Expert B, 10% Expert C).
- Weight Averaging: Simple arithmetic is used to merge these weights into a single, high-performing "Souper-Model."
To validate these contributions, the researchers utilized Shapley values from cooperative game theory to mathematically quantify the specific performance contribution of each "ingredient" model.
Results and Key Insights
The SoCE approach was evaluated across diverse benchmarks, including the Berkeley Function Calling Leaderboard (BFCL), Multilingual Grade School Math (MGSM), and $\infty$-Bench.
State-of-the-Art Performance
SoCE achieved state-of-the-art (SOTA) results on the BFCL for both 8B and 70B parameter classes. Specifically, the 70B SoCE model reached 80.68% accuracy, a 2.7% improvement over the previous best individual model, xLAM-2-70b. On the MGSM benchmark, SoCE achieved 51.7%, significantly outperforming both the best individual candidate (50.9%) and standard uniform soups (47%).
The Power of Anti-Correlation
A primary finding is that the most significant performance gains occur when combining models that excel at unrelated or anti-correlated tasks. Souping models with similar strengths yields diminishing returns. Furthermore, souped models demonstrate increased internal consistency; performance across different categories becomes more linearly correlated after souping, suggesting a more well-rounded and robust final model.
Emergent Capabilities
Remarkably, the souped model occasionally solved problems that none of the individual ingredient models could solve independently. In the BFCL benchmark, SoCE succeeded in 8.4% of cases where every candidate model had previously failed, demonstrating emergent problem-solving capabilities through simple weight arithmetic.
Limitations and Future Work
While highly effective, SoCE currently depends on benchmarks being pre-split into sub-categories to estimate correlations. Future work may involve methods for the model to "self-discover" these domains. Additionally, the authors caution against souping "unaligned" models with aligned ones to avoid inheriting safety risks. While this study focused on dense Llama 3 derivatives, the applicability of SoCE to Mixture-of-Experts (MoE) architectures remains an open area for investigation.
Summary updated