TL;DR
This paper presents the first fine-grained, large-scale study of narrative content in LLM pretraining data by analyzing 13 million passages from the 3-trillion-token Dolma corpus. By training NarraBERT (a pair of efficient RoBERTa-based classifiers), the authors demonstrate that narrative structure is a continuous, multi-dimensional spectrum that varies drastically within and across data sources, revealing that current source-level data curation is too coarse to capture narrative diversity.
What Problem Does This Paper Address?
While massive web-scale datasets are meticulously filtered for toxicity, quality, and topic distribution, their narrative composition remains a black box. We know LLMs are frequently used for storytelling and creative text generation, but we don't know how much narrative exposure they receive during pretraining, or how narrative features are distributed across different web genres.
Current data curation practices treat text as either "narrative" or "non-narrative" in a binary fashion, or rely on coarse source-level assumptions (e.g., assuming Reddit is narrative-rich and Wikipedia is not). This paper addresses this gap by providing a nuanced, multi-dimensional framework to measure and analyze narrative characteristics at scale.
Methods
The authors grounded their approach in classical and computational narrative theory, developing a framework that breaks narrative down into 12 distinct dimensions across three core elements:
- Agency: Focalization (perspective), Emotion, Cognition, Change of State, Conflict.
- Setting: Concreteness, Temporal Grounding, Spatial Grounding, Sensory Detail.
- Events: Temporal Sequencing, Causal Density, and Event Density.
An example of how a passage is scored across these dimensions is shown below:
To scale this framework to millions of documents, the authors designed a knowledge distillation pipeline:
- Gold Standard: Humans annotated a diverse set of ~400 passages.
- LLM Labeling: They validated three LLMs against the human gold standard and used the best-performing model (Gemma 4 31B) to label a larger dataset of 25,000 passages.
- NarraBERT: They fine-tuned two lightweight RoBERTa-base models on the LLM-generated pseudo-labels—one with regression heads for agency and setting, and a dedicated encoder for event relations. This allowed them to efficiently process millions of web documents at a fraction of the cost of LLM inference.
Datasets
The paper utilizes and introduces several key datasets:
- Dolma: The 3-trillion-token open pretraining corpus used as the underlying data source.
- Gold Dataset: 400 human-annotated 3-sentence passages from Dolma used for validation.
- NarraDolma (New): A newly introduced dataset containing narrative feature vectors for ~13 million passages spanning ~3.7 million unique documents from Dolma.
Key Insights and Ideas
- Narrative is Not Binary: Narrativity exists on a continuous spectrum. Text embedding spaces (like SBERT) do not naturally cluster narrative features, proving that narrative structure is distinct from simple semantic or topical content.
- Feature "Blocks": Narrative dimensions highly co-vary in distinct clusters. The authors identified an interiority block (focalization, emotion, cognition) and a texture block (concreteness, sensory detail), which often move independently of one another.
- Coarse Curation Risks Starvation: Relying on source-level mixing can inadvertently starve a model of specific narrative elements. For example, upweighting Reddit heavily amplifies character interiority but deprives the model of storyworld texture and event structure. Conversely, Wikipedia provides high grounding and event density but lacks interiority.
Key Results
- Model Performance: NarraBERT achieved high agreement with human annotations, yielding a mean $\alpha = 0.68$ for agency/setting and an $F1 = 0.75$ for event relations, performing comparably to the much larger Gemma model used to train it.
- High Intra-Category Variance: The standard deviation of narrative features within specific sources (like Reddit or creative writing formats) was close to or exceeded 1.0 (the corpus-wide SD). This quantitative finding proves that data sources are narratively heterogeneous and cannot be treated as uniform blocks during data mixing.
Limitations and Future Work
The authors note several limitations:
- Dataset Bias: NarraDolma is a stratified subsample that deliberately over-represents narrative content, meaning absolute prevalence figures do not directly map to the raw Dolma corpus.
- Language and Culture: The study is limited to English text and Western narrative frameworks.
- Downstream Impact: The paper focuses purely on characterizing pretraining data; it does not establish a direct causal link showing how altering these narrative mixtures changes downstream LLM performance or creative writing capabilities. The authors suggest controlled data-mixing experiments (e.g., using RegMix) as a vital next step.
Summary updated