Back to Deep Learning Mind Map
中文·English
🧠 Deep LearningID: transfer-learning

Transfer Learning

迁移学习与微调
🎯Core Definition
Transfer learning initializes a target task with weights pretrained on a large dataset (e.g. ImageNet). The freezing strategy follows feature hierarchy: shallow layers capture generic low-level features (edges/textures/colors) while deep layers encode task-specific semantics, so the norm is freezing early layers and training only the last few. Feature extraction freezes the whole backbone and trains only a new head (backbone lr = 0); fine-tuning continues training all or some parameters with a small learning rate. Catastrophic forgetting — new-task updates overwrite old-task knowledge — is mitigated by a smaller lr, partial freezing, or parameter regularization such as EWC.
💡Use Cases
the standard starting point for CV/NLP tasks with scarce labels (ImageNet-pretrained CNNs, instruction/domain fine-tuning of LLMs); interviews always ask freeze vs fine-tune.
Key Problems Solved
with few labels, random initialization overfits and training from scratch needs millions of samples; transfer reuses generic representations learned on big data, so a few thousand images suffice and sample demand drops by orders of magnitude. Rule of thumb: little data + similar distribution → feature extraction; more data or large domain shift → fine-tuning; the costs — distribution mismatch and catastrophic forgetting — must be managed.
🎯5 High-Frequency Exam Points
1
When to use feature extraction vs fine-tuning? What are the deciding factors?
2
Why are shallow features generic while deep features are task-specific?
3
Causes of catastrophic forgetting and how to mitigate it?
4
Why is fine-tuning's learning rate usually far smaller than from-scratch training?
5
What to do when the pretraining distribution differs significantly from the target?
📖 In-depth Guide:📄 debugging-and-dl-comp
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Transfer Learning"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardData Augmentation

🔗 More Deep Learning Knowledge Cards

Activation FunctionsAdam & AdamWAutograd Compute GraphBatch Normalization