Introduction
For writers, researchers, and journalists, finding the perfect quote within a vast sea of source material is a significant bottleneck. Whether working with a 50-page transcript or a series of long-form interviews, the process is inherently "high-friction." A writer often knows the specific point they wish to support but must manually hunt through source documents to find the exact phrasing that provides the necessary evidence.
Existing tools for quote recommendation are often insufficient for this general task. Some focus on identifying "generally quotable" aphorisms or proverbs from a fixed library, ignoring the specific context of the user's writing. This research introduces a context-aware Quote Recommendation (QR) system designed to recommend arbitrary spans of text from a specific source document based on the "left context"—the text the author has written leading up to the intended quote.
Methodology: QR as Open-Domain Question Answering
The authors reframe the Quote Recommendation task as a variant of Open-Domain Question Answering (Open-QA). In this framework, the "Query" consists of the title of the document being written and the immediate left context (the preceding sentences). The "Answer" is the specific span of text to be retrieved from the source document.
To solve this, the system employs a two-stage pipeline based on BERT architectures:
- Paragraph Ranking: A BERT model is fine-tuned using a listwise softmax loss to rank all paragraphs in a source document by their relevance to the query.
- Span Prediction: A second BERT model identifies the most "quotable" start and end points within the top-ranked paragraphs.
The final system utilizes late fusion to combine scores from both models. A key technical innovation is the use of "shared normalization" for span prediction, which ensures that scores are comparable across different paragraphs, allowing the system to pinpoint the single best quote within a long document.
Data and the Challenge of Subjectivity
The study utilizes the QUOTUS dataset, which contains 3,806 US Presidential speech and press conference transcripts (2009–2014) aligned with 66,364 news articles that quote them. This results in over 131,000 aligned quote-context pairs for training and evaluation.
A central finding of this research is that Quote Recommendation is fundamentally subjective. Unlike standard QA, where a single factual answer exists, multiple different quotes from a source might be equally valid for a given context. To establish a baseline, the authors conducted a pilot study with professional journalists.
As shown in the table above, even experts struggle to predict the exact paragraph or span chosen by the original author, highlighting that "correctness" in this domain is a spectrum rather than a binary.
Key Insights and Results
The BERT-based model demonstrated significant improvements over traditional information retrieval (IR) methods. It achieved a Mean Average Precision (mAP) of 53.2, substantially outperforming baselines like BM25 (39.9) and neural models like Conv-KNRM (38.9). The system placed the "correct" paragraph in the Top-5 results 68.2% of the time.
Several qualitative insights emerged from the error analysis:
- The "Nearby" Effect: When the model failed to select the exact paragraph used by the author, it frequently selected an adjacent paragraph, indicating it successfully identified the correct topical region.
- Over-prediction: Both the model and human experts tended to suggest longer spans than the original authors. This is often beneficial, as it provides the writer with more context to paraphrase or trim as needed.
- Context Sensitivity: The model's performance is sensitive to the length of the left context. While a short context (10 tokens) leads to a performance drop, the document title alone serves as a surprisingly robust baseline when text context is sparse.
Most importantly, human validation proved the system's utility. In cases where the model did not match the original author's choice, crowdsourced raters judged the model's top recommendation as "appropriate to quote" in 85% of cases.
Conclusion and Future Work
This research demonstrates that treating quote recommendation as a specialized QA task yields high-quality, relevant suggestions that can significantly reduce the friction of the writing process. Future work may explore the inclusion of "right context" (text following the quote) for editing scenarios and scaling the architecture to search across massive libraries of multiple source documents simultaneously. Additionally, incorporating explicit "quotability" features—such as sentiment or specific linguistic markers—could further refine span prediction.
Summary updated