Search papers, labs, and topics across Lattice.
This paper introduces a two-pronged pipeline combining bottom-up stylometric analysis with top-down LLM-driven register analysis to detect biblical allusions in literary fiction, specifically the works of Cormac McCarthy. The pipeline identifies allusions based on textual echoes, distinguishing them from explicit biblical references, and cross-validates findings using a long-context model and existing scholarship. The system achieves 54% recall on a set of previously documented allusions, demonstrating the potential of LLMs to enhance stylometric analysis and facilitate large-scale intertextuality studies.
LLMs can independently rediscover over half of previously documented biblical allusions in modern fiction, opening new avenues for computational literary analysis.
We present a dual-track pipeline for detecting biblical allusions in literary fiction and apply it to the novels of Cormac McCarthy. A bottom-up embedding track uses inverse document frequency to identify rare vocabulary shared with the King James Bible, embeds occurrences in their local context for sense disambiguation, and passes candidate passage pairs through cascaded LLM review. A top-down register track asks an LLM to read McCarthy's prose undirected to any specific biblical passage for comparison, catching allusions not distinguished by word or phrase rarity. Both tracks are cross-validated by a long-context model that holds entire novels alongside the KJV in a single pass, and every finding is checked against published scholarship. Restricting attention to allusions that carry a textual echo--shared phrasing, reworked vocabulary, or transplanted cadence--and distinguishing literary allusions proper from signposted biblical references (similes naming biblical figures, characters overtly citing scripture), the pipeline surfaces 349 allusions across the corpus. Among a target set of 115 previously documented allusions retrieved through human review of the academic literature, the pipeline independently recovers 62 (54% recall), with recall varying by connection type from 30% (transformed imagery) to 80% (register collisions). We contextualise these results with respect to the value-add from LLMs as assistants to mechanical stylometric analyses, and their potential to facilitate the statistical study of intertextuality in massive literary corpora.