Transfer Learning and Data — How Vision Actually Gets Built

Almost nobody trains a computer-vision model from scratch — and if you're trying to, you're probably doing it wrong. The real practice of vision is transfer learning: take a model pretrained on millions of images, adapt it to your task with a fraction of the data. This, plus smart data strategy, is how vision gets built in the real world, and it's the single most practical thing to understand about applying computer vision. This post is about how it's actually done.

Posts 3–6 built the architectures; this post is how you use them without a Google-scale dataset and compute budget. Transfer learning is the technique that makes modern vision accessible, and understanding it (plus the data realities around it) is what lets you actually ship a vision model.

Transfer learning: stand on a pretrained model

Training a vision model from scratch needs enormous labeled data (millions of images) and significant compute — out of reach for most problems, which have hundreds or a few thousand labeled images. Transfer learning solves this by reusing a model already trained on a massive dataset:

This works because of the key insight from post 3: the early and middle layers of a vision model learn general visual features (edges, textures, shapes) that transfer across tasks — a cat detector and a tumor detector both need edge and texture detection at the bottom. Only the later, task-specific layers need to change. So you inherit millions of images’ worth of learned visual knowledge for free and only learn the small task-specific part. The practical payoff is enormous: transfer learning lets you build a strong vision model with hundreds or thousands of labeled images instead of millions, in hours instead of weeks, on modest hardware. It’s not a shortcut — it’s the standard, correct way to do applied vision, and training from scratch is reserved for the rare cases with huge data or very unusual domains.

Two modes: feature extraction and fine-tuning

Transfer learning comes in two flavors, and choosing between them is a core practical skill tied to how much data you have:

The decision rule: small/similar data → feature extraction; larger/different data → fine-tuning, with a common middle path of freezing early layers (the most general features) and fine-tuning only the later ones. This maps the amount of adaptation to the amount of data you can support, and getting it right is most of the practical skill in transfer learning. It’s the same pretrain-then-adapt pattern as fine-tuning LLMs (the blog’s fine-tuning series) — vision just got there first and demonstrated the idea.

Data: still the thing that decides it

Transfer learning reduces how much data you need, but data remains the decisive factor in vision (echoing the ML series — the input side wins), and several data realities dominate real projects:

The practical reality that ties the series together: building a vision system is mostly transfer learning + data work, not architecture design. You pick a proven pretrained architecture (a ResNet or a ViT, posts 4, 6), choose feature-extraction or fine-tuning based on your data size, apply heavy data augmentation, and invest your real effort in getting good, representative, well-labeled data. The architecture is largely a solved, reusable commodity; the data and the transfer strategy are where your project succeeds or fails. This is the single most important practical lesson in applied computer vision, and it’s why “how much labeled data can you get, and how will you augment and transfer?” matters far more than “which network?” for actually shipping.

The throughline: almost nobody trains vision models from scratch — the real practice is transfer learning: start from a model pretrained on millions of images (which learned a broadly-useful edge→texture→part→object feature hierarchy, post 3) and adapt it with your much smaller dataset, because early/middle layers learn general features that transfer (a cat detector and a tumor detector share low-level vision). This lets you build strong models from hundreds/thousands of images in hours on modest hardware — the standard correct approach. Two modes, chosen by data: feature extraction (freeze the backbone, train a new head — small/similar data) vs fine-tuning (continue training layers — larger/different data, watch overfitting/forgetting). But data still decides it: quality and expensive labeling (boxes/masks are the real bottleneck), representativeness (unseen conditions fail — also a fairness issue), and data augmentation (flips/rotations/color shifts — enlarge data and teach invariance to the exact variations that make vision hard). Building vision is mostly transfer learning + data work, not architecture design — the network is a reusable commodity.

Key takeaways

Further reading

Sources & References