TL;DR
Researchers have developed a scalable method to map the "internal mind" of Large Language Models (LLMs) by using LLMs themselves to write over 2 million synthetic stories. By comparing model activations on stories featuring a concept (like "honesty") versus its opposite ("deception"), they extracted 1,036 high-fidelity "feature vectors" that can be used to detect and even steer model behavior across different languages and tasks.
What Problem Does This Paper Address?
The "linear representation hypothesis" suggests that LLMs encode human concepts as specific directions in their internal activation space. Finding these directions is crucial for AI Interpretability (understanding why a model says what it does) and AI Alignment (ensuring models stay safe and honest).
Current approaches fall into two camps:
- Unsupervised (e.g., Sparse Autoencoders/SAEs): These try to find every possible feature at once. While comprehensive, they often produce "noisy" features that are hard to interpret or don't work well for controlling the model.
- Supervised (Difference-in-means): Researchers manually collect examples of a concept and its opposite to find the direction between them. This produces high-quality, "steerable" vectors but is impossible to scale manually to thousands of concepts.
This paper bridges the gap by using synthetic data generation to scale the high-quality supervised approach to a "dictionary-level" breadth.
Methods
The authors introduce a pipeline to extract feature vectors using synthetic contrastive pairs:
- Narrative Guidance: A human provides a single sentence describing a dichotomy (e.g., Fairness vs. Cheating).
- Story Generation: An LLM generates thousands of matched pairs of stories. In each pair, the setup, characters, and genre are identical, but one story expresses the "concept" and the other expresses the "antagonist."
- Vector Extraction: They pass these stories through a target model and calculate the difference between the mean activations of the concept stories and the antagonist stories.
The researchers tested this across five languages and ten genres to ensure the vectors captured the meaning of the concept rather than just specific words or styles. They also explored different prompt formats to ensure the vectors were robust to how the text was presented to the model.
Datasets
- Feature Stories (New): A massive new dataset of 2,072,000 synthetic narratives covering 1,036 concept pairs across 148 classes (e.g., Moral Foundations, Big Five traits, AI safety behaviors).
- LMSYS-Chat-1M & OpenWebText: Used to validate that vectors extracted from synthetic stories can find the same concepts in real-world human-AI dialogues and web text.
- AdvBench & JailbreakBench: Used to test if these vectors can detect and block adversarial "jailbreak" attacks.
- GPQA & MATH-500: Used to analyze the internal "thinking" process of models during complex reasoning.
Key Insights and Ideas
- The "Pair" is the Atomic Unit: You can't define "honesty" in a vacuum. By defining it specifically against "deception," the resulting vector is much more precise and less likely to be polluted by unrelated emotions or topics.
- Cross-Model Universality: Surprisingly, different model families (Qwen, Llama, Gemma) seem to share a similar "conceptual geometry." A vector for "honesty" in one model points in a direction that is semantically similar to the "honesty" direction in another.
- Generalization from Fiction to Reality: Even though the vectors are "trained" on fictional stories, they are highly effective at picking up those same concepts in real-world technical documents or casual chats.
- Steering is Causal: These aren't just passive markers. By "injecting" these vectors back into the model's activations, researchers can causally force the model to change its behavior—for example, making a model more helpful or preventing it from following a harmful instruction.
Key Results
- High Fidelity: The vectors achieved near-perfect classification (AUROC > 0.99) on held-out synthetic data and successfully identified concepts in real-world datasets.
- Effective Steering: In safety tests, steering the model against "dangerous" directions identified by the pipeline reduced the success rate of GCG jailbreak attacks from 52.7% to 7.9% for Qwen3-8B, without breaking the model's ability to answer normal questions.
- Reasoning Analysis: The authors found that when a model is about to give a wrong answer in a math problem, its internal "uncertainty" features spike long before the mistake is actually written out.
Limitations and Future Work
- Evidence vs. Proof: The authors warn that a high "probe" score is evidence that a concept is present, but it doesn't prove that specific neurons are dedicated solely to that concept.
- Scaling Costs: While $500 for 2 million stories is cheap compared to human labor, scaling to millions of features would still require significant compute.
- Dictionary Breadth: While 1,036 features is a major step up, it is still a tiny fraction of the total "feature space" an LLM likely possesses. Future work may involve more automated ways to discover which concept pairs are worth generating stories for in the first place.
Summary updated