Learning Word-Level Explanations of Text Reuse in Latin Literature with Little Annotation

Julian Schelb, Michael Wittweiler, Marie RevellioarXiv 2026 · arXiv

TL;DR

This paper introduces a "stretch-and-link pointer" network that provides word-level explanations of how Latin authors reworked source texts, identifying operations like copying, inflection, and substitution. By combining synthetic training data with uncertainty-based active learning, the authors demonstrate that a model can reach peak performance with only 200 human-corrected examples, significantly reducing the annotation burden for complex literary analysis.

What Problem Does This Paper Address?

In classical philology, identifying that one text reuses another (intertextuality) is just the beginning. Scholars want to understand the mechanics of that reuse: Did the author quote verbatim? Did they change the verb tense to fit a new sentence? Or did they substitute a word with a synonym to create a subtle allusion?

While automated systems are getting better at detecting these parallels, they rarely explain how the text was transformed. Providing these explanations requires word-level "edit scripts"—aligning words between the source and the reuse and labeling the transformation. However, creating these scripts is incredibly labor-intensive. For Latin, a language with complex inflections and flexible word order, the lack of large-scale annotated datasets has been a major bottleneck for fine-grained intertextuality research.

Figure 1: Example of reworked reuse. Valerius Flac- cus reworks half a line of Virgil: corde is kept (COPY), premebat returns as a participle (INFLECT), and metus stands in the slot of curam (SUBST).

Methods

The authors propose a multi-stage approach to learn these word-level explanations with minimal human effort:

  1. The Stretch-and-Link Pointer Network: The core model uses a LatinBERT encoder to create contextual embeddings for both passages. It then employs a pointer network architecture with three specialized "heads":
  2. Link Head: Decides which source word (if any) a reuse word corresponds to.
  3. Operation Head: Labels the link (e.g., COPY, INFLECT, SUBST).
  4. Stretch Head: Determines if a word belongs to a reused segment at all, helping the model handle the "noise" of surrounding original text.
  5. Synthetic Data Pre-training: To overcome the "cold start" problem, the authors generated 25,000 synthetic pairs. They took clean Latin text and automatically applied known transformations (shuffling, inflecting, substituting synonyms) to create "perfect" ground-truth data for the model to learn the basic "shape" of the task.
  6. Active Learning (AL): After pre-training, the model identifies the real-world examples it is most uncertain about. A human annotator corrects these specific "hard" cases, and the model is re-trained. This loop continues, focusing human effort where it matters most.
Figure 2: Architecture of our stretch-and-link pointer. For each reuse word, the model scores every source word and two null positions, which link to no source word (INS/NEW or MARK). Three heads decide: the link head chooses a source word or a null position, the operation head names what was done to the chosen word (such as COPY or SUBST), and the stretch head estimates whether the reuse word is reused at all and adds this estimate to the INS/NEW null. A source word that no reuse word chooses (here sub) is labeled DEL.

Datasets

  • Loci Similes Benchmark: A collection of 1,490 expert-verified Latin references, split into 858 verbatim citations and 632 allusions. The authors provided new word-level annotations for this entire set.
  • Synthetic Pairs: 25,000 pairs generated from clean Latin corpora using automated edit scripts.
  • Latin Resources: The model incorporates external knowledge from the Latin WordNet and the Collatinus decliner to help identify lexical and morphological relationships.

Key Insights and Ideas

  • Joint Learning is Key: The authors found that linking (alignment) and labeling (operation classification) are best learned together in a single step. Models that tried to align first and label later performed significantly worse, especially on difficult labels like substitutions.
  • Synthetic Data as a "Warm Start": Pre-training on synthetic data effectively teaches the model the "grammar" of text reuse. This allows active learning to be effective from the very first human-annotated pair, avoiding the initial random-guess phase typical of AL.
  • Uncertainty Sampling Efficiency: The model's uncertainty about a link is a better signal for what to annotate next than the predicted difficulty of the labels themselves.
  • Edit Scripts as Features: Beyond just explaining a single pair, the predicted operations (the "edit scripts") serve as powerful features for downstream tasks. For instance, the frequency of SUBST (substitution) vs. COPY operations is a strong indicator of whether a passage is a verbatim quote or a subtle allusion.

Key Results

  • Annotation Efficiency: Using uncertainty-based active learning, the model reached the same performance level (Macro F1 ~84.5) with only 200 corrected pairs as it did when trained on the full 1,490-pair dataset.
  • Model Performance: The "stretch-and-link" pointer achieved a Macro F1 of 85.37, outperforming standard statistical aligners and rule-based systems.
  • Downstream Utility: Features derived from the model's edit scripts identified true references significantly better than standard text similarity scores (Macro F1 of 69.85 vs 51.34).
Figure 3: Performance vs. annotation effort trade-off. Macro F1 against the number of corrected pairs; the learning curve uses random annotated pairs. Mean over five folds, bands ±1 standard deviation.

Limitations and Future Work

  • Annotation Robustness: The current gold-standard data was produced by a single annotator. Future work should involve multiple experts to measure and account for inter-annotator agreement, as literary interpretation can be subjective.
  • Lexical Coverage: The model struggles when a substitution involves words not found in current Latin lexical resources (like WordNet).
  • Generative Synthetic Data: The authors suggest that using a Large Language Model (LLM) to generate more sophisticated synthetic substitutions (e.g., context-aware synonyms) could further improve the model's ability to detect complex allusions.

The authors have released their code, the word-level predictions for the benchmark, and an interactive demo to allow the community to explore these "edit scripts" in action.

Summary updated

Abstract

Detecting an intertextual reference is only the first step; philologists also need to know how a later author reworked the source. We explain a reuse pair word by word: each word of the reusing passage is first aligned to its source word, then labeled with the operation that transformed it, such as a copy, a change of inflection, or a substitution. Such word-level operations are expensive to annotate, and only a few corpora annotated at this level exist for text reuse in Latin literature. We describe a procedure that needs only a limited number of annotations: synthetic pairs, built by applying known operations to Latin text, train a first model, and active learning chooses the pairs an annotator corrects. Among several architectures, a model that links and labels together performs best: a pointer network that, for every reuse word, chooses a source word and names the operation in the same step. We show that with active learning, 200 pairs chosen by uncertainty are enough for the model to match one trained on every annotated pair of the 1,490 references of the Loci Similes benchmark. We release our code, word-level predictions for all references, and an interactive demo.
BibTeX
@misc{schelb2026learning,
  author = {Julian Schelb and Michael Wittweiler and Marie Revellio},
  title = {{Learning Word-Level Explanations of Text Reuse in Latin Literature with Little Annotation}},
  year = {2026},
  eprint = {2611.18319},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.18319},
}
Figure