Manuscript Offprint

arXiv:2610.01037

SLIM: Simplex-Lattice Interpolation Merging

Seongcheol Jeong, Masahiro Suzuki, Yutaka Matsuo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Optimizing merging coefficients for large language models can require many costly benchmark evaluations. We propose Simplex-Lattice Interpolation Merging (SLIM), which constructs a quadratic surrogate of aggregate performance on the coefficient simplex using a classical mixture design. Evaluations of individual experts and equal-weight pairs determine the surrogate with the minimum number of measurements needed to identify a general quadratic on this domain. SLIM then optimizes the surrogate without further target-metric evaluations. Experiments on two model architectures demonstrate accurate prediction of unseen multi-expert mixtures and competitive merge performance under limited evaluation budgets. Matched-budget comparisons show that structured evaluation points improve prediction fidelity over random designs, including those using regularized fitting.

1 INTRODUCTION

Model merging can combine capabilities acquired by multiple trained models without further parameter training (Yang et al., 2026; Song & Zheng, 2026). For large language models (LLMs), reusing publicly available fine-tuned checkpoints can reduce the additional cost of building models with multiple capabilities. We study the widely used setting of merging experts: models with the same architecture fine-tuned from a common base. Task Arithmetic (Ilharco et al., 2023) adds a weighted sum of task vectors—the parameter differences between experts and the base—to the base model. Even in this linear setting, the coefficients controlling each expert's contribution affect merge performance.

We call the downstream measure to be improved the target metric; here, we use AVG, the unweighted mean of domain scores on a common scale. On generation-based LLM benchmarks, evaluating a candidate requires constructing merged weights, generating responses, and scoring outputs, making searches such as evolutionary merging costly (Akiba et al., 2025; Su & Geiping, 2025). A surrogate that predicts performance from coefficients can support coefficient selection using inexpensive predictions (Li et al., 2025). For example, MAP fits task-wise surrogates to measured scores and uses them to approximate Pareto fronts. However, constructing the surrogate itself incurs an upfront evaluation cost because fitting it requires target-metric measurements from merged models. For LLMs, these measurements remain expensive even when subsequent surrogate optimization is cheap. We therefore ask: How few target-metric evaluations are needed to construct a surrogate that supports competitive merge performance?

Quadratic surrogates capture curvature and pairwise interactions with relatively few parameters, a choice also used by MAP (Li et al., 2025). To reduce the required evaluations, we restrict coefficients to the simplex, where they are nonnegative and sum to one. Weight averaging and MetaGPT provide precedents for effective merging within this domain (Wortsman et al., 2022; Zhou et al., 2024). For T coefficients, the restriction reduces the number of independent quadratic parameters from (T+1)(T+2)/2(T+1)(T+2)/2 to T(T+1)/2T(T+1)/2. However, the identification minimum does not guarantee stable fitting or accurate prediction, which also depend on evaluation placement and the adequacy of the quadratic approximation. We test whether measurements of individual experts and pairs suffice to predict AVG at unseen mixtures, and whether coefficient selection within the simplex yields competitive merge performance.

Figure

(a) Gemma-2-9B

Figure

(b) Llama-3.1-8B

Instruction Math Coding Multiling. Safety AVG

Figure 1: A quadratic surrogate constructed from individual experts and equal-weight pairs accurately predicts AVG at unseen mixtures of all eight experts. For each architecture, 36 construction evaluations are followed by testing on 150 held-out interior vectors sampled from Dirichlet(1, ..., 1). Axes show predicted (horizontal) and measured (vertical) scores; colored markers show domain scores and black stars show AVG. AVG zoom panels report Spearman's ρ\rho and MAE; dashed lines indicate y = x.

We propose Simplex-Lattice Interpolation Merging (SLIM), which constructs a quadratic surrogate from exactly T(T+1)/2T(T+1)/2 target-metric evaluations. SLIM adopts Scheffé's {T,2}\{T,2\} simplex-lattice design from classical mixture experiments (Scheffé, 1958). Its vertices and edge midpoints correspond to individual experts and equal-weight expert pairs. SLIM interpolates their measured AVG values and numerically optimizes the resulting quadratic over the simplex using its analytic gradient, without further target-metric evaluations.

We evaluate SLIM on Gemma-2-9B (Gemma Team et al., 2024) and Llama-3.1-8B (Grattafiori et al., 2024), each with eight experts spanning five domains. The surrogates accurately predict AVG at unseen mixtures involving all eight experts (Figure 1). At the same evaluation budget, the lattice design improves prediction fidelity over random designs, including ridge-regularized fits. We assess selected models on in-distribution (ID) benchmarks used for selection and held-out out-of-distribution (OOD) benchmarks. With 36 evaluations, SLIM exceeds MAP at 45 evaluations in all four architecture-by-distribution settings and remains competitive with evolutionary merging using 150–200 evaluations in three settings (Figure 3). On Llama ID, methods searching the broader coefficient domain achieve higher performance.

Contributions Our contributions are twofold:

• Predictability: We show that evaluations of individual experts and equal-weight pairs support accurate quadratic prediction of AVG at unseen mixtures involving all eight experts on both architectures studied.

• Minimal-cost selection: We propose SLIM, which selects coefficients using a surrogate constructed from the T(T+1)/2T(T+1)/2 evaluations needed to identify a general quadratic on the simplex.

References (28)