[2310.06824] The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasets
Abstract:Large Language Models (LLMs) have impressive capabilities, but are prone to outputting falsehoods. Recent work has developed techniques for inferring whether a LLM is telling the truth by training probes on the LLM's internal activations. However, this line of work is controversial, with some authors pointing out failures of these probes to generalize in basic ways, among other conceptual issues. In this work, we use high-quality datasets of simple true/false statements to study in detail the structure of LLM representations of truth, drawing on three lines of evidence: 1. Visualizations of LLM true/false statement representations, which reveal clear linear structure. 2. Transfer experiments in which probes trained on one dataset generalize to different datasets. 3. Causal evidence obtained by surgically intervening in a LLM's forward pass, causing it to treat false statements as true and vice versa. Overall, we present evidence that at sufficient scale, LLMs linearly represent the truth or falsehood of factual statements. We also show that simple difference-in-mean probes generalize as well as other probing techniques while identifying directions which are more causally implicated in model outputs.
Published as a conference paper at COLM 2024 The Geometry of Truth: Emergent Linear Structure in LLM Representations of True/False Datasets Samuel Marks Max Tegmark Northeastern University MIT s.marks@northeastern.edu…
related reading
- How well do truth probes generalise? — LessWronglesswrong.com
- Chapter 1: Transformer Interpretability - ARENAlearn.arena.education
- The Linear Representation Hypothesis and the Geometry of Large Language Modelsarxiv.org
- Large Language Model: world models or surface statistics?thegradient.pub
- Structure and Interpretation of Deep Networkssidn.baulab.info
- Believe It or Not: How Deeply do LLMs Believe Implanted Facts?alignment.anthropic.com
- 2212.03827arxiv.org
- truthfulQA_lin_evans.pdfowainevans.github.io
- [2603.07267] How to Steal Reasoning Without Reasoning Tracesarxiv.org
- [2503.03750] The MASK Benchmark: Disentangling Honesty From Accuracy in AI Systemsarxiv.org
- Large Language Models Must Be Taught to Know What They Don't Knowarxiv.org
- [2607.05316] How Much is Left? LLMs Linearly Encode Their Remaining Output Lengtharxiv.org