Skip to content
← All posts

Looking for What We Already Know: Concept-Based Interpretability

Starting from a concept and asking where the model keeps it: probes, why they only find correlations, how steering and erasure test causation, and models built around concepts.

Contents

One way to study a network is to take it apart and ask what each piece does. That’s powerful when we don’t know what to look for, but slow and full of open problems. Often we already know what we care about: does the model know whether a statement is true? Where does it keep track of sentiment? Is there a “refuse this request” signal? This post is about starting from the concept.

Every measured number comes from GPT-2 small, computed with a short script.

Flip the direction

the networkroles / conceptsReverse engineeringfrom parts to roles: what does this part do?Concept-based interpretabilityfrom roles to parts: where is this concept?
Figure 1. The two approaches to interpretability, with the concept-based direction highlighted.
Takeaway: Reverse engineering asks “what does this part do?”; concept-based interpretability asks “where is this concept?”.

Concept-based interpretabilityInterpreting a network top-down: start from a concept we care about and find which components represent or use it. Read more in “Opening the Black Box” → goes from roles to the parts that play them. We pick the role, say truthfulness, refusal or deception, and look for the parts of the network that represent it. It’s targeted and comparatively cheap, which makes it practical for safety questions. Its weakness is built into its strength: it only finds what we thought to look for.

Probes

The problem

We want to know whether, and where, a model represents concept X.

The proposed solution

Collect the model’s activations for examples labeled with the concept, then train a small classifier, a ProbeA small classifier trained on activations to test whether a concept can be read out from them. Read more in “Opening the Black Box” →, to predict the label from the activations. If a Linear probeA probe that is a single linear layer. If it works, the concept corresponds to a direction in activation space. Read more in “Opening the Black Box” → works, we have localized the concept as a direction in activation space: the probe’s weight vector.

Where it breaks

Two problems, each with its own section below: probes need carefully chosen data for well-defined concepts, and they detect correlations rather than the variables the model actually uses.

Here is the sentiment probe from Opening the Black Box again. Each dot is GPT-2’s residual stream at layer 6 for one short sentence:

● positive sentence   ■ negative sentence  (hollow = held out for testing)

Hover or tap a point to see its sentence.

Figure 2. GPT-2's layer-6 activations for 192 synthetic positive and negative sentences, projected to 2D. Fit the probe to see the concept direction (pink arrow).Measured on GPT-2 small
Takeaway: When a straight line separates the classes, its normal vector is a candidate “sentiment direction”.

By training one probe per layer we can also ask where a concept becomes readable. The data is synthetic: 336 short statements generated from templates about 56 cities, such as “Paris is a city in France.” (true) and “Paris is a city in Russia.” (false). The probes predict which ones are true. To make the test honest, they are tested on 14 cities they never saw in training.

30%50%70%90%100%chanceemb123456789101112layer (residual stream entering it; 12 = final)
  • logistic probe, held-out cities
  • mean-difference probe, held-out cities
  • probe on shuffled labels: training sentences
  • probe on shuffled labels: held-out cities
Figure 3. Probing GPT-2 small for “is this city–country statement true?”, layer by layer, on held-out cities.Measured on GPT-2 small
Takeaway: Truth becomes partly readable from layer 3 on, peaking around layer 7, yet a probe can fit even random labels on its training data.

Three things stand out:

  • Where: at the embedding the probe is at chance (50%). From layer 3 on it mostly sits between 64% and 76%, peaking at layer 7. That’s roughly where the information gets assembled.
  • How much: 76% is far from perfect, even though the model itself prefers the true country for 55 of the 56 cities when we simply compare its predictions. A weak probe result doesn’t mean the model lacks the knowledge: it may not store “truth” as one clean direction, especially in a model this small.
  • Overfitting: the gray dashed line is a probe trained on shuffled labels. It fits 77–98% of its training sentences, using 768 dimensions to memorize 252 examples, but on held-out cities it stays near chance. Without held-out data, a probe can look like it has found a concept that isn’t there. Training on shuffled labels is a simple check against this, often called a control task.

