Skip to content
AI360Xpert
Beta

Linear Probing Frozen Nets

Freeze the backbone and train one linear layer on top. Good features score high with nothing else to hide behind.

Linear probing trains one layer on frozen backbone features
Linear probing trains one layer on frozen backbone features

Why Does This Exist?

Fine-tuning mixes feature quality with adaptation skill. Probing isolates features: freeze ff, train W,bW, b with y=Wf(x)+by = W f(x) + b, and compare backs fairly. Gaps to full tunes in fine-tuning show what adaptation adds.

This page covers probing only. Tuning moves are sibling pages.

The one idea you need first.

Probe is logistic regression on frozen f(x)f(x). No gradient enters ff. Standardize features or tune weight decay for fair numbers.

Think of It Like This

Tasting stock before seasoning a soup

A chef tastes plain stock to judge bones and time, then seasons for service. Good stock needs little salt; weak stock needs rescue. Tasting plain separates base from fix.

Frozen features are stock, linear heads are salt, and fine-tuning is full seasoning. Where it stops: soups finish seasoned, while papers report both numbers.

How It Actually Works

Freeze ff. Extract train plus test features once. Train linear hh with cross entropy and tuned decay. Report top-11 on image classification sets. Compare probe versus full tune per backbone.

In plain words: one layer, frozen eyes, and decay as the dial.

Worked example

Backbone A probe 76.376.3 percent, full 84.184.1, gap 7.87.8. Backbone B probe 79.579.5, full 83.283.2, gap 3.73.7. B features transfer better despite lower full peak. The gap, not the peak, ranks frozen quality.

Watch Out For

Weak decay hiding good features

Default decay underfits probes and ranks flip. Good backs look flat. Sweep decay over 0.010.01 to 1010 on validation and report the best per backbone.

The Quick Version

  • Linear probing trains one layer on frozen features.
  • It grades representation quality alone.
  • Probe versus tune gaps show adaptation value.
  • Tune decay per backbone for fairness.
  • Cheap features-once, heads-many workflow.