Abstract
Modern NLP relies heavily on the "Pretrain $\rightarrow$ Fine-tune" pipeline, which is computationally expensive and often ignores the wealth of existing fine-tuned models. Researchers at IBM Research propose a novel approach: fusing multiple fine-tuned models by averaging their weights to create a superior starting point for new target tasks. This "reverse transfer learning" method is computationally cheap, robust to regularization, and consistently outperforms standard pretraining and single-task intertraining baselines.
Introduction
The standard approach to NLP tasks involves fine-tuning a massive pretrained model on a specific dataset. While effective, this process is resource-intensive and can be unstable with limited data. A common alternative, intertraining, involves using a model fine-tuned on a related task as a starting point. However, intertraining's success is highly dependent on task similarity. This paper explores whether we can leverage the abundance of existing fine-tuned models to build a better foundation for future tasks without the cost of additional pretraining.
Methodology: Weight Averaging as Fusion
The core technique proposed is surprisingly simple: Weight Averaging. The process involves three main stages:
- Selection: Identify $n$ models ($W_1, W_2, ... W_n$) that were all fine-tuned from the same initial pretrained base model ($P$).
- Fusion: Create a new "fused" model ($W_{fuse}$) by calculating the element-wise average of their weights: $W_{fuse} = \frac{1}{n} \sum_{i=1}^{n} W_i$.
- Adaptation: Use $W_{fuse}$ as the new base model and fine-tune it on the target task.
This approach relies on the concept of "linear mode connectivity"—the idea that models fine-tuned from the same starting point remain close enough in weight space that their average represents a meaningful central point capturing shared features across tasks.
Experimental Setup
The researchers evaluated the fusing approach using T5v1.1-small across 30 datasets categorized into three families:
- General: GLUE and SuperGLUE tasks.
- NLI: Natural Language Inference and Entailment tasks.
- Twitter: 11 datasets from TweetEval.
Performance was compared against two baselines: a vanilla Pretrained model and Intertraining (starting from the single best fine-tuned model).
Results and Discussion
Consistent Performance Gains
Fusing consistently outperformed the standard pretrained baseline across almost all task families. For example, on NLI tasks, the fused model achieved an average accuracy of 70.65%, compared to 67.66% for the pretrained model. In many cases, fusing the two "best" models for a task resulted in higher accuracy than using the single best model via intertraining.
Data Efficiency and Stability
One of the key advantages of fused models is their data efficiency. Fused models tend to gain more from smaller amounts of source data than intertrained models, providing a more robust starting point when target data is scarce. While the benefits of fusing eventually plateau as source data size increases, it remains a more stable starting point than raw pretraining.
Robustness to Weight Decay
A significant finding is the robustness of fused models to weight decay. While traditional intertraining is highly sensitive to this common regularization technique—often losing its benefits entirely—fused models maintain their performance gains, suggesting a more stable optimization landscape.
Conclusion
Fusing fine-tuned models offers a practical and efficient way to improve the pretraining-finetuning pipeline. By aggregating the knowledge of specialized models, researchers can create stronger base models for new tasks at a fraction of the cost of traditional pretraining. Future work will explore more complex fusion methods and the application of this technique in meta-learning scenarios.
Summary updated