Transfer Learning: Why Pretraining Reuses
A model trained on one huge task can be repurposed for a different, smaller one with a fraction of the data. Why representations transfer, and when they do not.
On this page
The reason you do not train a language model from scratch is transfer learning: a model trained once, at great expense, on a huge general task can be reused for countless specific tasks it was never trained on — often with a tiny fraction of the data the original required. This is the economic foundation of the entire field. Without it, every application would need its own from-scratch training run, and almost none would be affordable.
The question worth answering is why this works, because the answer tells you when it will and will not.
What actually transfers
When a model pretrains on a massive corpus, it does not just memorize that corpus. To predict well across billions of varied examples, it is forced to build internal representations — reusable machinery for grammar, syntax, entities, common-sense relations, the structure of code.
Those representations are the transferable asset. They were learned to serve the pretraining objective, but they are general enough to serve other objectives too. A model that learned to represent sentence structure for next-token prediction already has something useful for classification, translation, or extraction. You are not reusing the answers; you are reusing the understanding underneath them.
This is why a pretrained model reaches good performance on a new task with hundreds of examples where a from-scratch model would need millions. Most of the work — building the representations — is already done. The new task only has to redirect them, not create them.
The layered structure of what is learned
Representations are not uniform. In a deep network they form a rough hierarchy, and the hierarchy governs what transfers.
Early layers learn general features — low-level, broadly applicable structure that almost any task in the domain needs. These transfer well across a wide range of tasks with little change.
Later layers learn task-specific features — closer to the original objective, more specialized, less portable.
This structure is the reason for the standard transfer recipe: keep the general early representations, adapt the specialized later ones. How much you adapt is a spectrum.
The spectrum of adaptation
Transfer learning is not one technique but a range, ordered by how much of the model you change.
Feature extraction. Freeze the pretrained model entirely and use its representations as fixed inputs to a small new component you train on top. Cheapest, needs the least data, changes the base not at all. This is exactly what happens when you use an embedding model — the representations are the product.
Fine-tuning. Continue training the pretrained weights on your task, at a much smaller learning rate. More powerful, needs more data, and risks eroding the general capability you started from — the catastrophic-forgetting problem.
Parameter-efficient adaptation. A middle path: adjust a small set of added or selected parameters while leaving most of the base frozen, capturing much of fine-tuning’s benefit at a fraction of the cost and risk.
The rule for choosing: the more your task differs from pretraining, and the more data you have, the further toward full fine-tuning you go. Similar task, little data → feature extraction. Different task, ample data → fine-tune.
Why the pretraining task barely matters
A striking property: the pretraining objective does not need to resemble your target task for transfer to work. Next-token prediction is nothing like sentiment classification, yet a next-token model transfers to it beautifully.
This is because the objective is a means, not the point. Its job is to force the model to build rich representations, and almost any sufficiently hard, data-rich objective does that. The representations outlive the objective that created them. This is the deep reason self-supervised pretraining — predict-the-next-token, fill-the-blank — became dominant: the task is a pretext, valuable only because being good at it requires understanding you can reuse.
When transfer fails
Transfer is not automatic, and the failures are informative.
Domain gap too large. Representations built on general web text transfer poorly to a truly alien domain — specialized notation, a language barely present in pretraining. The further your data sits from what the model saw, the less its representations fit.
Negative transfer. Occasionally the pretrained starting point is actively worse than random for an unusual task, because the representations bias the model toward the wrong structure. Rare, but real.
Confusing transfer with knowledge. Transfer moves capability — representations and skills. It does not reliably move facts. A model transfers its ability to reason about text without transferring the specific truths of your domain, which is the same reason fine-tuning teaches facts poorly. For facts, retrieval beats transfer.
What to remember
- Transfer learning reuses a pretrained model’s representations — its general machinery for structure and meaning — for new tasks with far less data.
- What transfers is understanding, not answers, which is why hundreds of examples can replace millions.
- Early layers hold general features that transfer widely; later layers are task-specific and get adapted.
- Adaptation is a spectrum: feature extraction (freeze), fine-tuning (retrain), and parameter-efficient methods between them.
- The pretraining objective is a pretext — it matters only because being good at it builds reusable representations.
- Transfer moves capability, not facts, and fails when the domain gap is too large.
Next: Hyperparameter Tuning