Linear Probing

Linear probing evaluates a frozen representation by training a simple linear head on top of it. It asks whether the learned features are already linearly usable for a target task.

For an encoder and frozen embedding:

a classification probe is:

and the probe is trained by:

where and are the only trainable probe parameters, is cross-entropy loss, and is a regularization strength selected on validation data.

For regression, the probe can be:

What It Tests

Linear probing tests representation separability, not the full adaptation capacity of the pretrained model.

It is useful when the question is:

  • Does pretraining organize examples so that the target is easy to read out?
  • Does a representation contain task-relevant information before task-specific adaptation?
  • Does a new SSL objective improve frozen features under the same protocol?

It is weaker when the downstream task requires nonlinear reasoning, task-specific alignment, or structural decoding.

Protocol

  • Freeze the encoder before fitting the probe.
  • Fit preprocessing and normalization only on the training split.
  • Select probe regularization, learning rate, batch size, and checkpoint using validation data.
  • Report the untouched test result only once after model and probe choices are fixed.
  • Compare against simple feature baselines, random encoder baselines, and fine-tuning protocol when relevant.

Failure Modes

  • Hidden tuning of the encoder on the probe validation set.
  • Comparing probes with different search budgets.
  • Using a nonlinear head but still calling it a linear probe.
  • Splitting after embedding cache construction, causing duplicate or source leakage.
  • Claiming downstream transfer from a probe that only tests interpolation.

Checks

  • What layer, token, pooling rule, or graph readout defines ?
  • Is the probe exactly linear after the frozen representation?
  • What hyperparameters were selected on validation data?
  • What split unit supports the generalization claim?
  • Is the result compared to full fine-tuning and a simple non-neural baseline?