Abstract
Model Breadcrumbs is a training-free framework designed to merge multiple task-specific fine-tuned models into a single multi-task architecture. By utilizing a "dual-tail" sparse mask that excludes both negligible weight updates and extreme outliers, the method effectively mitigates inter-task interference. Experimental results demonstrate that Model Breadcrumbs significantly outperforms existing methods like Task Arithmetic, particularly as the number of tasks scales, while maintaining stable hyperparameters that generalize across different task counts.
Introduction
The current landscape of artificial intelligence is characterized by a convergence toward large-scale foundation models, such as CLIP and T5. While numerous specialized versions of these models are fine-tuned for specific tasks, combining their capabilities into a single multi-task model remains a challenge. Traditional methods, such as Task Arithmetic, often suffer from performance degradation due to noise accumulation as more tasks are added. Furthermore, these methods typically require extensive hyperparameter tuning on validation sets for each new task configuration, which is often impractical.
Methodology: The Model Breadcrumbs Framework
Model Breadcrumbs addresses these challenges by treating weight updates as trajectories in the model's weight space and applying a selective masking process.
The process involves four key steps:
- Task Vector Creation: Calculating the difference between the fine-tuned model and the base foundation model ($\theta^d_t = \theta'_t - \theta$).
- Dual-Tail Masking: Unlike standard pruning that only removes small-magnitude weights, Breadcrumbs masks both the smallest perturbations and the largest outliers. This "band-pass" approach prevents high-magnitude weights from one task from dominating others.
- Layer-wise Sparsity: Masking is applied independently per layer to preserve critical "breadcrumbs" of knowledge across the network without letting a few layers dominate the merge.
- Merging: The resulting sparse task vectors are summed, scaled by a strength parameter ($\alpha$), and integrated back into the foundation model.
Experimental Evaluation
The method was evaluated across various modalities and scales:
- Vision: Using CLIP architectures (ViT-B/32, ViT-B/16, and ViT-L/14) on 8 standard datasets including EuroSAT, GTSRB, and RESISC45.
- NLP: Using T5-base on GLUE tasks (MRPC, RTE, CoLA, SST-2) merged with other public T5 models.
- Extreme Scaling: A custom benchmark of 200 ImageNet-derived tasks to test robustness at extreme scale.
Results and Discussion
Model Breadcrumbs demonstrates superior performance and scalability compared to baseline merging techniques.
Key Findings
- Interference Mitigation: By masking outliers, the method ensures that task vectors remain more orthogonal. This orthogonality allows them to be combined with minimal side effects, explaining the high accuracy maintained as task counts grow.
- Scaling Robustness: In the 8-task vision benchmark, Breadcrumbs achieved a 5.7% improvement over Task Arithmetic. In the 200-task experiment, while Task Arithmetic's performance collapsed, Breadcrumbs remained robust.
- Hyperparameter Stability: A significant practical advantage is that hyperparameters ($\alpha, \beta, \gamma$) tuned on a small subset of tasks (e.g., 1–3 tasks) remain near-optimal when scaling to hundreds of tasks, enabling "validation-free" merging.
- Performance Gains: In some instances, merging related tasks actually improved performance on target tasks compared to the original specialized models, such as a boost from 51.6% to 53.2% on the CoLA task.
Conclusion
Model Breadcrumbs provides an efficient, training-free solution for scaling multi-task model merging. While its success is tied to the quality of the initial fine-tuned models, it offers a significant step forward in managing inter-task interference and hyperparameter sensitivity. Future research may explore combining this approach with dynamic model capacity techniques like Mixture-of-Experts to further push the limits of multi-task integration.
Summary updated