Where to start? Analyzing the potential value of intermediate models

Leshem Choshen, Elad Venezian, Shachar Don-Yehiya, Noam Slonim, Yoav Katz

Introduction

In modern NLP, the standard practice is to finetune a pretrained model, such as RoBERTa, on a specific target dataset. Research has shown that "intertraining"—inserting an intermediate finetuning step on a source dataset before the final target task—can significantly improve performance. However, with thousands of models available on platforms like HuggingFace, selecting the optimal starting point is a major challenge. The prevailing assumption has been that "task alignment" (e.g., using a sentiment-trained model for a sentiment task) is necessary for success. This paper systematically challenges that assumption, proposing that model quality is largely task-independent.

The Independence Principle and the Myth of Alignment

Through a massive study of 22 datasets across General, NLI, and Twitter domains, the authors discovered that the gain from intertraining is driven by two decoupled factors: the intrinsic quality of the source model and the inherent sensitivity of the target dataset.

Heatmap of intertraining gains across various source and target datasets, illustrating the independence of source quality and target sensitivity.

As illustrated in the heatmap above, the results do not show a strong block-diagonal structure, which would be expected if task alignment were the primary driver of success. Instead, certain "universal winners" (notably models trained on MNLI) consistently outperform others across a wide variety of unrelated target tasks. This suggests that a high-quality intermediate model is generally effective regardless of the target domain.

Efficient Model Selection via Linear Probing

To address the computational cost of testing thousands of models, the researchers evaluated Linear Probing (LP) as a selection proxy. LP involves training only the classification head on a single dataset while keeping the rest of the model frozen.

Correlation between Linear Probing performance on MNLI and average intertraining gains across all target tasks.

The study found that LP performance on MNLI is an exceptionally strong predictor of a model's average finetuning gain across all other tasks, with a Spearman correlation of 0.89–0.90. This allows practitioners to rank models once using a low-cost test and reuse that ranking for diverse future projects. By selecting from the top three statically ranked models, users can capture nearly all potential intertraining gains while avoiding the "inferior" models that make up the majority of public repositories.

Scaling and Practical Implications

The impact of model selection is most pronounced in data-constrained scenarios. While larger source datasets amplify the strengths of high-quality models, smaller target datasets (few-shot learning) see the most dramatic improvements from starting with a superior intermediate checkpoint.

Validation on 66 off-the-shelf models from HuggingFace confirmed that most finetuned models actually perform worse than the vanilla base model as a starting point. This underscores the necessity of a systematic selection process. To facilitate this, the authors have launched a leaderboard to help the community "recycle" the best-performing intermediate models rather than starting from scratch.

Summary updated

BibTeX
@inproceedings{choshen2023where,
  author = {Leshem Choshen and Elad Venezian and Shachar Don-Yehiya and Noam Slonim and Yoav Katz},
  title = {{Where to start? Analyzing the potential value of intermediate models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.90},
}
Figure