From Parameter to Representation: A Closed-Form Approach for Controllable Model Merging
Jialin Wu, Jian Yang, Handing Wang, Jiajun Wen, Zhiyong Yu
TL;DR
The paper tackles parameter interference in multitask model merging by reframing controllable merging as a representation-space problem. It introduces ReACT, a post-hoc, on-the-fly linear correction with a closed-form, Pareto-optimal solution $W_{\mathbf{p}}$, and a per-task $\hat{W}_t$ with orthogonal regularization to preserve geometry. By operating in the representation space and using linear scalarization, ReACT achieves state-of-the-art Pareto fronts with substantially lower offline cost and real-time adaptability, demonstrated on ViT backbones across eight datasets. The approach is architecture-agnostic, data-efficient, and scalable, enabling precise preference alignment (including equal, priority, and one-hot scenarios) with minimal calibration data. Limitations include coverage of only linear distortions and concave Pareto fronts due to scalarization; future work may explore calibration-free strategies and broader model families.
Abstract
Model merging combines expert models for multitask performance but faces challenges from parameter interference. This has sparked recent interest in controllable model merging, giving users the ability to explicitly balance performance trade-offs. Existing approaches employ a compile-then-query paradigm, performing a costly offline multi-objective optimization to enable fast, preference-aware model generation. This offline stage typically involves iterative search or dedicated training, with complexity that grows exponentially with the number of tasks. To overcome these limitations, we shift the perspective from parameter-space optimization to a direct correction of the model's final representation. Our approach models this correction as an optimal linear transformation, yielding a closed-form solution that replaces the entire offline optimization process with a single-step, architecture-agnostic computation. This solution directly incorporates user preferences, allowing a Pareto-optimal model to be generated on-the-fly with complexity that scales linearly with the number of tasks. Experimental results show our method generates a superior Pareto front with more precise preference alignment and drastically reduced computational cost.
