Abstract
In fields like open-domain question answering or fact-checking, retrieval models typically succeed by identifying lexical overlap between a query and a document. However, literary scholarship often relies on conceptual, metaphorical, or ironic links that lack shared keywords. We introduce RELiC (Retrieving Evidence for Literary Claims), a large-scale dataset of 78,000 literary quotations paired with scholarly analysis. Our experiments show that while modern dense retrievers significantly outperform traditional keyword-matching baselines, they still struggle to match human expertise in navigating the deep linguistic structures of literary discourse.
Introduction: The Challenge of Literary Retrieval
Traditional Information Retrieval (IR) systems are designed to find documents that share words with a query. While effective for fact-finding, this approach fails in the humanities. A scholar might claim a character is "suffering from existential dread" and support this by quoting a passage describing a rainy windowpane. There is no lexical overlap; the connection is entirely interpretive.
To address this, the authors formalize the task of literary evidence retrieval: given a snippet of scholarly analysis with a masked quotation, a model must identify the exact missing passage from thousands of candidates within the original literary work. This task requires models to move beyond surface-level similarity toward a deeper understanding of metaphor, irony, and narrative context.
The RELiC Dataset
The RELiC dataset consists of 78,574 examples derived from 79 iconic English-language works, including novels, plays, and essays by authors ranging from Jane Austen to Aldous Huxley. These primary sources were paired with secondary scholarly articles from the HathiTrust Digital Library that quote these works.
The scale of the task is significant. For a long novel like War and Peace, a model must select the correct quotation from a pool of over 32,000 candidate passages. This high-cardinality retrieval environment tests the limits of current NLP architectures.
Methodology: Dense Retrieval and Contrastive Learning
The researchers developed a retrieval system called dense-RELiC, utilizing a dual-encoder architecture based on RoBERTa. The system consists of two primary components:
- Context Encoder: This module processes the scholarly analysis (the "claim") surrounding the missing quotation.
- Quotation Encoder: This module processes candidate sentences from the primary literary work.
The model is trained using a contrastive objective with in-batch negative sampling. The goal is to project both the claim and the correct quotation into a shared vector space where their mathematical distance is minimized.
By pushing incorrect quotations (negative samples) further away in the embedding space, the model learns to associate abstract scholarly descriptions with the specific literary evidence they describe, even in the absence of shared keywords.
Experimental Results
The study compared dense-RELiC against standard IR baselines like BM25 (which relies on term frequency) and state-of-the-art pretrained models like DPR and ColBERT.
- Retrieval Performance: The fine-tuned dense-RELiC model achieved a Recall@1 of 9.4%. While this figure appears low in isolation, it represents a 7x improvement over the BM25 baseline (1.3%).
- The Human-Machine Gap: To better understand model performance, researchers conducted a "proxy task" where the model and human experts had to choose the correct quote from only three options. Human experts achieved an accuracy of 93.5%, whereas the best-performing model reached only 67.5%.
- Zero-Shot Limitations: Pretrained models that dominate standard NLP leaderboards (e.g., REALM) performed poorly on RELiC without fine-tuning. This suggests that literary retrieval is a distinct challenge that requires domain-specific training.
Analysis: The Lexical Trap and Contextual Nuance
The analysis revealed several key insights into why literary retrieval is so difficult for current AI:
The "Lexical Trap"
Traditional models like BM25 are easily misled by string overlap. If a scholarly critique uses a specific word that appears in a wrong part of the book, the model will confidently retrieve that incorrect passage. Dense retrievers are less susceptible to this but still lack the "world knowledge" humans use to disambiguate similar-sounding scenes.
The Importance of Context
Model performance improves significantly as more surrounding scholarly analysis is provided. For instance, using four sentences of context instead of one leads to better retrieval. Interestingly, for zero-shot models, more context actually degrades performance, as the additional words introduce "noise" that the model cannot distinguish from relevant signals.
Directional Bias
Models are generally better at utilizing preceding context (the analysis leading up to a quote) than subsequent context. This reflects the typical structure of scholarly writing, where claims are often established before the evidence is presented.
Conclusion and Future Work
RELiC highlights a significant reasoning gap in modern NLP. Current models treat candidate quotations as isolated snippets, ignoring the broader plot, character arcs, and discourse structure of the novel.
Future research should focus on developing contextualized embeddings that integrate broader narrative awareness into candidate representations. Additionally, these retrievers could be integrated into tools for humanities researchers to help them discover new connections across vast libraries of literature.
Summary updated