cs.LGNov 20, 2026

HR-Merge: Model Merging with Headroom-Weighted Residual Refinement

Authors: Jiakang Huang, Xueyan Zhang, Renyi Cai, Jingcheng Niu, Jiaru Li, Yining Wang, Josh Zhang, Jiahe Jiang, 

Organizations: University of British Columbia · Independent Researcher · Technische Universität Darmstadt · Northwestern University · 

Abstract

Model merging combines experts fine-tuned from a shared backbone, such as LoRA adapters of a large language model, into one multi-task model without further training. Existing methods apply one rule to every task, yet the accuracy they lose is uneven across tasks. We show that the lost accuracy remains recoverable from each task's residual, its task vector minus the merged update, and that a task's validation headroom, the share of its expert validation accuracy the merge loses, indicates where recovery pays off. Residuals from different tasks interfere, so they must be merged rather than summed. We propose HR-Merge, a training-free wrapper around any merging method. It weights each residual by its task's headroom, re-merges the weighted residuals with the base operator, and adds the result back at a strength selected on validation, falling back to the base merge when no strength helps. On six NLI adapters of LLaMA-3 8B, HR-Merge lifts TIES from 93.29 to 94.29 normalized accuracy, above all tested bases, mainly by recovering its weakest task. In vision, on three CLIP backbones, up to 20 tasks, and LoRA merging, it generally improves or preserves base accuracy and yields the best model in every setting.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Nov 18, 2026

Watch Where You Linearize: Predicting and Correcting Model-Merging Interference

Model merging combines separately fine-tuned models by adding their task vectors to a shared backbone. Interference is typically assessed only after constructing and evaluating a candidate merge, making coefficient search expensive. We show that a first-order directional derivative of task A's outputs along task B's vector can predict interference, but only when evaluated at the appropriate model. At the receiver model, this derivative forecasts nearby merges per task and per example, halves the accuracy error of a no-change baseline, and identifies most examples whose predictions flip. For full multi-task merges, a single evaluation is insufficient; two evaluations along the merge path are needed. At the shared pretrained backbone, however, the derivative is nearly orthogonal to realized changes in our vision experiments and only partly predictive in LoRA language-model pilots. Controls link this failure to displacement along the receiver's own task vector, not simply parameter distance; the mismatch appears within the first few dozen fine-tuning steps. Freezing receiver-local responses produces a surrogate affine in the merge coefficients. We use it to construct LR-Merge, a label-free correction that optimizes coefficients through convex teacher matching on unlabeled probes, without backpropagation through merged networks. LR-Merge improves all tested closed-form, isotropic, and sparsified base mergers, with gains generally increasing as more tasks are merged. Using pretrained rather than receiver-local responses instead degrades the base merge. LR-Merge matches exact teacher matching through a merged network, which takes roughly three times longer to converge and performs similarly at an equal compute budget. Once built, the surrogate answers new coefficient and task-subset queries in seconds.
Nov 24, 2026

Large-scale Model Merging via Recovery-aware Task Weighting

Model merging combines multiple task-specific expert models into a single model. However, merging preserves expert capabilities unevenly across tasks. This imbalance is particularly pronounced in large-scale settings, where some tasks can suffer severe capability losses even when average accuracy remains high. To address this imbalance, we introduce Recovery-aware Task Weighting (RaTW), a model merging framework that assigns larger weights to tasks whose expert capabilities are poorly retained by an initial merged model. We quantify these recovery opportunities as the fraction of a task's labeled validation samples that its expert predicts correctly but the initial merged model gets wrong, and use the resulting task weights to re-merge the experts. To evaluate merging at large scale, we construct CLIPMerge-100, a 100-task benchmark with task-specific experts on CLIP ViT-L/14 and ViT-B/32. Across eleven merging methods with 20, 50, and 100 tasks on two CLIP backbones, RaTW improves both mean accuracy and tail20 (the mean expert-normalized accuracy of the 20% worst-retained tasks) in all 33 ViT-L/14 settings and 32 of 33 ViT-B/32 settings. We further introduce ReForge++, which combines RaTW with iterative model refinement and outperforms all evaluated baselines, including a matched-budget control, in both mean accuracy and tail20 across all settings.
Mar 27, 2026

Label-Free Cross-Task LoRA Merging with Null-Space Compression

Model merging combines independently fine-tuned checkpoints without joint multi-task training. In the era of foundation-model, fine-tuning with Low-Rank Adaptation (LoRA) is prevalent, making LoRA merging a promising target. Existing approaches can work in homogeneous settings where all target tasks are classification but often fail when tasks span classification and regression. Approaches using entropy-based surrogates do not apply to regression and are costly for large language models due to long token sequences. We introduce Null-Space Compression (NSC) Merging, a label-free, output-agnostic method that sets merge weights from adapter geometry. Our key observation is that during LoRA finetuning the down-projection factor AA in ΔW=BAΔW = BA compresses its null space, and the compression correlates with performance. NSC uses this as an optimization signal for merging that can generalize across classification, regression, and sequence generation. NSC achieves state-of-the-art performance across twenty heterogeneous vision tasks with balanced gains where prior methods overfit subsets of tasks. It also outperforms baselines on six NLI benchmarks and on vision-language evaluations for VQA and image captioning, demonstrating scalability and effectiveness.