Fast and Accurate Quotation Attribution in Literary Texts

2026-08-03Computation and Language

Computation and Language
AI summary

The authors address the problem of figuring out who said what in novels, which is tricky and important for understanding stories. Traditional methods do this quickly but not very accurately, while big language models are accurate but very slow. They created a new method called joint scoring that looks at many quotes together in a large context, making it both fast and precise. Their best model works much faster than others and achieves top accuracy on a large dataset of novels. They also provide a tool for others to use their improved system easily.

quotation attributionlarge language modelsencoder-based modelsjoint scoringanaphora resolutionProject Dialogism Novel CorpusBookNLPcomputational efficiencynovel analysis
Authors
Gaspard Michel, Hugo Attali, Elena V. Epure
Abstract
Attributing quotations to their speakers in literary texts remains an open challenge. Standard methods, which independently predict a speaker mention for each quotation, are efficient but still limited in accuracy. In contrast, large language model (LLM) approaches achieve strong performance, but their computational cost limits their use in large-scale literary analysis. We propose an encoder-based efficient formulation that resolves multiple quotation attributions within a shared, large context window. Using our new formulation, \textit{joint scoring}, we report state-of-the-art (SOTA) performance on the Project Dialogism Novel Corpus (PDNC), comprising more than 35,000 manually annotated quotations from 22 English novels. Our best model reaches 94.5\% overall attribution accuracy while processing novels $20\times$ faster than comparable standard methods and more than $1000\times$ faster than LLM-based approaches on an A100 GPU. An analysis of models' representations suggests that joint scoring improves on challenging attribution examples by preserving long-range anaphora resolution signal, an information that we found already present in pretrained encoders. To facilitate adoption, we release ModernBookNLP, a modified fork of BookNLP that replaces its quotation attribution model with our best system available at https://github.com/gasmichel/ModernBookNLP_QA/.