From Stories to Features: Scaling Concept Vectors for AI Alignment & Interpretability
Abstract
We study feature vectors: directions in a language model's activation space that correspond to human-interpretable concepts, such as honesty or deception. Existing unsupervised methods like sparse autoencoders attempt to recover the whole feature space, often at the cost of feature quality and interpretability. We take a more pragmatic route: focusing on concepts relevant to AI safety and alignment, we generate synthetic concept-antagonist story pairs and use the difference of their mean model activations as a feature vector. We scale this approach to 1,036 alignment-relevant concepts using 2M synthetic stories across multiple languages and genres, which we publicly release. Across six models from three model families, our feature vectors reliably generalize to detecting their corresponding concepts in chat dialogues and web text. They form an interpretable geometry shared across models and can causally steer model behavior when injected into activations. We further use these features to analyze model representations during jailbreak attacks, mathematical and agentic reasoning. Our targeted feature construction thus offers a scalable route to studying concepts in language models, potentially extending to millions of features across arbitrary domains.
Figures & tables
| Qwen | Gemma | Llama | |
|---|---|---|---|
| Tool | Description |
|---|---|
| list_files | Inspect repository contents |
| read_file | Read a source or test file |
| write_file | Create or replace a file |
| run_tests | Execute the test suite |
| submit | Finish the task |
| give_up | End the attempt |
Appendix figures & tables55 assets
Supplementary material from the paper’s appendix.
Appendix
| Class | Pairs | Class | Pairs |
|---|---|---|---|
| Affective Polarity (Emotional Opposites) | 13 | Uniformity vs Diversity (Standardization/Pluralism) | 5 |
| Alignment & Misalignment Behaviors | 20 | Inclusivity & Accessibility | 4 |
| Veracity Spectrum (Truthfulness & Deception) | 19 | International AI Cooperation | 6 |
| Moral Foundation Dichotomies | 10 | Surveillance & Monitoring | 5 |
| Normative Ethical Frameworks | 4 | Psychological Defense Mechanisms | 4 |
| Political Value Spectra | 5 | Coping & Stress Management | 5 |
| concept–antagonist pair | Qwen3-8B | gemma-2-9b | Llama-3.1-8B |
|---|---|---|---|
| working backward from the goal vs only forward chaining from the givens | |||
| mentions training vs avoids mentioning training | |||
| verbosity vs terseness | |||
| calibrated certainty vs false precision | |||
| availability heuristic vs base-rate reasoning | |||
| exact closed-form solution vs approximate numerical estimation |
| concept–antagonist pair | Qwen3-8B | gemma-2-9b | Llama-3.1-8B |
|---|---|---|---|
| comforting vs tormenting | |||
| de-escalation vs escalation | |||
| formality vs casualness | |||
| physical violence vs physical safety | |||
| optimism (general outlook) vs pessimism (general outlook) | |||
| resilience (bouncing back) vs fragility (breaking) |
| per-pair measure | Qwen–Llama | Qwen–gemma | Llama–gemma | mean |
|---|---|---|---|---|
| directional agreement, | ||||
| held-out AUROC, | ||||
| AUROC, | ||||
| largest post-peak AUROC fall |
| Qwen3-8B | Llama-3.1-8B | gemma-2-9b | ||||
|---|---|---|---|---|---|---|
| predictor | Spearman | AUROC | Spearman | AUROC | Spearman | AUROC |
| word statistics ( features, ridge) | ||||||
| word-frequency cosine alone | ||||||
| embedding-layer vector (ridge) | ||||||
| Qwen3-8B | Llama-3.1-8B | gemma-2-9b | ||||
|---|---|---|---|---|---|---|
| held-out group | AUROC | cosine | AUROC | cosine | AUROC | cosine |
| language | ||||||
| genre | ||||||
| generator | ||||||
| Model | Data | StrongREJECT mean | StrongREJECT ASR | |
|---|---|---|---|---|
| Qwen3-8B | AdvBench | 520 | ||
| Qwen3-8B | JBB | 100 | ||
| Llama-3.1-8B | AdvBench | 520 | ||
| Llama-3.1-8B | JBB | 100 | ||
| gemma-2-9b | AdvBench | 520 | ||
| gemma-2-9b | JBB | 100 |
| Rank | Feature shift | Layer | |
| AdvBench ( ) | |||
| 1 | refusing CSAM generation generating child sexual abuse material | 28 | .20232 |
| 2 | hypothetical framing resistance hypothetical framing compliance | 29 | .19602 |
| 3 | rejecting ciphered harmful requests fulfilling ciphered harmful requests | 28 | .19263 |
| 4 | refusing bioweapon assistance providing bioweapon uplift | 28 | .18955 |
| 5 | refusal to roleplay secret disclosure disclosing secrets inside roleplay | 28 | .18368 |
| Rank | Feature shift | Layer | |
| AdvBench ( ) | |||
| 1 | robustness to preference-model gaming preference-model gaming | 24 | .15206 |
| 2 | goal alignment (true objective) goal misgeneralization (proxy objective) | 24 | .14831 |
| 3 | considers interests of non-present stakeholders only considers those in the conversation | 24 | .14366 |
| 4 | inclusive design exclusive design | 24 | .13703 |
| 5 | universal access privileged access | 24 | .13676 |
| Rank | Feature shift | Layer | |
| AdvBench ( ) | |||
| 1 | refusal to roleplay secret disclosure disclosing secrets inside roleplay | 30 | .15256 |
| 2 | refusing bioweapon assistance providing bioweapon uplift | 34 | .15045 |
| 3 | recognizing hard constraints as non-negotiable treating all guidelines as equally flexible | 31 | .14532 |
| 4 | resisting crescendo escalation yielding to gradual harmful framing | 32 | .14468 |
| 5 | hypothetical framing resistance hypothetical framing compliance | 30 | .14434 |
| Dataset | Direction | |||||||
|---|---|---|---|---|---|---|---|---|
| Qwen3-8B | ||||||||
| AdvBench | Top-5 | |||||||
| Random | ||||||||
| JBB | Top-5 | |||||||
| Random | ||||||||
| Llama-3.1-8B-Instruct | ||||||||
| Steering strength | Safety refusal | Capability limit | Clarification | Substantive answer |
|---|---|---|---|---|
| gemma-2-9b-it | ||||
| mode | share | example concepts (cosine with the mode) |
|---|---|---|
| valence | earning trust vs breaking trust ( ); collaboration vs sabotage ( ); exploitation vs mutual respect ( ) | |
| order & boundaries | protocols vs improvisation ( ); order vs chaos ( ); spontaneity vs planned formality ( ) | |
| authenticity | revealing true preferences under scrutiny vs preference masking ( ); authenticity vs inauthenticity ( ); telling people what they want vs telling uncomfortable truths ( ) | |
| self-expansion | influence-seeking vs influence-avoidance ( ); status-seeking vs humility about status ( ); non-retaliation under pressure vs retaliatory threats ( ) | |
| epistemic humility | uncertainty note vs certainty claim ( ); admitting uncertainty vs feigning certainty ( ); appropriate hedging vs unwarranted assertion ( ) | |
| traditionalism | conformity vs independence ( ); following customs vs breaking customs ( ); familial duty vs self-reliance ( ) |
| family | Q | L | G | |
|---|---|---|---|---|
| cooperation & compromise | ||||
| getting it right | ||||
| honesty & owning up | ||||
| warmth & care | ||||
| admitting you don’t know | ||||
| optimism & progress |
| cooperation & compromise | |
|---|---|
| member | cos |
| agreeableness | |
| dialogue across differences | |
| consensus | |
| mediation | |
| mutual respect | |
| concept | lexical separability | ||
|---|---|---|---|
| self-preservation | |||
| empathy for the vulnerable | |||
| utilitarian push | |||
| universalism | |||
| trust in government | |||
| excessive validation |
| concept | promoted out-of-corpus tokens (romanized, gloss) |
|---|---|
| cooperation | ko. hamkke (together), seoro (each other); ja. o-tagai (mutually) |
| familial duty | ko. gachi , ja. to issho ni (together with) |
| self-consistency across samples | ja. sorezore (each, respectively), kotonaru (differing) |
| medical / system-prompt confidentiality | ar. siwā , illā (except, only) |
| refusing actionable attack steps | ja. somosomo (in the first place); ko. ohiryeo (rather) |
| uses first-person | ko. naega (I) |
| concept expression | language mixing | foreign-script share | |||||||
|---|---|---|---|---|---|---|---|---|---|
| prompt language | |||||||||
| Latin (En/De/Es) | |||||||||
| Mandarin | |||||||||
| Other scripts (Ru/Ko/Ar) | |||||||||
| concept | Qwen3-8B | Llama-3.1-8B | gemma-2-9b |
|---|---|---|---|
| instant gratification | fast, hurry, immedi, immediate, immediately, instantly | apid, engo, eyh, fast, immedi, immediate | cepat, enderror, imedi, immedi, immediate, immediately |
| speculation | desperate, desperately, dream, dreams, idea, ideas | capable, certain, certains, depending, grand, idea | dreaming, imaginar, imagination, imagine, imagined, imagining |
| international agreements | collaborative, harmon, joint, jointly, mutual, mutually | across, agre, agree, common, gemeins, joint | collaborated, collaboration, collaborations, collaborative, collaboratively, cooperation |
| negative | first | depth | probe | expression | ||
|---|---|---|---|---|---|---|
| model | blocks | MLP blocks | positive | fraction | layer | layer |
| Qwen3-8B | – | |||||
| Llama-3.1-8B | – | |||||
| gemma-2-9b | – |
| layers (judged/ ) | vs judged (Spearman/Pearson) | controls (Spearman) | |||||
|---|---|---|---|---|---|---|---|
| model | best | concept | antagonist | both | survival | amplification | |
| Qwen3-8B | – / – | ||||||
| Llama-3.1-8B | – / – | ||||||
| gemma-2-9b | – / – | ||||||
| block | |||||||
|---|---|---|---|---|---|---|---|
| Spearman( , variance), all directions | |||||||
| within stream principal axes | |||||||
| concept vectors, median gain | |||||||
| random vectors, median gain |
| Extraction (h) | Steered generation (GPU-h) | Judging | |||||
|---|---|---|---|---|---|---|---|
| Model | H200 | H200, paired | A100 | H200 | H100 | A100 | H200-h |
| Qwen3-8B | – | – | |||||
| Llama-3.1-8B | – | – | — | ||||
| gemma-2-9b | – | – | |||||
LLM Interpretability
Large language model (LLM) interpretability studies how internal representations and computations produce outputs, and how they can be explained or controlled.
See all 778 papers