Introduction to Deep Learning · HIT

Week 13   Part IV · Integration

Integration & Transfer Learning

Transfer learning and fine-tuning; model inference; the end-to-end workflow into the advanced courses.

Learning goals

This is the weekly homework lab, completed independently after the lecture and the practice lesson. It follows the course's Build / Predict & probe / Explain & defend model: use an AI assistant freely for the Build; the graded learning is in Predict and Explain. See the AI-use policy and a fully worked sample submission.

Exercise

Part A · AI assistant welcomeBuild

  1. Fine-tune a pretrained model end-to-end on a new task and run inference.

Part B · student reasoningPredict & probe

  1. Predict the ranking of from-scratch, fine-tuning, and frozen-features under a fixed budget.

Part C · in plain languageExplain & defend

  1. Compare the three regimes, explain when transfer learning helps and why, and reflect on the full workflow.

Deliverables

Hints.

Self-check

Answer each before expanding it. If one is unclear, revisit the lab and the references.

Name the two transfer-learning strategies.
Fixed feature extraction (freezing) and fine-tuning.
When does freezing the backbone make most sense?
When the target dataset is small and similar to the source.
Why use a smaller learning rate for pretrained layers?
To avoid destroying useful pretrained features.
Why match the pretrained model's preprocessing?
Inputs must match the normalization/distribution it was trained on.
What is the end-to-end workflow?
Data, model, train, evaluate, infer/deploy.

Instructor lesson plan (with references)

PreviousWeek 12: Representation Learning