MASS: MoErging through Adaptive Subspace Selection
Donato Crisostomi, Alessandro Zirilli, Antonio Andrea Gargiulo, Maria Sofia Bucarelli, Simone Scardapane, Fabrizio Silvestri, Iacopo Masi, Emanuele Rodolà
TL;DR
MASS presents a training-free MoErging approach that fuses multiple fine-tuned endpoints by embedding their per-task updates into low-rank subspaces and routing inputs to the most relevant subspaces. It combines a fixed, data-free merging step with an adaptive, input-driven router that selects task subspaces via projection residuals, enabling a second-pass inference atop a shared backbone. Across ViT-CLIP backbones and 8–20 tasks, MASS achieves state-of-the-art results, recovering a large portion of the individual fine-tuned accuracies with only modest inference overhead and storage growth. The method also provides interpretable task vectors and robust performance in batched settings, highlighting its practicality for scalable, data-free model merging in real-world deployments.
Abstract
Model merging has recently emerged as a lightweight alternative to ensembling, combining multiple fine-tuned models into a single set of parameters with no additional training overhead. Yet, existing merging methods fall short of matching the full accuracy of separately fine-tuned endpoints. We present MASS (MoErging through Adaptive Subspace Selection), a new approach that closes this gap by unifying multiple fine-tuned models while retaining near state-of-the-art performance across tasks. Building on the low-rank decomposition of per-task updates, MASS stores only the most salient singular components for each task and merges them into a shared model. At inference time, a non-parametric, data-free router identifies which subspace (or combination thereof) best explains an input's intermediate features and activates the corresponding task-specific block. This procedure is fully training-free and introduces only a two-pass inference overhead plus a ~2 storage factor compared to a single pretrained model, irrespective of the number of tasks. We evaluate MASS on CLIP-based image classification using ViT-B-16, ViT-B-32 and ViT-L-14 for benchmarks of 8, 14 and 20 tasks respectively, establishing a new state-of-the-art. Most notably, MASS recovers up to ~98% of the average accuracy of individual fine-tuned models, making it a practical alternative to ensembling at a fraction of the storage cost.
