Model merging combines fine-tuned parameters into a single multi-task model without retraining. Existing methods, such as task arithmetic, model soups and DARE, are empirically effective but rely on heuristic merging rules and do not directly optimise the merged model against a specific objective. We introduce Output-Space Projection (OSP) merging, a general framework that formulates merging as an optimisation problem in output space and separates the choice of loss function from the choice of basis, which determines the admissible combinations of fine-tuned updates. Under mean squared error and a first-order approximation, row-wise scaling of weight updates yields a convex quadratic programme (QP). Our theoretical analysis identifies the optimal subspace for a relaxed projection problem and derives a residual-energy diagnostic for basis selection. Experiments across vision and language benchmarks demonstrate competitive performance against existing methods and investigate the effects of basis choice and the number of merged layers on merging success.
翻译:暂无翻译