Md. Asif Uddin

Proposition 3III.3.P0356 of 76 in the corpus

Pretraining changes where the search starts, not what it can reach.

The architecture fixes the family of functions. Pretrained weights are a point inside it that is already useful, which matters most exactly where labels are scarce.

Held-out error against labelled examplesTwo curves against the number of labelled examples. Training from scratch starts high and needs many labels. Starting from pretrained weights begins far lower and converges sooner. The architecture is identical in both.held-out error against labelled examplesfrom scratchfrom pretrained weightssame model,different startThe gap is widest on the left. Where labels are plentiful the two converge.
Fig. 3 — Held-out error against labelled examples, from scratch and from pretrained weights. Same architecture, different starting point.

Demonstration

Book I, Chapter I established that training moves a point through parameter space and never changes the architecture. Pretraining is that framing used deliberately: instead of starting from random initialisation, start from a point somebody else already walked to.

The consequence is a curve, not a constant. Plot held-out error against the number of labelled examples and the two runs converge on the right and diverge sharply on the left. Pretraining is worth most when labels are scarce and approximately nothing when they are abundant, which is the shape of the claim and the part usually dropped.

Raghu and colleagues examined this specifically for medical imaging and the findings are worth carrying.

Much of the benefit is optimisation speed, not final accuracy. On their tasks, large ImageNet architectures fine-tuned from pretrained weights often matched much smaller models trained from scratch, once both had converged.

The gain concentrates in the small-data regime, which is where medical datasets live, so the practice survives the critique — but for a different reason than the one usually given.

Architecture size transferred badly. ImageNet performance was a poor predictor of medical performance across architectures, so choosing a backbone by its ImageNet number is choosing on a proxy that does not hold.

There is one asymmetry worth knowing. Pretrained weights carry the statistics they were trained under, so the normalisation must match. Feeding raw 0–255 pixels to a backbone pretrained on standardised inputs produces a model that trains, slowly, to undo the mismatch in its first layer.

Corollary

“We used a pretrained ResNet-50” is three decisions: the family, the starting point and the preprocessing that starting point assumes. The third is the one that gets copied without being read.

Sources