The same idea exists outside language. Concept activation vectors (Concept activation vectorA direction in activation space representing a human-defined concept, learned from example inputs. Jump to the section →, TCAV) learn a direction for a human concept, such as “stripes”, from example images, and then measure how much that concept influences a prediction like “zebra”. Probes have also been used in vision and reinforcement learning.

You only find what you look for

The problem

A probe needs a labeled dataset, and the concept has to be defined precisely enough to label it. Building such a dataset can take a lot of human effort for a single concept, and we can only probe for concepts we already had in mind.

The proposed solution

Make the method less supervised. Contrast-consistent searchAn unsupervised probing method that finds a direction where a statement and its negation get opposite answers. Jump to the section → (CCS) doesn’t use truth labels at all. It feeds the model a statement and its negation, and looks for a direction where the two get opposite answers. Another route is to generate probing datasets automatically, with a language model.

Where it breaks

Even CCS needs datasets built from clear positive and negative cases, and automatically generated data inherits the blind spots of whatever generated it. The concept still has to be ours.

“Paris is in France.”“Paris is not in France.”probe → p⁺probe → p⁻p⁺ + p⁻ ≈ 1and both confidentsame model, same probe, no labels
Figure 4. Contrast-consistent search.
Takeaway: A statement and its negation should get opposite answers. That rule lets CCS look for a truth-like direction without labels, but it doesn't guarantee that the direction means truth.

Probes find correlation, not causation

This is the most important section of the post.

The problem

A successful probe shows that the concept can be read from the activations. It doesn’t show that the model uses that information, or even that it uses the concept at all. In the limit, a powerful enough probe just measures how much information about the concept is present.

The proposed solution

Treat the probe’s direction as a hypothesis and test it causally. Push the activations along it (SteeringAdding a direction to activations during generation to push the model’s behavior (e.g. more positive tone). Jump to the section →) and see whether behavior changes. Remove it (Concept erasureRemoving a concept’s direction from activations (e.g. INLP, LEACE) to test whether the model relies on it. Jump to the section →) and see whether behavior breaks. Use counterfactual data, where only the concept changes, and validate out of distribution to rule out spurious correlations.

Where it breaks

Causal tests need more specialized data and more compute than probing, and they come with their own side effects: a big push can knock the model off its usual range of activations.

activationdirection A: conceptdirection B: other stuffinputprobe: 99% accurate ✓rest of the modeloutput✗the model never reads direction A: decodable, but not used
Figure 5. Decodable is not the same as used.Illustrative values, not measured
Takeaway: A probe can be very accurate on a direction that the rest of the model never reads.

So let’s test a sentiment direction built from the sentences in Figure 2. Instead of the 2D probe drawn there, we use the difference between the average positive and average negative activation, in all 768 dimensions. First, steering: we add the direction to GPT-2’s residual stream at layer 6, on every token of five synthetic neutral prompts, and watch the next word. As a control, we add random directions of the same size.

more negativeno changemore positive

“I watched the film last night. Honestly, it was” → next word:

  1. “ a”12.4%
  2. “ the”7.7%
  3. “ just”5.1%
  4. “ like”4.9%
  5. “ really”4.5%
  6. “ so”4.3%

Sentiment of the next word (positive minus negative words, log-odds), averaged over 5 prompts

-40+4+8-101sentiment directionrandom directions
Figure 6. Steering GPT-2 small along the sentiment direction at layer 6, vs. eight random directions of the same length.Measured on GPT-2 small
Takeaway: Moving along the sentiment direction changes what the model says in the predicted way; random directions of the same length have a much smaller effect.

Pushing negative makes “ worse” the top next word (30%). Pushing positive brings up “ great”, “ very” and “ interesting”. The average sentiment score moves from −2.8 to +6.8, while random directions move it much less: it stays between 1.2 and 2.6, where 2.6 is the unsteered value.

