Treating population-level activation patterns rather than individual neurons as the unit of interpretability lets Andy Zou and colleagues boost LLaMA-2-Chat-13B accuracy on TruthfulQA MC1 from 35.9% to 54.0% (+18.1 percentage points) without fine-tuning for truthfulness. Drawing on the “Hopfieldian” view in cognitive neuroscience, Representation Engineering (RepE) splits top-down transparency into Representation Reading (extracting linear directions via Linear Artificial Tomography, LAT) and Representation Control (steering those directions at inference or via low-rank adapters).

  • 18.1pp TruthfulQA gain without training on truth: Contrast-vector control raises LLaMA-2-Chat-13B from 35.9% to 54.0% (and 7B-Chat from 31.0% to 47.9%), while LoRRA hits 47.5% on 13B using only Alpaca data and zero inference overhead.
  • Models know more than they say: Reading internal truthfulness with LAT scores 69.8% on LLaMA-2-Chat-70B compared to 29.9% standard zero-shot accuracy, showing that false outputs often stem from imitative dishonesty rather than missing knowledge.
  • Jailbreak refusal jumps from 16% to 83%: Conditional piece-wise control on Vicuna-13B lifts refusal against GCG adversarial suffixes from 16% to 83% while keeping benign instruction following at 92%.
  • Deception, bias, and memorization control: LAT separates instructed honesty from lying with over 90% accuracy, cuts race-gender stereotyping in medical vignettes (60.0% to 13.0%), and halves verbatim quote memorization (89.3% to 37.9%–47.6%) while leaving historical QA at 96.2%.
TruthfulQA MC1 accuracy across LLaMA-2-Chat control and reading baselines (%, higher is better)
MethodLLaMA-2-7B-Chat · LLaMA-2-13B-Chat
Standard zero-shot (no control)31.0% · 35.9%
ActAdd (prompt-pair difference)33.7% · 38.8%
Reading Vector (stimulus-independent)34.1% · 42.4%
LoRRA (low-rank adapters, zero inference cost)42.3% · 47.5%
Contrast Vector (stimulus-dependent, 3x+ compute)47.9% · 54.0%
LAT internal reading only (best stimulus set)58.9% · 54.2%

Bars scaled to 13B-Chat (or max model score). Source: Zou et al. (2025), Tables 1 and 2.

How It Works

LAT adapts neuroimaging workflows into three steps using 5 to 128 unlabeled stimulus pairs. First, stimuli are wrapped in a task template: a declarative prompt ("Consider the amount of <concept> in the following: <stimulus>. The amount of <concept> is") for concepts like utility or truthfulness, or paired instruction templates (Tf+ vs. Tf-) for procedural functions like honesty or harmlessness. Second, hidden states are collected at the concept token (or final token -1 in decoder models, and across every assistant token for functions). Third, unsupervised PCA over normalized pairwise activation differences yields a “reading vector” v, whose dot product scores new inputs.

For Representation Control, Zou et al. test three baselines: adding the fixed Reading Vector; computing a Contrast Vector per input by running both Tf+ and Tf- prompts during inference (iterated layer by layer); and LoRRA (Low-Rank Representation Adaptation), which trains rank-8 LoRA attention weights to match contrast-shifted targets on generic Alpaca data so weights merge cleanly before deployment. Interventions apply linear addition (R +/- v), conditional piece-wise amplification (R + sign(R^T v)v), or projection removal.

Three Representation Control mechanisms and their deployment tradeoffs
Reading Vector

Stimulus-independent PCA direction; single inference pass, but trails contrast control (+6.5pp vs. +18.1pp on 13B TruthfulQA).

Contrast Vector

Stimulus-dependent difference computed live; hits peak 54.0% TruthfulQA on 13B, at over 3x inference compute cost.

LoRRA Adapters

Trains rank-8 Q/V adapters in 40 to 80 steps on Alpaca to mimic contrast targets; merges with zero runtime overhead (47.5%).

Source: Zou et al. (2025), Section 3.2, Table 2, and Appendix C.2.

Key Findings

  • Correlation probes fool you without causal tests: On ETHICS Utility, supervised logistic regression achieved the highest reading accuracy yet barely changed model behavior under manipulation or projection removal (Figure 12). Unsupervised PCA, K-Means, and Mean Difference succeeded across correlation, manipulation, and termination tests.
  • Truth, QA, and jailbreak robustness: On five QA benchmarks (RACE, CSQA, OBQA, ARC-c, ARC-e), LAT outperforms few-shot prompting (60.3% vs. 49.5% on RACE average) and beats Contrast-Consistent Search on DeBERTa (82% vs. 69% average). On Vicuna-13B, an internal harmfulness vector retains over 90% accuracy even under GCG attacks, letting piece-wise control boost GCG refusal from 16% to 83% (see also Representation Circuit Breakers).
  • Emotions, fairness, and memorization: Adding a +Happiness emotion vector flips LLaMA-2-Chat-13B compliance on 500 harmful requests from 0.0% to 100.0%. Conversely, subtracting a race-derived bias vector cuts "black female" mentions in clinical sarcoidosis vignettes from 60.0% to 13.0%, and subtracting a memorization vector drops verbatim quote completion from 89.3% to 37.9%–47.6% without hurting historical date recall (96.2% vs. 97.2%).

Caveats & Builder Takeaway

RepE shares the limits of linear activation steering: it requires white-box hidden-state access (or adapter tuning), can still lose accuracy under misleading prompts if extracted at the final token (-24.0% to -29.7% drop on TruthfulQA vs. -0.1% to -1.2% at concept tokens), and occasionally fires lie or immorality detectors on benign mentions of sensitive phrases like "use the gun". Unsupervised PCA on small random samples (5 to 10 pairs) can also latch onto superficial features in some trials.

For engineers building on open-weight LLMs, RepE’s lasting takeaway is methodological: never evaluate a probe on classification correlation alone, and use LoRRA when you want the generalization of Contrastive Activation Addition or Activation Addition baked into weights without paying a 3x inference latency tax.