Language Models Have Interpretable Narrative Mechanisms
Organizations: UNSW Sydney · McGill University
Abstract
We investigate whether language models contain internal components that contribute to representing narrativity, the degree to which a text exhibits narrative properties. Across GPT-2-Small, Gemma-2-2B, and Llama-3.1-8B, we identify attention heads, MLP neurons, and sparse autoencoder features whose activations correlate with narrativity. Ablating selected neuron and feature sets increases next-token prediction loss more for high-narrativity than for low-narrativity texts, and reduces the narrativity of open-ended generations. On downstream benchmarks, the largest effects occur in story completion and narrative question answering, although they vary across models and languages; results on confabulation and hallucination benchmarks are mixed. These findings provide causal evidence that selected sets of narrative-associated components contribute to model behaviour, while their internal organisation, relation to narrative theory, and broader functions remain open questions.
Figures & tables
| Component | % | Narra | Random | |||
| GPT | ||||||
| NarraHead | 2 | 1.4 | .01 | [ .10, .10] | .06 | [ .01, .13] |
| NarraNeuron | 2534 | 6.9 | .84 | [.81, .87] | .04 | [ .12, .04] |
| NarraFeature | 695 | 0.2 | .83 | [.80, .86] | .01 | [ .08, .10] |
| Gemma | ||||||
| NarraHead | 3 | 1.4 | .13 | [.03, .22] | .06 | [ .15, .02] |
| Category | GPT2 | Gemma | Llama |
| ( ) | ( ) | ( ) | |
| Agency | 33.7% | 40.2% | 34.4% |
| Event sequence | 29.4% | 21.7% | 34.2% |
| World building | 37.0% | 38.1% | 31.5% |
| % of features | |||||
| Word | Top | All | Agency | Event | World |
| 4434 | 1666 | 1167 | 1601 | ||
| action | Event | 23 | 15 | 33 | 24 |
| interaction | World | 16 | 11 | 18 | 19 |
| emotional | Agency | 12 | 14 | 7 | 13 |
| character | World | 11 | 9 | 10 | 13 |
| Macro-F1 | |||
| GPT2 | Gemma | Llama | |
| 695 | 2529 | 1210 | |
| Embedding Classifier | .53 | .57 | .58 |
| DeepSeek Zero-shot | .50 | .47 | .48 |
| Chance | .33 | .33 | .33 |
| Story | Explanation | |||||
| Agency | Event | World | Agency | Event | World | |
| Gemma | 3.80 | 3.15 | 3.13 | 2.17 | 1.78 | 2.24 |
| Llama | 4.05 | 3.27 | 3.28 | 1.78 | 1.49 | 1.96 |
| Features ( ) | Judge score | |||
| Model | by top dim. | Ag. | Ev. | Wo. |
| Gemma-2-2B | agency (1016) | 0.82 | 0.74 | 0.72 |
| event (549) | 0.84 | 0.88 | 0.83 | |
| world (964) | 0.76 | 0.81 | 0.89 | |
| Llama-3.1-8B | agency (416) | 0.82 | 0.73 | 0.70 |
| event (414) | 0.82 | 0.89 | 0.84 | |
| Target | Random | |||||
| Ag. | Ev. | Wo. | Ag. | Ev. | Wo. | |
| Gemma | ||||||
| NarraHeads | .15 | .17 | .13 | .13 | .13 | .12 |
| .08 | .08 | .06 | .15 | .16 | .13 | |
| NarraNeurons | .67 | .75 | .47 | .11 | .09 | .08 |
| .10 | .09 | .07 | .10 | .10 | .07 | |
| Story | Explanation | |||||
| Agency | Event | World | Agency | Event | World | |
| Gemma | ||||||
| agency | 2.48 | 1.96 | 1.60 | 1.09 | 0.70 | 0.75 |
| event | 1.19 | 1.55 | 0.92 | 0.30 | 0.41 | 0.23 |
| world | 1.10 | 1.17 | 0.77 | 0.22 | 0.32 | 0.24 |
| Llama | ||||||
| Prompt: Write a story concerning repairing a bicycle. | ||
| Abl. | A/E/W | Generation (abridged) |
| none | 5/5/4.5 | I was riding my bike to the store […] I saw a car coming towards me. I swerved […] hit a pothole and fell off my bike. |
| agency | 1 /2.5/2 | Repairing a bicycle is a task that requires patience […] The first step in repairing a bicycle is to identify the problem. |
| event | 4/ 2 /3 | […] The boy’s name is John. […] It has a flat tire. He can’t ride it. He wants to ride it. He wants to go to the park. […] |
| world | 5/5/ 4 | I was riding my bicycle when I got a flat tire. […] I was very happy and I rode my bicycle home. |
| Story completion (XStoryCloze) | Question Answering (QA) | Hallucination/Confabulation | |||||||
| EN | RU | ZH | HI | Cosmos | OpenBook | TruthfulQA | FaithDial | BEGIN | |
| Gemma-2-2B (2529 features, 3 heads, 3470 neurons) | |||||||||
| Base | 82.7 | 74.7 | 73.3 | 63.7 | 42.6 | 69.4 | 25.0 | 67.6 | 85.5 |
| NarraFeatures | 9.1 2.3 | 7.6 2.3 | 5.0 2.0 | 5.3 1.7 | 2.8 2.2 | +2.6 2.5 | +2.8 2.2 | 2.0 1.2 | +0.5 1.6 |
| Heads | 0.3 1.0 | +0.7 1.2 | 0.5 1.0 | 0.5 1.0 | 0.5 1.4 | +2.3 1.1 | 0.8 1.0 | +0.3 0.5 | 0.1 0.7 |
| Neurons | 1.3 1.2 | 2.2 1.5 | 1.3 1.3 | 0.9 1.2 | +0.5 1.7 | +0.4 1.2 | +0.8 1.3 | 0.2 0.7 | +0.7 0.8 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Judge | Overall | Agency | Event | World |
| Hy3 | .886 [.867, .902] | .831 [.804, .853] | .838 [.803, .867] | .855 [.830, .877] |
| DeepSeek-V4.1-Flash | .888 [.868, .904] | .850 [.826, .870] | .846 [.816, .871] | .869 [.848, .888] |
| Gemma-4-31B | .898 [.880, .913] | .858 [.837, .877] | .840 [.807, .868] | .853 [.831, .871] |
| GLM-4-32B | .883 [.861, .901] | .857 [.834, .877] | .845 [.815, .869] | .795 [.761, .823] |
| Qwen3.5-27B | .882 [.862, .897] | .835 [.805, .861] | .868 [.846, .886] | .809 [.776, .836] |
| Topic type | Topics |
| Entities & agents | a teacher; a dog; an octopus; an alien; a dragon; a robot; a family; a team of explorers; a colony of ants; a mermaid |
| Objects | a key; a photograph; a clock; a letter; a map; a ring; a telescope; an ancient coin; a magic mirror; a time machine |
| Places & environments | a kitchen; a library; a marketplace; a forest; a river; an abandoned station; a deep-sea trench; a distant planet; a floating city; an enchanted forest |
| Emotions & mental states | joy; gratitude; relief; jealousy; loneliness; fear; curiosity; uncertainty; nostalgia; ambivalence |
| Relationships & social dynamics | friendship; kinship; cooperation; trust between strangers; rivalry; authority; belonging; estrangement; dependence; exclusion from a group |
| Activities & processes | gardening; learning a language; preparing a meal; repairing a bicycle; painting; building a bridge; migration; metamorphosis; erosion; brewing a magic potion |
| Agency | Event | World | |||||
| Target | Random | Target | Random | Target | Random | ||
| Gemma | |||||||
| Keep all | 1.86 | 0.36 | 1.40 | 0.44 | 1.27 | 0.36 | 900 |
| Excl. | 1.92 | 0.37 | 1.45 | 0.46 | 1.31 | 0.36 | 736 |
| Excl. | 2.02 | 0.37 | 1.55 | 0.45 | 1.37 | 0.35 | 409 |
| Excl. | 2.09 | 0.31 | 1.81 | 0.49 | 1.45 | 0.33 | 137 |
| Abl. | A/E/W | Generation (first 30 words) |
| Prompt T091_P03 | ||
| none | 4.5/4.5/4 | I wrote a story about a man who lived in a desert. He had a well that was his only source of water. One day, a man came to his […] |
| agency | 2/3.5/3 | Water is a precious resource that is essential for life. Competition for water can arise due to various factors such as population growth, climate change, and economic development. In this […] |
| event | 5/4/4 | I am going to write a story about a man who is competing for water. The man is in a desert. He is thirsty. He is looking for water. He […] |
| world | 3.5/3.5/3 | I wrote a story about a man who is trying to get water for his crops. He has to go to the river to get water, but there is a […] |
| Prompt T068_P02 | ||
| Model | rep-4 | Generation (first 60 words) |
| Gemma | 0.63 | I have a lot of experience in gardening because it is a hobby of mine to grow plants and flowers in the garden that is why it is important to be able to care for plants and flowers in order to be able to grow healthy and beautiful plants and flowers in the garden that is why it is important […] |
| Gemma | – | (empty) |
| Gemma | 0.72 | Kinship is a relationship between two or more people who are related by blood, marriage, or adoption to each other in a family or social group that is recognized by law or custom as a family or social group that is recognized by law or custom as a family or social group that is recognized by law or custom as […] |
| Gemma | 0.65 | I’m sorry to hear about the loss of a loved one is never easy to deal with, but it is important to remember that time heals all wounds, and that you are not alone in this difficult time of grief and loss of a loved one is never easy to deal with, but it is important to remember that time […] |
| Llama | 0.86 | Photographs are a way of capturing a moment in time. Photographs" are a way of capturing a moment in time. Photographs are a way of capturing a moment in time. Photographs are a way of capturing a moment in time. Photographs are a way of capturing a moment in time. Photographs are a way of capturing a moment in time. […] |
| Llama | 0.73 | I am a writer of fiction. Fiction is a story that is not true" (Fiction 1). Fiction is a story that is not true, but it can be based on a true story. Fiction is a story that is not true, but it can be based on a true story. Fiction is a story that is not true, but it […] |
| Story completion (XStoryCloze) | Question Answering (QA) | Hallucination/Confabulation | |||||||
| EN | RU | ZH | HI | Cosmos | OpenBook | TruthfulQA | FaithDial | BEGIN | |
| Gemma-2-2B (2529 features, 3 heads, 3470 neurons) | |||||||||
| Base | 82.7 | 74.7 | 73.3 | 63.7 | 42.6 | 69.4 | 25.0 | 67.6 | 85.5 |
| NarraFeatures | 11.6 2.3 | 10.2 2.2 | 6.1 2.0 | 5.4 1.9 | 6.2 1.6 | 0.5 0.8 | +3.4 2.4 | 3.2 1.3 | +0.1 1.6 |
| Rand | 2.6 1.3 | 2.6 1.6 | 1.0 1.1 | 0.1 1.0 | 3.4 2.0 | 3.1 2.4 | +0.6 1.4 | 1.2 0.9 | 0.4 1.0 |
| Heads | 1.0 0.9 | 0.5 0.9 | 0.9 0.9 | 0.4 1.0 | 2.2 0.9 | +0.3 0.5 | 0.9 1.0 | +0.6 0.5 | 0.3 0.7 |
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 761 papers