Equation 4 · How Mechanistic Interpretability Research Is Actually Done
What does this equation mean?
Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.
This equation states an equality: the expressions on both sides have the same value under the article’s assumptions. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.
Read it piece by piece
Symbol hat p_θ
hat p_θ is part of the quantity the equation computes from the expression on the right.
Symbol y
y is an argument of the function-like quantity on the left; its role is set by that function’s stated inputs.
Symbol a_ell
ll is an argument of the function-like quantity on the left; its role is set by that function’s stated inputs.
Symbol σ
σ is one of the signed contributions combined to compute the quantity on the left.
Symbol w^top
op is one of the signed contributions combined to compute the quantity on the left.
Symbol b
b is one of the signed contributions combined to compute the quantity on the left.
Symbol θ
θ is part of the quantity the equation computes from the expression on the right.
Symbol w
w is one of the signed contributions combined to compute the quantity on the left.
=
The expressions on both sides represent the same quantity under the stated assumptions.
See an illustrated explanation →superscript
A raised number can be a power. When it is a label or bound, it selects a case or the upper limit of a sum; the formula’s structure distinguishes these uses.
See an illustrated explanation →How to interpret it
Read it with the definitions, units, and assumptions supplied by the article.
What the article says around this equation
The first concrete operation in almost any interpretability project is the least glamorous: run the model forward on a batch of inputs, and at some chosen point in the computation — a residual-stream position, an attention head’s output, a particular MLP layer — copy the activation tensor out before it is overwritten by the next step of the forward pass. This is extraction, and it produces nothing on its own beyond a large table of vectors. What turns it into evidence is probing: fitting a small, separately trained classifier to predict some property of interest directly from those vectors, while the model’s own weights stay frozen. Formally, for an activation read out at layer …
Read the full surrounding passage
The first concrete operation in almost any interpretability project is the least glamorous: run the model forward on a batch of inputs, and at some chosen point in the computation — a residual-stream position, an attention head’s output, a particular MLP layer — copy the activation tensor out before it is overwritten by the next step of the forward pass. This is extraction, and it produces nothing on its own beyond a large table of vectors. What turns it into evidence is probing: fitting a small, separately trained classifier to predict some property of interest directly from those vectors, while the model’s own weights stay frozen. Formally, for an activation read out at layer and a binary property y , . with fit by ordinary gradient descent to minimise cross-entropy against labelled examples. Alain and Bengio introduced this move under the name “probes” and made an observation that still organises how the technique is used: linear separability of a target property increases monotonically with depth in the networks they studied, which is itself informative about where in the computation a property becomes available for linear readout [ 1 ] .
Sources cited in the surrounding passage
These citations give research context. Read each source to check which claims it supports.
Return to How Mechanistic Interpretability Research Is Actually Done