Mechanisms

Take the activation vector aa from one layer. The linear representation hypothesis says a concept can often be read along a direction ff. Its strength is approximately a dot product:

s=af=iaifis = a \cdot f = \sum_i a_i f_i

Each term asks how much neuron ii contributes to alignment with the feature direction.

Why a dot product?

The dot product grows when the activation points in the same direction as the feature. It combines contributions across neurons while preserving sign: some neurons support the feature and others oppose it.

Features Are Directions

Set a two-neuron activation, choose a candidate feature direction, and follow the dot product. The feature belongs to the direction, not automatically to either neuron.

neuron 1neuron 2activationfeature direction

a · f = (0.80 × 0.9) + (0.25 × 0.2)
= 0.770

A neuron is one coordinate axis. A feature can use one axis heavily or spread across many axes.

Linear directions are practical. A team can train a linear probe, add a steering direction, or compare activations without decoding the entire network. The hypothesis has limits. Curved or context-dependent representations may need nonlinear tools, and a decodable direction does not prove the model uses it.

Early vision layers often respond to edges, color contrasts, or texture. Later layers can combine those signals into curves, wheels, dog heads, or object parts. This hierarchy is why curve detectors are such a useful case study: we can often read their construction from earlier oriented edges.

Language features can track syntax, topic, style, entities, code patterns, or the model's current plan. A feature might activate on a number describing a group of people, a variable name bound to a list, or language that signals a refusal.

The same token can produce different features in different contexts. “Bank” beside “river” should create a different internal state than “bank” beside “loan.”

Contextual representation

A language-model activation represents a token in context. Feature strength therefore depends on the surrounding sequence and the layer where it is measured.

An internal representation is the model's working state. It can contain facts about the input, partial results, uncertainty, and instructions for later layers. The state changes as information moves through the network.

Think of it as a crowded whiteboard. Features are directions we use to read particular notes from that board.

Activation space

For a layer with dd neurons, its activation is a point in dd-dimensional space. Feature analysis studies directions, clusters, and transformations in that space.

Watch a Representation Evolve

Move through layers and inspect how the working state for “Labrador” changes from surface form to a task-ready answer representation.

Token features

capitalizedproper noun

Animal-answer readiness

0.18

Where information appears, where it persists, and where it is used are three different questions.

Follow one token representation from surface features to a task-ready output state.

Representations are where many debugging questions meet. Does the model encode the correct patient condition? Does that information survive to the decision layer? Is the right feature present but ignored? Separating representation from use prevents a common mistake: assuming that information found by a probe caused the output.

Checkpoint

A model encodes a protected attribute internally even though it is absent from the input columns. How could that happen?