NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Finetuner’s Fallacy: When to Pretrain with Your Finetuning Data

Christina Baek, Ricardo Pio Monti, David J. Schwab, Amro Abbas, Rishabh Adiga, Cody Blakeney, Maximilian Böther, Paul Burstein, Aldo Gael Carranza, Alvin Deng, Parth Doshi, Vineeth Dorna, Alex Fang, Tony Jiang, Siddharth Joshi, Brett W. Larsen, Jason Chan Lee, Katherine L. Mentzer, Luke Merrick, Haakon Mongstad, Fan Pan, Anshuman Suri, Darren Teh, Jason Telanoff, Jack Urbanek, Zhengping Wang, Josh Wills, Haoli Yin, Aditi Raghunathan, J Zico Kolter, Bogdan Gaza, Ari S. Morcos, Matthew L Leavitt, Pratyush Maini

TL;DR

The "Finetuner’s Fallacy" is the belief that reserving specialized data for a final finetuning stage is the most efficient way to build domain-specific models. This paper demonstrates that incorporating a small fraction of domain data early—during the pretraining phase—yields significantly better performance, reduces catastrophic forgetting, and allows smaller models to outperform much larger ones, ultimately lowering the total cost of ownership.

What Problem Does This Paper Address?

In the standard LLM pipeline, models are pretrained on massive, general-purpose web corpora and then finetuned on smaller, specialized datasets (e.g., medical records, legal filings, or code). However, this approach faces two major hurdles:

  1. Catastrophic Forgetting: Finetuning often causes the model to lose the general reasoning and knowledge it gained during pretraining.
  2. Overfitting: Because domain datasets are often small, models quickly overfit to them during the high-intensity finetuning stage.

Practitioners often choose finetuning because it seems "cheaper" than training a custom model from scratch. The authors challenge this intuition, arguing that the stage at which data is introduced matters as much as the data itself.

Methods

The authors propose Specialized Pretraining (SPT). Instead of saving domain data for the end, they interleave it into the pretraining mix as a small fraction (1–5%) of the total tokens. Because the domain dataset is small, it is repeated many times (10–50x) throughout the pretraining process.

The SPT strategy involves mixing domain data into the pretraining corpus, allowing for repeated exposure in a regularized environment.

To analyze this, they compared two pipelines:

  • NPT → FT: Naive Pretraining (general data only) followed by Finetuning.
  • SPT → FT: Specialized Pretraining (mixed data) followed by Finetuning.

Crucially, the authors also developed new scaling laws to model overfitting. Unlike standard scaling laws that assume loss always goes down with more data, their model accounts for the "U-shaped" test loss curve that occurs when data is repeated excessively, helping practitioners predict the optimal mixture fraction without running expensive full-scale sweeps.

Datasets

The study evaluates SPT across three distinct, narrow domains:

  • MusicPile: Symbolic music notation (ABC format).
  • ChemPile: Chemistry reasoning, instructions, and textbook data.
  • ProofPile: Formal mathematical proofs.
  • Dolma: Used as the general-purpose web corpus for pretraining.
  • English-Japanese Translation: Used for a controlled study to measure how the degree of distributional overlap affects SPT's benefits.

Key Insights and Ideas

  • Pretraining as a Regularizer: During SPT, the vast amount of general data acts as a natural regularizer. The model sees the domain data frequently but in small doses, preventing the rapid memorization and "spiky" gradient updates typical of pure finetuning.
  • The "Finetuner’s Tax": While finetuning an off-the-shelf 3B model is "free" in terms of training investment, a 1B model trained with SPT can achieve better performance. Because the 1B model is 3x smaller, it is significantly cheaper to serve. The authors show that for high-volume applications, the inference savings eventually outweigh the upfront cost of specialized pretraining.
Figure 2: The finetuner’s tax. Training a 1B model with specialized pretraining (SPT) costs more upfront than finetuning a 3B model on domain data alone, but the 3× smaller model is cheaper to serve. The break-even point arrives after approximately 1 trillion inference tokens.
  • Durability of Early Knowledge: Data encountered during pretraining shapes model behavior more durably. SPT models enter the finetuning stage with a lower starting loss, requiring less drastic adaptation and thus preserving more general knowledge.

Key Results

  • Efficiency Gains: SPT reduces the number of pretraining tokens needed to reach a target domain performance by up to 1.75x.
  • Closing the Scale Gap: On the ProofPile domain, a 1B SPT model outperformed a 3B NPT model, closing 133% of the performance gap between the two scales.
  • Performance Boost: SPT consistently improved post-finetuning domain loss across all tested areas, with the largest relative gains (2.0%) seen in domains furthest from standard web text, like symbolic music.
SPT consistently provides relative performance gains across MusicPile, ChemPile, and ProofPile compared to standard finetuning.
  • Reduced Forgetting: SPT models showed significantly lower loss on general benchmarks after finetuning compared to NPT models, proving they "forget" less.

Limitations and Future Work

  • Domain Scope: The study focused on three specific domains. The authors note that findings might vary for domains that are even more sparsely represented in general corpora.
  • Finetuning Hyperparameters: Due to compute constraints, the authors did not exhaustively explore every possible finetuning configuration (e.g., different optimizers or advanced scheduling).
  • Scaling to 10B+: While the results are robust at the 1B and 3B scale, future work is needed to confirm if these specific mixture ratios and scaling laws hold for "frontier-scale" models (70B+ parameters).

Summary updated

BibTeX
@inproceedings{baek2026finetuners,
  author = {Christina Baek and Ricardo Pio Monti and David J. Schwab and Amro Abbas and Rishabh Adiga and Cody Blakeney and Maximilian Böther and Paul Burstein and Aldo Gael Carranza and Alvin Deng and Parth Doshi and Vineeth Dorna and Alex Fang and Tony Jiang and Siddharth Joshi and Brett W. Larsen and Jason Chan Lee and Katherine L. Mentzer and Luke Merrick and Haakon Mongstad and Fan Pan and Anshuman Suri and Darren Teh and Jason Telanoff and Jack Urbanek and Zhengping Wang and Josh Wills and Haoli Yin and Aditi Raghunathan and J Zico Kolter and Bogdan Gaza and Ari S. Morcos and Matthew L Leavitt and Pratyush Maini},
  title = {{The Finetuner’s Fallacy: When to Pretrain with Your Finetuning Data}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=HgDsWB3KFB},
}
Figure