Abstract
This paper introduces Concrete Subspace Learning, a novel meta-learning framework designed to merge multiple task-specific models into a single, high-performing multi-task model. By utilizing a differentiable "Concrete" mask to identify a shared low-dimensional parameter subspace, the method effectively eliminates "task interference"—the performance-degrading conflict that occurs when parameters from different specialized models are combined. Our approach demonstrates significant improvements over existing merging techniques in both vision and language domains.
Introduction
In the era of large-scale pre-training, a common workflow is to take a foundational model (like CLIP or T5) and fine-tune it into several specialized versions for different tasks. Ideally, we want to merge these specialized "experts" into one "generalist" model without needing the original training data. However, simply averaging the weights of these models often leads to task interference. This happens because different tasks might demand conflicting changes to the same parameters.
Existing solutions, such as Task Arithmetic or Ties-Merging, attempt to resolve these conflicts by analyzing simple attributes like the magnitude or sign of individual weights. However, these "local" views often ignore the collective functional impact of parameters. We propose that by finding a common, low-dimensional subspace where all tasks can "agree," we can filter out the noise and interference that occurs in the high-dimensional full parameter space.
Methodology
The core innovation is the CONtinuous relaxation of disCRETE (Concrete) subspace learning. The framework addresses the challenge of identifying a shared parameter subspace through a differentiable optimization process.
The Concrete Mask
Instead of a hard binary mask, which is non-differentiable and difficult to optimize, we employ the "Concrete distribution" (also known as the Gumbel-Softmax trick). This allows the model to learn a mask through standard gradient descent that identifies which parameters belong in the shared subspace.
Bi-level Optimization
The problem is framed as a two-tier optimization:
- Inner Level: Performs the actual model merging (using techniques like AdaMerging) to maximize performance on a small set of unlabeled data.
- Upper Level: Learns the optimal Concrete mask (the subspace) that enables the best possible merging result.
Rescaling and Integration
When masking out parameters, the remaining ones are rescaled by the mean value of the mask entries. This prevents the model from becoming too sparse and losing specialized knowledge. This subspace learning can be integrated into existing methods, creating enhanced versions such as Concrete Task Arithmetic and Concrete AdaMerging.
Experimental Results
We evaluated our method across vision and language domains using CLIP and Flan-T5 models.
Vision Tasks
On CLIP-ViT-B/32 fine-tuned on eight diverse image classification datasets, Concrete Task Arithmetic achieved an average accuracy of 77.3%, significantly higher than standard Task Arithmetic (69.0%) and Ties-Merging (72.8%). Layer-wise Concrete AdaMerging reached 84.0%, nearing the performance of traditional Multi-Task Learning which requires full data access.
Language Tasks
For Flan-T5-Base models fine-tuned on the GLUE benchmark, Concrete Task Arithmetic improved the average score from 77.4 to 78.0. While gains were more incremental than in vision—likely because LoRA-tuned models already operate in a low-dimensional subspace—the method still provided consistent benefits.
Generalization to Unseen Tasks
In experiments where the model was merged on six tasks and tested on two "unseen" ones, the Concrete methods showed superior performance. This suggests the learned mask captures fundamental features of the underlying pre-trained model's architecture that are universally useful.
Discussion and Limitations
The most significant insight is that task interference is not just about individual weights being "wrong," but about the high-dimensional space allowing for too much conflicting "noise." Constraining the fusion to a learned subspace acts as a natural regularizer. By making the mask learning differentiable, we turn a combinatorial search problem into a standard optimization problem solvable with backpropagation.
However, the bi-level optimization framework introduces computational overhead compared to one-shot merging techniques. Storing and optimizing masks for very large models (e.g., 70B+ parameters) can be memory-intensive. Future work could explore zero-order optimization techniques to mitigate these scalability issues.
Conclusion
Concrete Subspace Learning offers a principled and effective way to eliminate interference in multi-task model fusion. By identifying and leveraging a shared parameter subspace, it enables the creation of high-performing generalist models from specialized experts without the need for original training data.
Summary updated