Foundations / Training
verifiedTransfer Learning
Learn something on one problem and reuse it on another. It is the reason nobody trains from scratch: the features a network learns on a large general task turn out to be most of what a small specific task needs, so the small task supplies only the last part.
What transfers is layered, and knowing which layer is the practical skill. Early layers learn general structure — edges, textures, syntax — and transfer almost anywhere. Late layers learn the specific task and transfer badly. So the decision is how far up to freeze, and it is set by how much target data you have and how far the target is from the source: little data and a near task means freeze most of it; plenty of data and a distant task means fine-tune everything and the pretrained weights are only an initialisation.
The gain is largest where target data is scarcest and shrinks as it grows, because what transfer supplies is a prior and data overwhelms a prior. It can also go negative: transferring from a source whose structure conflicts with the target is worse than starting fresh, and the conflict is not visible from the source task's own accuracy. That is why transfer is measured on the target and never argued from how good the source model was.
layers-frozen holds 25% of the budget; rest holds the remaining 75%.
Layers kept from the source task, against the layers the target retrains, in layers. Drag the frozen count up to watch the target task supply less and less — which is right when its data is scarce and wrong when the two tasks disagree, and the source's accuracy does not tell you which.
Reviewed by opendroid · 2026-08-18
- arXiv:1411.1792 — How transferable are features in deep neural networks?
- arXiv:1910.10683 — Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer