SLIM: Simplex-Lattice Interpolation Merging

Seongcheol Jeong, Masahiro Suzuki, Yutaka MatsuoarXiv 2026

TL;DR

SLIM (Simplex-Lattice Interpolation Merging) drastically reduces the cost of finding the best weights for merging multiple Large Language Models (LLMs). By using a classical statistical design to build a quadratic performance surrogate with the absolute minimum number of evaluations, SLIM achieves competitive results with just 36 benchmark runs—a fraction of the budget required by evolutionary or random search methods.

What Problem Does This Paper Address?

Model merging is a powerful technique for combining the specialized capabilities of different fine-tuned LLMs (experts) without the massive cost of additional training. However, the "recipe"—the specific coefficients assigned to each expert—matters immensely.

Finding the optimal coefficients typically requires searching through a high-dimensional space. Because evaluating a single candidate merge involves generating text and running complex benchmarks, this search is incredibly expensive. Existing methods like evolutionary merging or surrogate-based optimization (like MAP) often require dozens or hundreds of evaluations. The authors of SLIM ask: What is the absolute minimum number of evaluations needed to build a reliable performance predictor?

Methods

The core innovation of SLIM is treating model merging as a mixture experiment, a framework borrowed from classical statistics (e.g., optimizing the proportions of ingredients in a food recipe).

  1. The Simplex Constraint: SLIM restricts merging coefficients to a "simplex," meaning they must be non-negative and sum to exactly one. This reduces the search space and acts as a natural regularizer.
  2. Quadratic Surrogate: The authors assume that the relationship between merging weights and model performance can be approximated by a quadratic function, which captures both the individual contribution of experts and their pairwise interactions.
  3. Scheffé’s Simplex-Lattice Design: To identify a quadratic function for $T$ experts, you need exactly $T(T+1)/2$ parameters. SLIM uses a structured evaluation design that hits the minimum identification limit:
  4. Vertices: Evaluate each expert individually.
  5. Edge Midpoints: Evaluate 50/50 merges of every possible pair of experts. For 8 experts, this requires only 36 evaluations ($8 + 28$).

  6. Analytic Optimization: Once these 36 points are measured, the quadratic surrogate is uniquely determined. SLIM then optimizes this surrogate numerically (using SLSQP) to find the best weights. This optimization step is "free" because it only queries the surrogate, not the actual LLM.

Simplex-lattice designs for T=3. The quadratic design (a) uses vertices and midpoints to uniquely define the performance surface.

Datasets

The authors evaluated SLIM using two popular base architectures: Gemma-2-9B and Llama-3.1-8B. For each, they merged eight experts covering five domains: Instruction, Math, Coding, Multilingual, and Safety.

  • In-Distribution (ID) Benchmarks: Used for coefficient selection (e.g., IFEval, GSM8K, MBPP, HarmBench).
  • Out-of-Distribution (OOD) Benchmarks: Used to test how well the merged model generalizes to unseen tasks (e.g., AlpacaEval 2.0, MATH-500, HumanEval, WildGuardTest).

Key Insights and Ideas

  • Structure Beats Randomness: A key finding is that evaluation placement matters more than the number of points. At a matched budget of 36 evaluations, the structured lattice design provided significantly better predictions than random sampling, even when the random samples were fitted using ridge regression.
  • Quadratic is the "Sweet Spot": The authors tested a cubic extension (requiring 120 evaluations). Surprisingly, the higher-degree model provided only marginal gains in-distribution and actually performed worse on out-of-distribution tasks, suggesting that a quadratic surrogate is a robust choice for LLM merging.
  • Aggregate Predictability: While the surrogate struggled to predict performance in specific, volatile domains (like Math on Gemma), it was remarkably accurate at predicting the Average (AVG) score across all domains. This suggests that while individual task surfaces are complex, the aggregate performance surface is relatively smooth.

Key Results

  • High Fidelity: The quadratic surrogate achieved a Spearman’s rank correlation ($\rho$) of 0.936 for Gemma and 0.959 for Llama when tested on 150 unseen interior mixtures.
  • Efficiency: With only 36 evaluations, SLIM outperformed the MAP method (which used 45 evaluations) across all tested settings.
  • Competitive Performance: SLIM remained competitive with evolutionary merging methods that used 150–200 evaluations, proving that a well-placed small sample can rival a large-scale search.
Surrogate prediction vs. measured score. The black stars (AVG) show a very tight correlation, indicating the surrogate is highly reliable for aggregate performance.
Cost-performance trade-off. SLIM (dotted lines) achieves high scores at a much lower evaluation budget (#Evals) compared to evolutionary merging and MAP.

Limitations and Future Work

  • The Simplex Boundary: SLIM restricts weights to sum to one. However, the authors noted that on Llama ID, methods that allowed weights to sum to $>1$ (like evolutionary merging) achieved higher scores. Investigating how to expand the lattice design to include "scale" as a dimension without exploding the evaluation budget is a clear next step.
  • Expert Selection: SLIM assumes the set of experts is already chosen. It does not address the "cold start" problem of which models are worth merging in the first place.
  • Concavity: The quadratic surrogate is not guaranteed to be concave, meaning the optimizer might get stuck in local maxima, though the authors mitigate this with multiple restarts.

Summary updated

BibTeX
@misc{jeong2026slim,
  author = {Seongcheol Jeong and Masahiro Suzuki and Yutaka Matsuo},
  title = {{SLIM: Simplex-Lattice Interpolation Merging}},
  year = {2026},
  eprint = {2610.01037},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.01037},
}
Figure