[Paper Review] Fusing finetuned models for better pretraining
This paper proposes fusing multiple fine-tuned models by averaging their weights to create a superior base model for downstream tasks, significantly outperforming both standard pretraining and intertraining. The method achieves higher accuracy and stability across diverse NLP benchmarks, with minimal computational cost and robustness to weight decay.
Pretrained models are the standard starting point for training. This approach consistently outperforms the use of a random initialization. However, pretraining is a costly endeavour that few can undertake. In this paper, we create better base models at hardly any cost, by fusing multiple existing fine tuned models into one. Specifically, we fuse by averaging the weights of these models. We show that the fused model results surpass the pretrained model ones. We also show that fusing is often better than intertraining. We find that fusing is less dependent on the target task. Furthermore, weight decay nullifies intertraining effects but not those of fusing.
Motivation & Objective
- To address the high cost of pretraining by reusing existing fine-tuned models instead of training from scratch.
- To improve base model quality for downstream tasks without additional pretraining.
- To explore whether combining multiple fine-tuned models yields better initialization than single-model intertraining.
- To evaluate the robustness of fusion against hyperparameter choices like weight decay.
- To reverse the traditional transfer learning paradigm by using fine-tuned models to create better pretrained models.
Proposed method
- Fusing is defined as averaging the weights of multiple fine-tuned models to create a new base model.
- The fused model is initialized as $ W_{fuse} = \frac{1}{n} \sum_{i=1}^{n} W_i $, where $ W_i $ are the weights of the $ i $-th fine-tuned model.
- The approach leverages existing fine-tuned models from diverse source tasks to initialize a new, improved base model.
- Experiments compare fusion against standard pretraining and intertraining on 30 datasets across three families: General (GLUE/SuperGLUE), NLI, and Twitter.
- Weight decay is applied during fine-tuning to assess its impact on fusion vs. intertraining performance.
- The method is evaluated on accuracy and standard deviation to measure both performance and training stability.
Experimental results
Research questions
- RQ1Can fusing multiple fine-tuned models produce a better base model than standard pretraining?
- RQ2Does fusion consistently outperform intertraining when using the same source models?
- RQ3How does weight decay affect the performance of fusion versus intertraining?
- RQ4Is fusion robust to the choice of source tasks and domains in the fine-tuned models?
- RQ5Does fusing models from diverse tasks lead to more generalizable base models?
Key findings
- Fusing fine-tuned models consistently outperforms standard pretraining on T5 across 30 datasets, achieving higher accuracy and lower variance.
- Fusion achieved better performance than intertraining when combining the best two fine-tuned models, with an average accuracy gain of 1.61% on NLI and 2.27% on Twitter.
- The standard deviation of fused models was consistently lower than that of fine-tuning from a pretrained base, indicating improved training stability.
- Weight decay severely degraded intertraining performance but had minimal negative impact on fusion, showing fusion's robustness.
- Fusion was less dependent on the specific target task and showed stronger generalization across diverse NLP benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.