Mechanistic interpretability tries to reverse-engineer what a network computes from its weights and activations. Its basic working assumption is that concepts are represented as directions in activation space.
We will state the linear representation hypothesis, read a feature, and finish with evidence and exceptions.
Step 1: The linear representation hypothesis
An activation is the vector of numbers a layer produces for an input. The linear representation hypothesis says that a concept the model uses, such as "this text is in French" or "the subject is plural", corresponds to a direction u in that vector space, called a feature. Different inputs have the concept more or less strongly, and the strength shows up as how far the activation points along u.
The first evidence came from word embeddings: the offset from "man" to "woman" is close to the offset from "king" to "queen", so gender behaves like a direction that can be added or removed.
Step 2: Reading a feature
If u is a unit vector, the feature's strength in activation a is the projection
For a = (2, 1, 4) and u = (0, 0.6, 0.8), the strength is 0 + 0.6 + 3.2 = 3.8. On a plot of activations, the feature is strongest for the point that reaches furthest along the dashed line of u, which need not be the point furthest from the origin.
Step 3: Evidence and exceptions
Correlation is not enough: if a model really uses a direction, then intervening on it, adding or removing it, should change behavior predictably, and for many features it does. Directions also explain why single neurons are hard to interpret: feature directions need not line up with the neuron basis, so one neuron usually mixes several features. The hypothesis has exceptions: some language models represent the days of the week on a circle, a feature that needs two dimensions so that Sunday can sit next to Monday.