What is probing in interpretability?
Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.
Probing trains a small model — often a linear classifier — on a network's frozen activations to see whether a property is readable. Alain & Bengio (2016) introduced linear classifier probes on intermediate layers. A 94% probe is evidence of presence. Gurnee et al. (2023) look for sparse sets of neurons that suffice for a probe. Presence is still not use: you need a patch or a steer.
In one paragraph. Probe: learn θ to predict label y from activation a(x), with the base model frozen. Linear probe: ŷ = softmax(W a + b).
| Test | What it shows | What it does not show |
|---|---|---|
| Linear probe accuracy 94% | The concept is linearly readable | That the model uses it to answer |
| Activation patch restores the answer | This activation was causally used | That it is the only pathway (hydra effect) |
Alain & Bengio (2016) introduced linear probes on intermediate layers. Always follow a probe with a causal test when you can.
What is the plain-language test?
Freeze the big model. Sit a tiny student next to one layer and ask it to guess 'is this French?' or 'is this a positive review?' If the student succeeds, that layer's numbers contain the answer in a form the student can use. The big model might still ignore that form.
What are the traps?
Probes can pick up dataset artifacts. A nonlinear probe can invent a decoder the model never uses. Control tasks (a shuffled-label baseline) help. High dimensionality makes linear separation too easy unless you regularize. Zou et al. (2023) instead extract a direction from contrasting prompt sets and then steer with it — a causal follow-up.
How does this relate to SAEs?
An SAE feature is a sparse coordinate you can also probe or steer. Sparse probing (Gurnee et al., 2023) looks for a few MLP neurons that already suffice. All of these are 'can I read it?' tools until you intervene.
What is the math?
Collect activations A ∈ ℝn×d and labels y. Fit W by logistic regression / least squares. Selectivity: compare accuracy to a control with shuffled y. Steering: x ← x + α u, where u is the probe direction or a contrastive difference of means.
Worked example
You want to know whether layer 8 of GPT-2 small linearly encodes 'this sentence is in French'. You gather 2 000 French and 2 000 English residuals, fit a linear probe, get 94% on held-out prompts. Then you patch: replace the French residual's projection onto that direction with the English mean. If the next-token distribution stops looking French, the direction was used. If the probe stays 94% but the patch does nothing, you found a readable correlate.
Check your understanding
Five questions. Answers are in the disclosure under each item, so this page still works if JavaScript is off.
Further reading
- Understanding Intermediate Layers Using Linear Classifier Probes — Alain & Bengio (2016). arXiv (ICLR workshop track).
- Finding Neurons in a Haystack: Case Studies with Sparse Probing — Gurnee et al. (2023). TMLR.
- Representation Engineering: A Top-Down Approach to AI Transparency — Zou et al. (2023). arXiv.
- How to Use and Interpret Activation Patching — Heimersheim & Nanda (2024). arXiv.