Representation Engineering: A Top-Down Approach to AI Transparency
TL;DR. Representation engineering (RepE) treats population-level directions in activation space, rather than single neurons or circuits, as the unit of analysis. Its baseline, Linear Artificial Tomography (LAT), runs the model on contrastive stimuli, collects activations, and takes a principal direction as a reading vector. The same vectors then serve to control concepts like honesty, harmlessness and power-seeking.
Key idea
Section titled “Key idea”A LAT scan has three steps (§3.1.1): design stimuli that elicit the concept (for example, instructions to answer honestly vs dishonestly); collect activations at chosen token positions and layers; fit a linear model, usually PCA on the differences of paired activations. Reading is the projection of a new activation on the vector. For control (§3.2), the paper compares adding the reading vector, adding stimulus-dependent contrast vectors, and LoRRA, which trains low-rank adapters with a loss built from contrast vectors.
Results. Used as a reader on TruthfulQA MC1, LAT lifts LLaMA-2-Chat-7B from 31.0 zero-shot to 58.9 with the best stimulus set, and 13B from 35.9 to 54.2 (§4). Using honesty control in an unsupervised way, the authors report state-of-the-art TruthfulQA, 18.1 points above zero-shot accuracy.
Connections
Section titled “Connections”- Activation addition is the single-pair version of the same control idea.
- Refusal direction uses a difference in means to find a safety-relevant direction and tests it causally.
- Linear representation hypothesis formalises when such directions exist and which inner product to use.
- CoT faithfulness asks a related honesty question at the level of reasoning traces.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Mechanism
LAT builds a reading vector by running PCA on differences of activations from paired stimuli. Why pair the stimuli and take differences before PCA, instead of running PCA on raw activations?
What a strong answer covers
- Raw activations vary mostly with topic, length and position; the first principal component would capture those, not the concept.
- Pairs that differ only in the target concept (e.g. honest vs dishonest version of the same statement) cancel the shared variation when subtracted.
- The first principal component of the differences is then the direction along which the concept varies most consistently, and needs no labels beyond the pairing.
- The paper reports that pairing works better when the two stimuli share everything except the target concept.
- Connect
Compare a RepE reading vector with the refusal-direction difference in means and with ActAdd's single contrast pair. What does each gain or lose as a control direction?
What a strong answer covers
- ActAdd uses one pair: cheap but noisy, and tied to the specific prompts.
- Difference in means over hundreds of prompts averages out prompt-specific noise and is a supervised estimate given two labelled sets.
- LAT's PCA on paired differences is unsupervised beyond the pairing and finds the dominant shared direction.
- RepE pairs fixed reading vectors with stimulus-dependent contrast vectors and a LoRA-based method, LoRRA, for control.
- Critique
LAT reading vectors raise TruthfulQA MC1 for LLaMA-2-Chat-7B from 31.0 (zero-shot) to as high as 58.9. Argue what this does and does not show about the model having an internal concept of truth, and propose a check.
What a strong answer covers
- It shows a linear direction separates true from false answer choices better than the model's own zero-shot choice, i.e. the information is decodable.
- It does not show the model uses that direction when generating; a probe-like reader can pick up correlates (e.g. plausibility or popularity).
- Check causally: steer along the direction and measure whether generated answers become more truthful, and ablate it to see if truthful answers degrade.
- Also test transfer to domains where truth and plausibility come apart.