-
Notifications
You must be signed in to change notification settings - Fork 0
Transfer Learning & Fine‐tuning ‐ Complete Resource Guide
Complete guide to learning transfer learning - from beginner to advanced
- Pre-training vs Fine-tuning: Understanding the difference
- Feature Extraction: Using pre-trained models as feature extractors
- Fine-tuning Strategies: Full fine-tuning, partial fine-tuning, layer-wise
- Domain Adaptation: Adapting to new domains
- Few-shot Learning: Learning from few examples
- Efficient Fine-tuning: LoRA, Adapters, Prompt Tuning
- Foundation Models: Large pre-trained models (BERT, GPT, ViT)
- Understanding pre-trained architectures
- Fine-tuning techniques
- Domain adaptation methods
- Efficient parameter tuning
- Evaluation on downstream tasks
!!! tip "Learning Path" Start with basic transfer learning concepts, then move to efficient fine-tuning methods.
1. "A Survey on Transfer Learning" (2009)
- Authors: Pan, Yang
- Link: https://ieeexplore.ieee.org/document/5288526
- Why: Foundational survey, comprehensive overview
- Difficulty: Beginner-friendly
2. "Transfer Learning for Computer Vision Tasks: A Survey" (2022)
- Authors: Zhuang, Qi, Duan, et al.
- Link: https://arxiv.org/abs/2201.09620
- Why: Recent comprehensive survey on vision transfer learning
- Difficulty: Medium
3. "Pre-trained Models: Past, Present and Future" (2021)
- Authors: Qiu, Sun, Xu, et al.
- Link: https://arxiv.org/abs/2106.07139
- Why: Overview of foundation models
- Difficulty: Medium
!!! success "Start with Surveys" Always start with survey papers to get comprehensive overview of the field.
1. "How transferable are features in deep neural networks?" (2014)
- Authors: Yosinski, Clune, Bengio, Lipson
- Link: https://arxiv.org/abs/1411.1792
- Why: Explains what transfers and why - very intuitive
- Code: Available
- Difficulty: Beginner
2. "Transfer Learning Tutorial" - PyTorch Official
- Link: https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html
- Why: Hands-on tutorial with code
- Difficulty: Beginner
3. "Domain Adaptation: A Survey" (2020)
- Authors: Wilson, Cook
- Link: https://arxiv.org/abs/2009.10695
- Why: Good introduction to domain adaptation
- Difficulty: Beginner-Medium
1. "ImageNet Classification with Deep Convolutional Neural Networks" (2012)
- Authors: Krizhevsky, Sutskever, Hinton
- Citations: 100,000+
- Link: https://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks
- Why: Started the transfer learning revolution
- Code: https://github.com/pytorch/vision
2. "Deep Residual Learning for Image Recognition" (2015)
- Authors: He, Zhang, Ren, Sun
- Citations: 80,000+
- Link: https://arxiv.org/abs/1512.03385
- Why: ResNet became standard backbone
- Code: https://github.com/pytorch/vision
3. "BERT: Pre-training of Deep Bidirectional Transformers" (2018)
- Authors: Devlin, Chang, Lee, Toutanova
- Citations: 50,000+
- Link: https://arxiv.org/abs/1810.04805
- Why: Foundation of modern NLP transfer learning
- Code: https://github.com/google-research/bert
4. "How transferable are features in deep neural networks?" (2014)
- Authors: Yosinski, Clune, Bengio, Lipson
- Citations: 5,000+
- Link: https://arxiv.org/abs/1411.1792
- Why: Explains transferability
- Code: Available
!!! note "Classic Papers" These papers are frequently cited and form the foundation. Read them carefully.
1. "Scaling Vision Transformers" (2021)
- Authors: Zhai, Kolesnikov, Houlsby, Beyer
- Venue: CVPR 2022
- Link: https://arxiv.org/abs/2106.04560
- Code: https://github.com/google-research/vision_transformer
2. "EfficientNetV2: Smaller Models and Faster Training" (2021)
- Authors: Tan, Le
- Venue: ICML 2021
- Link: https://arxiv.org/abs/2104.00298
- Code: https://github.com/google/automl/tree/master/efficientnetv2
3. "LoRA: Low-Rank Adaptation of Large Language Models" (2021)
- Authors: Hu, Shen, Wallis, et al.
- Venue: ICLR 2022
- Link: https://arxiv.org/abs/2106.09685
- Code: https://github.com/microsoft/LoRA
4. "An Image is Worth 16x16 Words: Transformers for Image Recognition" (2020)
- Authors: Dosovitskiy, Beyer, Kolesnikov, et al.
- Venue: ICLR 2021
- Link: https://arxiv.org/abs/2010.11929
- Code: https://github.com/google-research/vision_transformer
5. "A ConvNet for the 2020s" (2022)
- Authors: Liu, Mao, Wu, et al.
- Venue: CVPR 2022
- Link: https://arxiv.org/abs/2201.03545
- Code: https://github.com/facebookresearch/ConvNeXt
!!! tip "Recent Papers" Follow recent papers to stay current. Check top venues (NeurIPS, ICML, ICLR, CVPR).
1. "EfficientNet: Rethinking Model Scaling" (2019)
- Authors: Tan, Le
- Code: https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet
- PyTorch: https://github.com/lukemelas/EfficientNet-PyTorch
- Why: Well-documented, easy to use
2. "Vision Transformer (ViT)" (2020)
- Authors: Dosovitskiy, Beyer, Kolesnikov, et al.
- Code: https://github.com/google-research/vision_transformer
- PyTorch: https://github.com/lucidrains/vit-pytorch
- Why: Multiple implementations available
3. "LoRA: Low-Rank Adaptation" (2021)
- Authors: Hu, Shen, Wallis, et al.
- Code: https://github.com/microsoft/LoRA
- Hugging Face: Integrated in transformers library
- Why: Easy to use, well-maintained
4. "Parameter-Efficient Transfer Learning" (2019)
- Authors: Houlsby, Giurgiu, Jastrzebski, et al.
- Code: https://github.com/google-research/adapter-transformers
- Why: Adapter-based fine-tuning
5. "ConvNeXt: A ConvNet for the 2020s" (2022)
- Authors: Liu, Mao, Wu, et al.
- Code: https://github.com/facebookresearch/ConvNeXt
- Why: Modern CNN architecture
!!! success "Code First" Start with papers that have code. Implement and experiment to understand better.
1. Papers With Code
- URL: https://paperswithcode.com/task/transfer-learning
- Features: Papers with code, leaderboards, SOTA tracking
- Why: Best for finding implementations
2. arXiv
- URL: https://arxiv.org/list/cs.LG/recent
- Categories: cs.LG (ML), cs.CV (Vision), cs.CL (NLP)
- Why: Latest preprints daily
3. Google Scholar
- URL: https://scholar.google.com/
- Features: Citations, related papers, alerts
- Why: Comprehensive search
4. Semantic Scholar
- URL: https://www.semanticscholar.org/
- Features: AI-powered recommendations, citation graphs
- Why: Smart paper discovery
5. Connected Papers
- URL: https://www.connectedpapers.com/
- Features: Visual paper graphs, related papers
- Why: Explore research areas visually
Top Venues for Transfer Learning:
- NeurIPS: https://papers.nips.cc/ (December)
- ICML: https://proceedings.mlr.press/ (July)
- ICLR: https://openreview.net/group?id=ICLR.cc (May)
- CVPR: https://openaccess.thecvf.com/CVPR (June)
- ICCV: https://openaccess.thecvf.com/ICCV (October, biennial)
!!! tip "Track Regularly" Check these sources daily or weekly to stay updated.
1. arXiv (Free Preprints)
- Most ML papers on arXiv
- Direct download PDF
- No paywall
2. Google Scholar
- Often links to free versions
- Check "All X versions" link
- May find author's website
3. Author Websites
- Many authors post papers on their websites
- Check personal pages or lab websites
4. ResearchGate / Academia.edu
- Authors often upload papers
- Request full text if needed
5. Library Access
- University libraries have journal access
- Use institutional login
6. Open Access Journals
- JMLR (Journal of Machine Learning Research) - Free
- Many conferences are open access
!!! note "Free Access" Most ML papers are freely available on arXiv. Check there first.
1. Fast.ai - Practical Deep Learning
- URL: https://course.fast.ai/
- Why: Practical transfer learning course
- Free: Yes
2. CS231n - Stanford
- URL: https://cs231n.stanford.edu/
- Why: Excellent vision course with transfer learning
- Free: Yes
3. Hugging Face Course
- URL: https://huggingface.co/course
- Why: Hands-on NLP transfer learning
- Free: Yes
1. "Deep Learning" by Goodfellow, Bengio, Courville
- Free: https://www.deeplearningbook.org/
- Chapter on transfer learning
2. "Hands-On Machine Learning" by Aurélien Géron
- Practical examples of transfer learning
1. PyTorch Transfer Learning Tutorial
- URL: https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html
- Why: Hands-on code tutorial
2. TensorFlow Transfer Learning Guide
- URL: https://www.tensorflow.org/tutorials/images/transfer_learning
- Why: Official TensorFlow guide
3. Hugging Face Transformers Course
- URL: https://huggingface.co/course/chapter1/1
- Why: Modern NLP transfer learning
- Read survey papers (2-3)
- Read classic papers (2-3)
- Understand basic concepts
- Read BERT paper
- Read ViT paper
- Read EfficientNet paper
- Read LoRA paper
- Read Adapter papers
- Implement one method
- Read recent papers (2022-2024)
- Follow arXiv daily
- Track top venues
1. ImageNet
- Standard benchmark
- Pre-trained models available
2. CIFAR-10/100
- Good for quick experiments
- Small dataset
3. GLUE (NLP)
- Standard NLP benchmark
- Multiple tasks
4. COCO
- Object detection/segmentation
- Large dataset
!!! tip "Practice" Use these datasets to practice transfer learning techniques.
- Papers With Code - Transfer Learning
- arXiv - Machine Learning
- Hugging Face Models
- PyTorch Pre-trained Models
Use this template for each paper you read:
# Paper Title
**Authors**:
**Year**:
**Venue**:
**Link**:
## Summary
[2-3 sentences]
## Key Contributions
1.
2.
3.
## Method
[Main approach]
## Results
[Key findings]
## Code
[Link to code]
## My Notes
[Your thoughts, questions]Next Steps:
- Start with survey papers
- Read 2-3 classic papers
- Implement one method
- Follow recent papers
- Build your reading list