Manuscript Offprint

arXiv:2610.03199

Predicting and Repairing Merge Collapse in Large Language Models

Jungseob Lee, Seungyoon Lee, Sugyeong Eo, Hyeonseok Moon, Jaehyung Seo, Heuiseok Lim

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

Jungseob Lee 1^{1}

omanma1928@korea.ac.kr

Hyeonseok Moon 3^{3}

hyns.moon@sookmyung.ac.kr

Seungyoon Lee 1^{1}

dltmddbs100@korea.ac.kr

Jaehyung Seo 4,†^{4,\dagger}

seojae777@konkuk.ac.kr

Sugyeong Eo 2^{2}

s.eo@yonsei.ac.kr

Heuiseok Lim 1,†^{1,\dagger}

limhseok@korea.ac.kr

1^{1}Korea University 2^{2}Yonsei University Mirae Campus

3^{3}Sookmyung Women's University 4^{4}Konkuk University

ABSTRACT

Large language models fine-tuned from a shared base can be merged by averaging their task vectors, but some merges collapse far below the base model, and common merge operators give no warning before evaluation. We show that one statistic of the specialists' task vectors both predicts this collapse and calibrates its repair. The power that averaging removes equals the variance of the task vectors across specialists, our measure of interference. Under a working noise model, the disturbance that a merge injects grows with the merge coefficient and with interference, yielding a pre-merge score. In our experiments on twenty-two merge configurations from four model families, only destructive merges exceed a threshold on this score. We find that statistics of sign conflict between specialists, a common target of existing merge operators, are anti-predictive. We then predicted the outcomes of fourteen merges before evaluating them, and twelve predictions were correct, including the destructive outcome of a specialist pair pushed past the threshold by continued pretraining. To address this collapse, we introduce PRISM, an operator that averages the task vectors first and then soft-thresholds each layer at a level set by the layer's interference. Without data or tuning, PRISM keeps all five destructive merges above the threshold within evaluation noise of the base model, where plain averaging falls at least 14.4 points below it or collapses entirely. We apply PRISM only above the threshold and keep the plain average for merges below it, which include all fifteen harmless ones. Code is available at https://github.com/js-lee-AI/PRISM.

1 INTRODUCTION

Model merging combines several models fine-tuned from the same pretrained checkpoint into one model by operating directly on their weights, with no further training (Wortsman et al., 2022; Matena & Raffel, 2022; Ilharco et al., 2022). Task Arithmetic (Ilharco et al., 2023) represents each fine-tuned specialist by its task vector, the difference between its weights and those of the shared base model. A merge adds a scaled combination of task vectors back to the base, in the simplest case their average multiplied by a merge coefficient (Ilharco et al., 2023; Ortiz-Jimenez et al., 2023). Open-weight large language models (LLMs) now arrive as families of specialists for mathematics, code and other domains, built on shared bases (Yang et al., 2024a; Grattafiori et al., 2024; Yang et al., 2024b; Hui et al., 2024; Cao et al., 2026). Merging such specialists has become common practice, including in the training of production models (Team Cohere et al., 2025), and is supported by dedicated toolkits, benchmarks and studies at scale (Goddard et al., 2024; He et al., 2025; Yadav et al., 2024; Wang et al., 2026; Hitit et al., 2026).

When specialists are fine-tuned for different tasks, however, they change shared weights in different directions, and averaging cancels part of each change, an effect usually called interference (Yadav et al., 2023; Gargiulo et al., 2025). We call a merge destructive when it falls substantially below the

†^{\dagger}Corresponding authors.

base model from which its specialists were fine-tuned, and harmless when it stays near or above that base. The standard way to reduce interference is to discard part of each task vector before averaging (Yadav et al., 2023; Yu et al., 2024; Deep et al., 2024). Each such prune-then-merge operator sets its keep rate in advance, whatever the disagreement between the specialists. These operators, like methods that tune the merge on data (Matena & Raffel, 2022; Yang et al., 2023; Chopra et al., 2025) or derive it from the task vectors alone (Marczak et al., 2025; Cheng et al., 2025), leave open whether a merge will be destructive until it has been built and evaluated.

We start from the identity underlying the ambiguity decomposition of ensembles (Krogh & Vedelsby, 1994). At every weight coordinate, the mean-squared power that averaging removes from the task vectors equals their variance across specialists. This variance is our measure of interference, and we compute it from the weights in the same pass as the average. Interference splits into cancellation, where specialists write comparable values of opposite sign, and dispersion, the remainder. Dispersion includes one-sided drift, in which one specialist moves a weight that the others leave near zero, and such drift can hold knowledge unique to that specialist (Wang et al., 2024; Lu et al., 2024). Under a working noise model, we show that the disturbance a merge injects into the base grows in proportion to the merge coefficient and to the square root of the interference. We call this estimate of the disturbance, available before merging, the interference score.

We introduce PRISM, a merge operator whose denoising threshold is set by interference, as Figure 1 illustrates. The operator averages the task vectors first and then soft-thresholds the average in each layer at the universal threshold of wavelet shrinkage (Donoho & Johnstone, 1994; Donoho, 1995). The noise level comes from the layer's interference, a floor keeps a small share of each matrix's coordinates, and one threshold scale serves all settings without data or tuning. A gate on the share of interference that comes from cancellation returns the plain average when that share is small, leaving one-sided drift intact.

Across twenty-two merge configurations from four model families, with up to eight specialists in one merge, each outcome is either destructive or harmless. Seven merges are destructive at the default coefficient, six of them between public specialists. A threshold on the interference score flags five of the seven and none of the fifteen harmless merges, whereas statistics of sign disagreement, the conflict that sign election resolves (Yadav et al., 2023), are anti-predictive. We then fixed the score and this threshold, predicted the outcomes of fourteen further merges before evaluation, and found twelve predictions correct.

Specialists are often built by continuing to pretrain a base model on domain text (Gururangan et al., 2020; Hui et al., 2024), and a practitioner who plans to merge them needs to know when more training would make the merge destructive. We therefore built two such specialists from one base model, one on Japanese web text and the other on biomedical abstracts, and tracked the pair's score as training proceeded. At a fixed learning rate, the score grew roughly as the square root of the number of training tokens. Continued training at a higher learning rate further improved each specialist on its own domain but pushed the pair past the threshold. Plain averaging then became destructive as predicted, while PRISM stayed near the base.

PRISM keeps each destructive merge above the threshold within evaluation noise of the base, where plain averaging falls far below it. The merge we study most closely combines a math specialist with a code specialist, as recent merging work does (Yu et al., 2024; Cheng et al., 2025; He et al., 2025). On this merge, PRISM leads Task Arithmetic, two prune-then-merge operators (Yadav et al., 2023; Deep et al., 2024) and a method that tunes the merge on data (Chopra et al., 2025) at a shared coefficient. When we sweep the merge coefficient, these baselines collapse at large values while PRISM degrades gradually. A merge whose coefficients are tuned by entropy minimization on unlabeled text (Yang et al., 2023) also falls far below the base at the shared coefficient. Shrinkage helps a destructive merge but can forgo the gain that plain averaging brings to a harmless one, and our recipe therefore averages plainly below the score threshold and applies PRISM above it. The score needs only the weights and minutes of CPU time, and we hope it makes a pre-merge check routine whenever public checkpoints are combined.

References (94)