Learning Word-Level Explanations of Text Reuse in Latin Literature with Little Annotation
Authors: Julian Schelb, Michael Wittweiler, Marie Revellio
Organizations: Department of Computer and Information Science, University of Konstanz · Institute of Archaeology, Classical Philology and Ancient Studies, University of Zurich · Department of Latin Philology, University of Konstanz
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.
Figures & tables
Figure 1: Example of reworked reuse. Valerius Flaccus 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 ).
Label
Signal
Association
Meaning
Example
Annotation
(source / reuse)
n
%
cit. %
cf. %
Links (share of links)
COPY
form
verb.
same form, spelling folded
frigidus / frigidus
4,828
77.2
85.2
48.0
INFLECT
form
verb.
same lemma, other form
regem / reges
870
13.9
9.3
30.8
SUBST
lexical
allus.
other lemma, same slot
pugnam / calamitatem
503
8.0
4.7
20.5
SPLIT
cardinality
allus.
two reuse words, one source
n/a
40
0.6
0.7
0.4
Table 1: Label inventory and distribution. Labels are grouped by the signal that decides them and by their association with the reference (Association: verbatim, allusion, marker, or no match). n is the count in the annotation and % its share of the operation. INS , NEW , DEL , OUT , and the patterns are derived from the links and not annotated.
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 .
Links
Labels
System
Method
P
R
F1
macro F1
INFLECT
SUBST
MARK
Invented
Links, then the rule
Statistical aligner
Brown et al.,1993
84.87
62.39
71.87
67.46
66.07
1.32
8.46
1.15
Rule-based aligner
Sultan et al.,2014
94.16
83.07
88.15
70.87
56.88
7.17
12.47
0.20
Embedding similarity
Jalili Sabet et al.,2020
90.73
75.17
82.16
66.47
25.32
23.21
16.34
0.17
Embedding similarity (FT)
Dou and Neubig,2021
89.57
84.37
86.75
67.50
37.23
13.05
14.67
0.41
Table 2: Performance comparison of alignment architectures. Links are scored by precision (P), recall (R), and F1 under sure/possible scoring, operation labels by F1, and citing formulas by MARK span F1. Invented counts links per pair on random re-pairings, which contain no reuse. Method gives the work each system is based on; FT marks the fine-tuned embedding aligner. All other values are ×100 and averaged over five folds.
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.
Figure 4: Projection of operation-derived features for verbatim references, allusions, and no-match pairs. Allusions overlap with both verbatim references and no-match pairs, while verbatim references and no-match pairs are distinct. Contours show density.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Label
Signal
Association
Meaning
Example
Annotation
(source / reuse)
n
%
cit. %
cf. %
Links (share of links)
COPY
form
verb.
same form, spelling folded
frigidus / frigidus
4,828
77.2
85.2
48.0
INFLECT
form
verb.
same lemma, other form
regem / reges
870
13.9
9.3
30.8
SUBST
lexical
allus.
other lemma, same slot
pugnam / calamitatem
503
8.0
4.7
20.5
SPLIT
cardinality
allus.
two reuse words, one source
n/a
40
0.6
0.7
0.4
Appendix
Table 3: Label inventory with the relations of SUBST . As Table 1 , with the 13 relations a SUBST link can name; relations under 1 % are pooled as other, and their shares are of SUBST links.
Row
macro F1
INFLECT
SUBST
Δ
Components, added one at a time
Pointer, plain
83.18
74.59
47.47
n/a
+ evidence grid
84.24
77.87
49.06
+1.06 (4/5)
+ stretch head
84.44
76.52
51.26
+0.19 (3/5)
+ COPY gate
85.37
78.36
53.60
+0.94 (5/5)
The untyped pointer’s links, labeled by
Appendix
Table 4: Ablations of our model. Mean over five folds, ×100 : macro F1, INFLECT and SUBST F1, and Δ , the paired gain in macro F1 over the row above with the folds won out of five. The COPY gate is the copy rule at decoding, and the last component row is our model. Restoring split links adds +0.23 (3/5).
Reference vs. no match
cit. / cf.
Script from
F1
R@10
F1
Annotation
n/a
n/a
79.62
Ours
69.85
93.99
77.77
Span aligner
68.98
94.02
78.27
Embedding similarity
52.67
80.41
71.09
fine-tuned
56.28
87.39
74.27
Appendix
Table 5: Scripts as evidence of reuse. A logistic regression over the script features separates references from no-match pairs (per-query macro F1, Recall@10; both reference types pooled) and verbatim references from allusions among the true references (macro F1). Mean over five folds, ×100 . The last two rows use no script.
Feature
Meaning
Group
AUC
n_q
words in the reusing passage
amount
0.47
n_s
words in the source passage
amount
0.48
n_links
links drawn
amount
0.85
link_rate
links per reuse word
amount
0.81
src_cov
links per source word
amount
0.79
len_ratio
reuse length over source length
amount
0.49
Appendix
Table 6: Script features of the downstream classifier. Each of the 30 features is read off the decoded script of a candidate pair. AUC measures how well a feature alone ranks verbatim references above allusions among the true references (0.5 is chance), on our model’s scripts over all five folds.
Amount
Copying
reuse words
source words
links
link rate
source coverage
length ratio
longest run
runs
COPY share
longest quotation
quota- tions
quoted share
Reference vs. no match
+0.12
−0.08
+2.22
0.00
+0.06 †
+0.05 †
+1.54
+0.36
−2.16
+0.23
+0.26
+0.23
Verbatim vs. no match
+0.33
0.00
+3.50
+0.13
+0.35
−0.16
+2.75
+0.52
−2.23
+0.12
+0.13
+0.11
Allusion vs. no match
+0.06 †
−0.04 †
+1.21
−0.03
0.00
+0.09 †
+0.19
−0.05 †
−1.31
+0.04
+0.04
+0.04
Verbatim vs. allusion
+0.22
+0.12
+1.34
+0.33
+0.27
−0.05 †
+2.21
+0.26
−0.85
+0.13
−0.21 †
−0.24
Appendix
Table 7: Feature coefficients per contrast. Standardized coefficients of a logistic regression over our model’s scripts, one contrast per row, averaged over five fits by test fold. Blue favors the first kind of pair of the row, orange the second, and the shade follows the size; † marks a feature whose sign differs between the fits. The first row is the reference classifier of Table 5 , the two middle rows sample 10 no-match pairs per positive as that classifier does, and the last uses the true references only. Table 6 defines the features.
Table 12
Figure 5: The review app. The predicted script of one reference (Virgil, Eclogues 4.60, in Jerome, Epistula 130.16): the list of pairs with filters on the left, the links as arrows from the source words (top) to the reuse words (bottom) with their operations, and the legend. The app is released with the code.
Department of Computer and Information Science, University of Konstanz · Institute of Archaology, Classical Philology and Ancient Studies, University of Zurich · Department of Latin Philology, University of Konstanz