Second, erasure: we remove the direction instead. GPT-2 gets eight short synthetic prompts such as “The movie was wonderful. In short, it was” (and the same with “terrible”), and we measure how strongly the next word follows the earlier sentiment. Then we project the sentiment direction out of the residual stream at layer 6, the simplest form of linear erasure that methods like INLP and LEACE do more carefully.

How strongly GPT-2 carries an earlier sentiment forward (positive minus negative context, log-odds)

  • no erasure4.04
  • erase a random direction4.01
  • erase the sentiment direction0.38

100% → 50%

accuracy of a freshly trained probe before and after removing the direction (chance is 50%)

Figure 7. Erasing the sentiment direction from layer 6 of GPT-2 small.Measured on GPT-2 small
Takeaway: Removing one direction nearly erases the model's ability to carry sentiment forward, while removing a random direction changes almost nothing. That is evidence that the model uses this direction.

The effect almost disappears: the gap between positive and negative contexts falls from 4.04 to 0.38, while erasing a random direction leaves it at 4.01. A freshly trained probe on the erased activations drops to 50%, but that part is true by construction: once the two class averages coincide, no linear probe can beat chance on the data they were computed from. It says nothing about nonlinear traces of sentiment. The behavioral result is the real evidence, and it comes with a caveat too: the eight prompts reuse adjectives and topics from the sentences that defined the direction.

The general lesson: probes generate hypotheses; interventions test them. Distributed alignment search goes one step further and learns the subspace that behaves like a causal variable under interventions.

Build concepts in from the start

The problem

Probing searches a finished model for concepts that may or may not be there, and that it may or may not use.

The proposed solution

Put the concepts into the architecture. A Concept bottleneck modelA model forced to predict human-named concepts first, then make its decision only from those concepts. Jump to the section → first predicts human-named concepts and then makes its decision only from them. The concepts are then causally relevant by construction, and you can edit one and watch the prediction change. A related idea trains for modularity, for example by masking gradients so that chosen parts of the network learn chosen things.

Where it breaks

You have to choose the concepts up front, and nobody can list every relevant concept. Forcing the decision through a narrow set of concepts can also cost accuracy.

Input: a photo of a bird (not shown)

1. The model predicts concepts

2. The label is predicted from the concepts only

  • eagle89%
  • canary8%
  • duck3%

Try it: the model thinks “eagle”. Turn “hooked beak” down and “webbed feet” up, and the answer changes for a reason you can name.

Figure 8. A toy concept bottleneck model for bird species.Illustrative values, not measured
Takeaway: When the decision can only go through named concepts, editing a concept changes the prediction in a way you can explain.

Reverse engineering vs. concept-based

Reverse engineeringConcept-based
Starting pointThe networkA concept we care about
Can find unknown concepts?YesNo, only what we look for
Needs labeled data?NoUsually
Evidence it givesMostly correlational, until validatedCorrelational (probes), causal with interventions
CostHigh (SAEs per layer, manual analysis)Low per concept
Typical toolsSAEs, transcoders, top examples, patchingProbes, CAVs, CCS, steering, erasure

The two approaches complement each other. SAEs can surface candidate concepts nobody thought of. Probes can check a specific hypothesis quickly. And both have to meet the same validation standard: a description is a hypothesis until a causal test backs it up.

The big picture

?the modelToolsattention patternslogit lens, DLAablationactivation patchingprobesSAEsReverse engineeringcomponents → rolesConcept-basedconcepts → componentsValidationcausal tests
Figure 9. Mechanistic interpretability in one picture.
Takeaway: Tools open the box, two approaches organize the search, and validation decides what we actually know.

We start with a black box and open it with a toolbox of observational and causal methods. Reverse engineering tries to cut the model into its true parts: the natural units turn out to be the wrong ones, and the learned ones are imperfect. The concept-based approach goes the other way, from concepts to components, and reading a concept isn’t the same as finding one the model uses. In both directions, the same rule holds: what we see is a hypothesis until an intervention confirms it.