Elamur Research

PhiloBERTA: A Transformer-Based Cross-Lingual Analysis of Greek and Latin Lexicons

Paper · 2025 · Rumi Allbert and Makai L. Allbert

Summary

A Greek philosophical term can have a familiar Latin counterpart even when the words look different and serve different purposes in particular arguments. How much of that correspondence can be detected from the passages in which the words occur? PhiloBERTA turns this question into a comparison of selected terms in Ancient Greek and Latin. It gives each passage a numerical representation, combines the representations for a term, and measures how closely the Greek and Latin results point in the same direction. The comparison can register a resemblance that spelling alone would miss.

The authors start with multilingual BERT, a transformer that uses surrounding text to encode a passage. They add a learned transformation intended to account for historical variation. The paper also describes using English as an intermediate language during training, weighting evidence by how plentiful it is, and accounting for genre. These choices address problems that arise when direct bilingual examples are scarce, some words have many more surviving occurrences than others, and a change in the kind of writing can look like a change in meaning.

The main experiment examines 10 Greek–Latin pairs from Perseus. The authors designate five as etymologically related and use five as controls. They aim to draw 50 passages per term. On their angular similarity scale, the related group averages 0.814, with a standard deviation of 0.003. The controls average 0.780, with a standard deviation of 0.023. The reported group comparison gives t = 3.219 and p = 0.012. The pair ἐπιστήμη–scientia receives 0.820, and δικαιοσύνη–iustitia receives 0.814. The scores for the designated related pairs are both higher on average and closer together.

The paper also reports comparisons on grammatical tagging, translation search, and the alignment of verses and philosophical texts. PhiloBERTA scores higher than the respective comparators on translation search and philosophical alignment, while the comparators post higher scores on tagging and verse alignment. The central lexical experiment gives a clearer account of what was compared and how its scores were obtained. The authors read its results as evidence of continuity in philosophical vocabulary. The measured result concerns resemblance among selected usages. Identifying a historical route of transmission or a translator’s intentions would require evidence about the texts and their relationships. The authors also acknowledge the restricted vocabulary, incomplete corpus coverage, possible influence from the English intermediary, and limited treatment of chronology.

Deep dive: PhiloBERTA: A Transformer-Based Cross-Lingual Analysis of Greek and Latin Lexicons

PhiloBERTA compares how Greek and Latin philosophical terms are used in classical texts and tests whether related pairs score above controls. · about 35 minutes to read

The problem and its context

What a correspondence between terms can mean

A scholar comparing philosophical vocabulary across Greek and Latin may recognize that terms belong together and still have substantial work to do. A Latin word can express part of a Greek concept in a passage while carrying associations of its own elsewhere. Two authors can use what appears to be the same conceptual vocabulary to draw different distinctions. Even within a language, a term’s relation to the surrounding argument can shift between writers or across periods. PhiloBERTA asks how far patterns in the text can support a quantitative comparison of such terms.

The distinction between an occurrence and a term is central. An occurrence belongs to a particular sentence in a particular text. A term collects these occurrences under a common lexical heading. A passage can make one interpretation highly plausible even when the term has several uses across the corpus. This multiplicity is called polysemy. The paper names Greek logos and Latin anima as examples of vocabulary whose interpretation depends on intellectual context. Their usefulness as examples lies precisely in the possibility that a familiar label leaves important questions about its meaning in an individual passage open. Word sense disambiguation

This is a problem in lexical semantics, the study of how words carry meaning. Its historical dimension concerns the uses available to writers in a particular setting and how those uses change. If a pair looks closely related across languages, the resemblance could be concentrated in a philosophical tradition, confined to a particular use, or distributed across much of the material. Conversely, if common uses get most of the representation, an important specialized correspondence can be hard to detect. The unit a comparison starts from and the unit it finally reports can therefore tell different stories. Historical linguistics and language change

Genre adds another layer. A term can appear as part of sustained argument in one text and in a different kind of discourse elsewhere. Even if its use remains historically stable, the words and constructions around it may change with the kind of writing. If the surviving material for an earlier period comes mainly from one genre and the later material mainly from another, a comparison can mix chronological variation with the effects of the source collections. The authors treat genre as a significant influence on the distribution of contextual scores.

Grammatical form also affects what evidence can be gathered. The paper emphasizes the rich inflection of both languages and the differences between their syntactic structures and those typical of modern training material. Inflection lets a lexical item appear in several grammatical forms. A procedure that locates a term by one written form may collect only a portion of the relevant occurrences. A procedure that normalizes different forms has to decide which belong to the same lexical item. These questions arise before a passage is represented numerically. Morphology

Why bilingual evidence is hard to obtain

A parallel corpus connects passages across languages. For an alignment task, links between a source passage and its translation can provide direct evidence about which pieces of text should be brought together. The authors describe such material as scarce for Greek and Latin. Specialized philosophical vocabulary puts further demands on coverage. A collection can have enough parallel material to train a system on one kind of writing while supplying relatively little evidence about how terms appear in another.

Passage alignment and term comparison also operate at different scales. A passage pair can preserve an entire line of argument while redistributing the work done by individual words. A term pair can be studied through passages that are comparable in use even when the passages themselves have no established translation relationship. Prior work on sentence alignment is therefore relevant because it shows how representations can connect texts across languages. PhiloBERTA uses that possibility for a question about vocabulary aggregated across occurrences. Multilingual and cross-lingual NLP

A common numerical space is what makes these comparisons possible. In such a space, vectors from either language can be treated as coordinates with comparable directions. Producing vectors of the same length is only a starting condition. Two independently learned collections of coordinates can assign different numerical directions to comparable material simply because each was organized separately. The paper presents this as a weakness of earlier static representations whose Greek and Latin spaces were left unaligned.

The approaches the authors build on

The paper traces its approach to work on contextual representations, multilingual alignment, and the study of change over time. A contextual representation describes a passage or an occurrence using information from the text around it. Static representations typically give a lexical item a single vector. Contextual encoding lets two uses of a word first be represented separately, even if a later stage combines them. For the authors’ purposes, this makes it possible to start with attestations that carry some evidence about the role a term plays in different passages. Word embeddings

The introduction points to mBERT, LASER, and XLM-R as examples of approaches that can support multilingual representation. It also discusses applications to Greek and Latin passage alignment, multilingual lemmatization, and semantic retrieval. Lemmatization associates different grammatical forms with a common lexical form. Semantic retrieval seeks material on the basis of represented meaning. In the paper’s account, this work establishes a practical starting point for finding correspondences, with much general multilingual work directed at modern languages and less attention paid to changes in the sense of historical vocabulary. Lemmatization

The authors describe earlier classical-language work that uses representations of stretches of text to align passages and find connections across corpora. They mention SPhilBERTa and an adapted version of XLM-R as examples of work on material closer to their target domain. Such approaches put more emphasis on the relevant languages or documents than a broadly trained multilingual system might. The gap that motivates PhiloBERTA is the combination of bilingual alignment with a way of dealing with the historical variability of specialized language.

The paper also discusses an earlier multilingual sentence-embedding approach that transfers behavior from a teacher to a student. A teacher supplies numerical targets. The student learns to reproduce useful properties of those targets from inputs in other languages. In the use contemplated by PhiloBERTA, this supplies a route for sharing information when direct Greek–Latin training material is hard to obtain. The earlier work enters the comparison through the paraphrase-multilingual-MiniLM system discussed by the authors. Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillation

A different line of earlier research asks how word use changes between historical periods. The paper describes work with Bayesian approaches and comparisons of numerical representations derived from temporally divided corpora. If material from different periods can be compared on the same footing, changes in the company a word keeps can help locate shifts in use. The authors mention GASC and work on representations of Latin lemmas as examples. In their account, those studies address historical patterns but leave integration with Greek–Latin comparisons open. For PhiloBERTA, the question is what one can learn when both language and historical setting matter to the interpretation of a score.

The method, step by step

From occurrences to a term comparison

Start with a Greek term and its proposed Latin counterpart. Find places where each occurs, take some surrounding text, and turn each window of text into a vector. A vector is an ordered set of numerical coordinates. In PhiloBERTA, the coordinates are learned features of a passage. They give the system quantities to compare without requiring a philologist to specify in advance which individual words in the passage should count as evidence for a particular meaning.

The system then combines the passage vectors on each side. The Greek term gets a vector summarizing its sampled Greek contexts. The Latin term gets a vector from its Latin contexts. The authors compare the resulting directions. A pair receives a higher angular score when its aggregate vectors point more nearly the same way. This produces a single score for a proposed correspondence, even though its evidence is distributed across many passages.

How PhiloBERTA scores a Greek–Latin term pair

The steps in order.

How PhiloBERTA scores a Greek–Latin term pairStep 1: Select terms and locate their occurrences1. Select terms and locate their occurrencesStep 2: Segment Perseus texts into sentences2. Segment Perseus texts into sentencesStep 3: Collect and sample windows around occurrences3. Collect and sample windows around occurrencesStep 4: Tokenize windows and encode them with multilingual BERT4. Tokenize windows and encode them with multilingual BERTStep 5: Project each passage representation5. Project each passage representationStep 6: Average passage vectors for each term6. Average passage vectors for each termStep 7: Score the angle between the term vectors7. Score the angle between the term vectors

Select pairs and assemble contexts

The dataset is a collection of 10 pairs. The authors reserve five for terms they classify as etymologically related and five for controls. The following notation specifies the unit of comparison.

𝒟 = {(gᵢ, lᵢ)}ᵢ₌₁¹⁰

Here 𝒟 denotes the lexical dataset, and braces collect the ordered pairs that belong to it. The subscript i identifies a pair, with the index running from 1 to 10. The letter gᵢ denotes the Greek member of pair i, and lᵢ denotes its Latin member. In the authors’ notation, 𝒱g and 𝒱l are the Greek and Latin vocabularies from which those terms are drawn. A pair is already specified when the scoring procedure starts. The experiment then asks how its measured resemblance compares with the others.

The authors take contexts from Perseus and describe the extraction as using aligned texts. The Greek authors named in the appendix are Plato, Aristotle, Homer, Thucydides, and Herodotus. The Latin authors are Seneca, Cicero, Virgil, Lucretius, and Tacitus. The roster includes different kinds of writing. That matters for the comparison because the context of a philosophical term can include material that helps make its technical use recognizable, as well as features associated with the author or genre.

For a target occurrence, the CLTK sentence tokenizer supplies sentence boundaries. A window is assembled around the sentence chosen as its center. The appendix function sets the neighborhood parameter to 2 and clips the window when the requested neighborhood reaches the available collection’s edge. It then joins the selected sentences into a passage. The extended context gives the encoder access to reasoning or description that may be needed to interpret the target sentence. The window itself retains that surrounding material whether it directly clarifies the target or establishes a more general setting.

The Methods section describes a collection of 50 contextual windows for each target word. The intended collection can be written as follows.

Cw = {cⱼ}ⱼ₌₁⁵⁰

Here Cw denotes the collection of windows for the target word w, cⱼ is an individual passage, and j indexes the windows from 1 through 50 in the stated design. A window is a span of text, while the collection is the set of spans available to represent the word. The scoring formula later uses the size of the actual collection as its divisor.

The sampling code gives a more precise account of how the target is applied. It selects up to the requested count from the available passages and prints a warning when a term falls short. The fixed random state is 42. With the same candidate data in the same arrangement and the same sampling behavior, that setting makes the draw repeatable. A term with fewer than the requested passages contributes the ones available to the sampler. The formal description of the intended window set and the code’s handling of shortfalls both matter when interpreting the resulting term averages.

Convert a passage into coordinates

The selected windows are tokenized with the cased multilingual BERT tokenizer associated with bert-base-multilingual-cased. Its units can be parts of words. A spelling that is unavailable as a single vocabulary entry can therefore be represented through smaller pieces. This kind of division occurs after sentence segmentation. The sentence tokenizer helps decide how much surrounding text to include, and the BERT tokenizer decides how to present the resulting text to the encoder. Subword tokenization

An encoding function takes a sequence of vocabulary units and produces a vector. The background expresses this relationship abstractly.

fθ : 𝒱* → ℝᵈ

Here fθ is the encoding function and θ denotes its learned parameters. The symbol 𝒱 denotes the vocabulary, and the asterisk denotes sequences built from its entries. The arrow shows the direction of the mapping. The expression ℝᵈ denotes the space of vectors with d real-valued coordinates. The background uses contexts as inputs to this mapping in the similarity equation, where the encoder makes them available as vectors for comparison.

The appendix instantiates that idea by taking the final hidden representation at the special [CLS] position in the multilingual BERT output. This position supplies a vector for the passage. The code selects it for the text window as a whole. A given window is associated with a target term through the way the passage was collected. The numerical readout can carry evidence about the target’s meaning alongside information about the rest of the passage.

Next comes a learned linear projection from 768 coordinates to 768 coordinates. A projection of this kind can change how features combine and how vectors are oriented while keeping the number of coordinates fixed. The authors name the operation for its intended role in handling diachronic variation, meaning variation through time. The forward procedure in the appendix feeds it the [CLS] vector. The operation shown there takes its input from the text encoding. The connection to historical behavior depends on what the system is trained to learn.

The appendix identifies PyTorch and Hugging Face Transformers as the training software and describes a workflow that starts from pretrained multilingual BERT. It also announces the availability of the authors’ PhiloBERTA code, data, and trained artifacts through their project repository. The passage encoder and sampling examples are the clearest implementation details for following how the term scores are produced.

Average the evidence and measure the angle

The Methods section first averages the contextual representations associated with a term. The paper writes the expression for a Greek item.

E(gᵢ) = (1 / |C(gᵢ)|) ∑c∈C(gᵢ) PhiloBERTA(c)[CLS]

Here E(gᵢ) is the term vector for Greek item gᵢ, with i identifying the pair that contains the term. The context collection is C(gᵢ), and the vertical bars around it denote how many passages it contains. The summation sign ∑ adds the outputs for the individual contexts c. The symbol ∈ means that each c belongs to the collection. PhiloBERTA(c)[CLS] denotes the representation derived from the [CLS] position for that passage. The appendix obtains the representation through the projection of that position’s vector. The factor 1 divided by the collection size turns the sum into an average. The Greek term’s average has 768 coordinates, and the corresponding calculation for the Latin term supplies its vector.

This aggregation gives each sampled window equal weight within the displayed mean. A feature that recurs in the sampled material can influence the overall direction. Features associated with less frequent uses may have much less effect. An aggregate can consequently be a good description of what the collected texts tend to have in common while giving little visibility to a particular passage that uses the term differently.

The comparison then uses the angle between the two aggregate vectors.

s(g, l) = 1 − (2 / π) arccos((E(g) · E(l)) / (‖E(g)‖ ‖E(l)‖))

In this equation s(g, l) denotes the similarity assigned to Greek term g and Latin term l. E(g) and E(l) are the respective term averages. The centered dot indicates the dot product, which multiplies corresponding coordinates and adds the products. The double bars around a vector denote its length. The slash divides the dot product by the product of those lengths to obtain cosine similarity. The arccos function converts that cosine into an angle measured in radians. The factor 2 divided by π, the circle constant, scales the angle. Subtracting that quantity from 1 makes a smaller angle yield a larger score. The normalization presumes that both term averages have a length that permits the division.

The authors motivate the normalized comparison by reporting embedding magnitude variance of 0.18 for ancient text and 0.05 for modern-language material. “Magnitude” refers to the length of a vector. Multiplying a term average by a positive scale factor preserves its direction, and the normalized dot product is invariant to that change. The inverse cosine supplies a different scale for those same directional comparisons. For a fixed collection of term vectors, a pair with a higher cosine also has a higher angular score. Group means and spreads can still look different because the scale conversion acts on each score before those statistics are calculated. Semantic similarity

The background introduces another way of aggregating contexts. Its formula compares the contexts individually across the languages.

s(g, l) = (1 / (|C(g)| |C(l)|)) ∑c_g∈C(g) ∑c_l∈C(l) cos(fθ(c_g), fθ(c_l))

Here g and l again identify the Greek and Latin terms, and s(g, l) labels their score under this formulation. C(g) and C(l) are their context collections, and the vertical bars give their sizes. The subscripts g and l on c distinguish the context drawn from each language. The two summation signs enumerate all cross-language combinations of the selected contexts. The expression fθ is the parameterized encoder, with θ denoting its learned parameters. The function cos compares the directions of the two encoded passage vectors. Dividing by the product of the collection sizes averages those comparisons.

This formulation gives each cross-language combination a separate cosine score before taking the mean. The Methods procedure averages within each language first and normalizes the resulting term vectors when comparing them. These operations can emphasize different properties. An unusual passage enters every contextual comparison involving that passage under the background formulation. With the Methods formulation, its influence comes through the average on its own side. The Results section describes its main lexical findings in terms of the angular comparison introduced in Methods.

Train with uneven evidence and an intermediate language

The background says that the available Greek context collection is much larger than the Latin collection for 73% of pairs in its description of alignment asymmetry. The authors propose a training weight that falls as the context collection grows.

wᵢ = 1 / log(|Cᵢ| + 1)

The symbol wᵢ is the weight associated with indexed item i, and Cᵢ is the relevant collection of contexts for that item. The vertical bars denote its size. The added 1 goes inside the logarithm, denoted by log. The numerator 1 makes the weight the reciprocal of that logarithm. For positive context counts, a larger collection thus receives a smaller weight. The paper does not specify the logarithm’s base here or show where this factor enters a complete training objective.

The proposed weighting and the window sampler operate at different points. The weight adjusts training contributions according to how much evidence is available. The sampler limits how many examples go into the selected contextual collection for a term. Both are responses to imbalance, but the availability of contexts before sampling is a different quantity from the realized sample for an individual term. The background’s asymmetry figure is presented as motivation for the training design. It does not supply the actual per-term window counts for the lexical comparison.

The paper’s other response to scarcity is knowledge distillation. In its description, an English teacher provides outputs that guide the student encoder. A teacher output acts as a training target. If passages can be given comparable targets through a shared intermediary, the student can learn some cross-language relationships with less dependence on directly paired Greek and Latin passages. The authors express that training objective as follows.

Ldistill = (1 / n) ∑ᵢ₌₁ⁿ ‖zₜ⁽ⁱ⁾ − fθ(cg⁽ⁱ⁾)‖² + λ KL(pₜ ‖ pθ)

The expression Ldistill denotes the loss for distillation, the quantity training seeks to reduce. The symbol n is the example count, and i indexes the examples from 1 through n. For instance i, zₜ⁽ⁱ⁾ denotes the teacher’s output. The subscript t identifies the teacher. The authors describe that output as English-vocabulary logits, which are scores before conversion into probabilities. The expression cg⁽ⁱ⁾ denotes the corresponding Greek context, with g identifying the language and the superscript identifying the example. The function fθ gives the student output, and θ denotes the student’s parameters.

The minus sign takes the coordinate-wise difference between the outputs. The squared double-bar expression measures the squared length of that difference, and the prefactor 1 divided by n averages the summed errors. In the second term, KL denotes Kullback–Leibler divergence, a directional comparison between probability distributions. The separator inside KL marks the order of its arguments. The distributions pₜ and pθ come from the teacher and student, respectively, and λ sets the weight of the divergence in the total loss. The plus sign combines the two penalties.

The loss communicates the intended transfer through two kinds of agreement, one between outputs and one between distributions. Implementing the first requires the teacher and student quantities in the subtraction to have compatible coordinates. The background describes the teacher output in terms of English vocabulary size and elsewhere defines the encoder in terms of passage-vector dimensions. It gives no transformation reconciling those descriptions. The displayed example also uses a Greek context. A corresponding account of which Latin inputs receive which teacher targets would be necessary to reconstruct the bilingual training process from the equations.

Account for genre when dates are incomplete

The background expresses the variability of the cross-language scores in terms of contributions associated with genre and time.

Var(s(g, l)) = α σgenre² + (1 − α) σtemporal² + ε

Here Var denotes variance, a measure of how dispersed values are. Its argument s(g, l) is the score for Greek term g and Latin term l. The symbol α weights the variance component σgenre² associated with genre. The complementary factor 1 minus α weights σtemporal², the component associated with time. The symbol ε represents residual variation. The authors report estimating α as 0.63 through an analysis of variance. The reported statistic for that analysis is F = 8.92, with p = 0.002. The paper presents these quantities as evidence that genre warrants attention in explaining the behavior of the scores.

An analysis of variance examines variation in relation to assigned groups or factors. For these results, the interpretation depends on which observations enter the analysis and how their genres and periods are assigned. A score can vary with both if an author or type of writing occurs mainly in a particular part of the chronology. The equation sets out the roles the authors want those influences to play. The paper gives a more limited account of the observations used to estimate them.

The authors also describe a genre-conditioned score where precise dates are unavailable. This assigns separate weights to textual and genre information.

s_cos = α s_text + (1 − α) s_genre

Here s_cos denotes the combined score the paper labels with a cosine subscript. The quantity s_text is the text-based score, and s_genre is the genre-based score. The coefficient α is reported as 0.7 in this equation, and 1 minus α sets the complementary weight for the genre component. The α used here is the weight in a score combination. The α in the variance expression is estimated in the analysis of variance.

The paper additionally names adversarial dropout as a response to missing genre labels, synthetic augmentation as a way to increase genre coverage, and temporal masking as a way to discourage anachronistic associations. These are parts of the authors’ training account. The appendix’s forward procedure stops at passage encoding and projection. It gives enough information to follow the vector passed to the term-averaging step, while the connection between that vector and the full set of training interventions is described at a higher level.

Experiments and results

The lexical experiment

The central comparison uses the context collections from Perseus for the 10 selected pairs. Each pair is the unit to which the angular scoring procedure assigns a result. The control group supplies the comparison for the words designated as etymologically related. A mean summarizes the level of resemblance inside each group. The standard deviation summarizes how much the scores vary within it. These measures answer different questions. A set of pairs can be consistently similar or dissimilar, while another set’s mean can reflect pairs spread across a wider part of the scale.

Selected Perseus term pairs, mean angular similarity

The designated related pairs have the higher mean under PhiloBERTA scoring.

Selected Perseus term pairs, mean angular similarityControl pairs: 0.780Control pairs0.780Etymologically related pairs (this paper): 0.814Etymologically related pairs (thispaper)0.814
The numbers
System or settingmean angular similarity
Control pairs0.780
Etymologically related pairs (this paper)0.814

The related group has a standard deviation of 0.003 and the controls have a standard deviation of 0.023. The authors give the difference between group means as 0.034 on the angular scale. Their t-test yields a statistic of 3.219 and a p-value of 0.012. Under the assumptions of the test used, the p-value concerns how unusual the statistical result would be if the tested null hypothesis held. It supplies evidence for the group contrast in the experiment. The dispersion figures supply the additional observation that the related scores are clustered more tightly.

The best-known examples in the discussion illustrate what a reported value refers to. The 0.820 for ἐπιστήμη–scientia is the directional similarity of the averages computed for those terms from their respective passages. The 0.814 for δικαιοσύνη–iustitia is a score on the same scale for another selected pair. Both enter the authors’ discussion of abstract philosophical vocabulary. Their values express the relationship between the aggregate representations produced by the method, with the meaning of the scale established by the normalization and the comparison against the other items.

The paper uses several displays to examine the pattern. The cross-lingual similarity matrix makes it possible to look across pairings, including alternatives for a Greek term. A density display brings out the difference between the concentrated related scores and the broader controls. A radial display places pair scores along separate axes and shows how similar the designated related scores are to each other. These displays give different views of the observations. The compact shape in the radial display corresponds to the low dispersion that the paper also reports numerically.

A term-level comparison places a related score and a control score alongside one another for a Greek term. The authors use it to argue that the stronger alignments occur towards the abstract philosophical end of the examples, with weaker alignment for more concrete vocabulary. The figure caption specifies bootstrap intervals at 95%, based on 10,000 resampling iterations. A bootstrap repeatedly constructs samples from observed data and uses the resulting variation to summarize uncertainty. The caption establishes the interval level and iteration count. Interpretation also depends on which observations were resampled, a detail the paper leaves open.

The authors take the group separation and the abstract examples to support a reading of conceptual continuity across languages. The two observations have different emphases. Group separation concerns the designations used to organize the chosen pairs. The comparison across the displayed terms concerns whether resemblance varies with the kind of concept. Both are grounded in the same contextual scoring approach, and the evidence for abstraction comes from the patterns the authors inspect across the examples.

The related-work discussion reports a comparison with Riemenschneider and Frank’s approach. On part-of-speech tagging, their system achieves accuracy of 0.89 and PhiloBERTA achieves 0.85. The paper gives p = 0.03 for this comparison. Tagging asks which grammatical category applies to a token in context. This evaluation concerns assignment of categories at the level of individual occurrences. Part-of-speech tagging

For translation search, the same discussion gives accuracy of 0.62 for Riemenschneider and Frank’s system and 0.92 for PhiloBERTA. Search accuracy concerns the retrieval task reported in the paper. Its connection to lexical comparison is that both depend on being able to bring text from different languages into a useful relationship. Its unit of evaluation is separate from the average angular resemblance calculated for the curated vocabulary. The paper describes the comparison task and the scores but leaves the retrieval corpus, split and candidate protocol unspecified. Information retrieval and search

PhiloBERTA and Riemenschneider and Frank on the reported translation-search evaluation, accuracy

PhiloBERTA scores higher in the reported translation search comparison.

PhiloBERTA and Riemenschneider and Frank on the reported translation-search evaluation, accuracyRiemenschneider and Frank: 0.62Riemenschneider and Frank0.62PhiloBERTA (this paper): 0.92PhiloBERTA (this paper)0.92
The numbers
System or settingaccuracy
Riemenschneider and Frank0.62
PhiloBERTA (this paper)0.92

The paper relates this pattern to a difference in training choices. It describes the earlier system as avoiding modern-language influence and gives the size of its multilingual corpus as 100M words. PhiloBERTA allows modern material to contribute through its synthetic training approach and describes filtering that material. The tagging and search comparisons show where the systems perform differently on the reported tasks. The design of the comparisons leaves room for several influences, including properties of the source material and differences in training beyond the presence of modern material.

Verse and philosophical alignment

The comparison with the approach attributed to Krahn and collaborators also depends on the type of text being aligned. For verse alignment, the paper gives accuracy of 0.96 for the earlier approach and 0.93 for PhiloBERTA, with p = 0.12 for the comparison. For alignment on philosophical works, the earlier approach is assigned 0.61 and PhiloBERTA 0.88. The authors report d = 1.2 as an effect-size statistic for the philosophical comparison. An effect size describes the magnitude of a contrast on a specified scale. Here the paper gives the statistic alongside the alignment accuracies.

Krahn and collaborators and PhiloBERTA on philosophical works, alignment accuracy

PhiloBERTA leads in the reported alignment comparison on philosophical works.

Krahn and collaborators and PhiloBERTA on philosophical works, alignment accuracyKrahn and collaborators: 0.61Krahn and collaborators0.61PhiloBERTA (this paper): 0.88PhiloBERTA (this paper)0.88
The numbers
System or settingaccuracy
Krahn and collaborators0.61
PhiloBERTA (this paper)0.88

The authors describe the earlier approach’s 380k training sentence pairs as coming from material that is 85% biblical. They say their own synthetic augmentation covers 15 genres. The reported change in relative performance between the verse and philosophy evaluations is compatible with the idea that the composition of training material matters. In this account, the earlier system is particularly strong where the task resembles the kind of text that supplied much of its training evidence. PhiloBERTA posts its stronger comparative result on philosophical works.

The paper also invokes a reported correlation of r = 0.82 between genre count and accuracy outside the training domain in its discussion of Liu and Zhu. It uses that association to motivate coverage across genres. The verse and philosophy scores for PhiloBERTA are results from the comparison with Krahn and collaborators. The correlation is a separate piece of evidence cited in the argument about training diversity.

The term “alignment” describes what the evaluation rewards in these comparisons. The task is to identify corresponding pieces of text. A system can align philosophical passages by recognizing that their contents are related even where individual lexical choices differ. The lexical experiment narrows the focus to terms and asks how the aggregate contexts compare. Success on passage alignment lends context to the practical application, while lexical similarity requires its own observations and controls.

Other lexical and cross-language benchmarks

The paper reports a lemma retrieval F₁ of 0.79 for the FastText approach it attributes to Singh and collaborators. F₁ summarizes precision and recall, which concern how many retrieved answers are correct and how many relevant answers were retrieved. It reports cross-lingual accuracy of 0.31 for that approach. In the authors’ explanation, the Greek and Latin spaces have 300 dimensions each and remain unaligned. This presents a concrete version of the distinction between finding neighbors within an organized vocabulary and comparing vectors across independently organized vocabularies.

For the contrastively trained approach attributed to Yamshchikov and collaborators, the paper gives cross-lingual accuracy of 0.58. It associates that approach with a 22% higher out-of-vocabulary rate in its evaluation, reporting χ² = 15.7 and p < 0.001. An out-of-vocabulary rate concerns forms that a vocabulary fails to cover under the evaluation’s definition. The χ² statistic and accompanying p-value are reported for the coverage comparison. The paper connects the improved cross-language score with shared sub-word tokenization. Its description does not specify the counting procedure for vocabulary coverage in enough detail to connect the two measures more precisely.

The authors describe paraphrase-multilingual-MiniLM as the closest architectural relative of their approach. They give its cross-lingual accuracy as 0.85 on their test set. They also point to a particular anachronistic association from this comparison, discussed in the component analyses. The test-set accuracy concerns success on the paper’s cross-language evaluation. The example concerns the relative rank of historically appropriate and inappropriate meanings. The example helps put a recognizable error behind an aggregate result.

The broader comparisons use several different units. An angular score belongs to a term pair. Tagging accuracy concerns grammatical decisions. Search and alignment accuracies concern their respective retrieval or matching decisions. The cross-lingual test set used for the MiniLM comparison is named by function, with limited information on the partition and its relationship to the curated term set. Taking the numbers in their respective evaluation settings gives a more precise picture of where the paper reports improvement and where an earlier system retains an advantage.

What the ablations show

Distillation and the amount of parallel data

The paper describes ablation results for training choices but gives no matched series that separates all components of the final system. Its clearest claim described as an ablation concerns the amount of supervision needed for alignment. The authors report that English-mediated distillation reduces the required parallel data by 83% compared with direct alignment.

The outcome here is a requirement for parallel examples. The intended question is how much directly aligned text is needed when a student can learn from a teacher in an intermediate language. To assess such a comparison, a reader needs the target level of alignment performance that each setting had to reach. The underlying data budgets and the criterion for declaring the same requirement met are left unspecified. The reported reduction therefore characterizes the comparison the authors describe. How it transfers to a corpus with different genre coverage or a different teacher remains open.

The data requirements also depend on how supervision is counted. Direct Greek–Latin pairs are the material the authors aim to economize on. English teacher outputs and synthetic augmentation are sources of training evidence in their own right. The reported figure addresses the first resource. The paper gives too little detail to account for all resources used in the comparison or to connect the reduction numerically to the separation of lexical pairs in the main experiment.

Temporal masking and misleading modern senses

The authors illustrate semantic anachronism with ἄτομον. In their account of the MiniLM comparison, its association with the modern sense of “atom” receives cosine similarity of 0.81. The Latin individualis, which they identify as the appropriate counterpart for the usage at issue, receives 0.68. The example shows how an association can be strong in a multilingual space and still be the wrong guide to a historical occurrence. The error concerns which sense the system favors, even though its ranking is internally consistent with its learned representations.

According to the paper, using a temporal masking objective cuts errors of this kind by 37%. It gives a mean error of 0.12 with the proposed approach and 0.19 for the comparison, accompanied by t = 4.33. This supplies a result tied to the historical appropriateness of the output. The error measure addresses a different property from angular separation of the selected term pairs. Its value lies in testing whether the representation favors associations that belong to the period or usage the authors intend to capture.

The paper does not explain the masking rule, the full composition of the error set, or whether the compared settings share all other training conditions. Nor does the appendix tie the displayed error comparison to a run with the projection removed. The linear layer shown in the architecture and the masking objective named in the results concern related aspects of the authors’ design. The evidence supports attribution of the reported comparison to the objective as described, with the effects of the individual architectural and training choices left unresolved.

The discussion of synthetic training and filtering makes an additional quantitative claim. It reports β = 0.73 and SE = 0.15 in support of its account of beneficial effects from controlled modern-language exposure. The coefficient β expresses an estimated association under the authors’ analysis, and SE is its standard error. The paper gives little information about the outcome and predictor scales behind this estimate. Together with the example of ἄτομον, the discussion identifies the tradeoff the training is meant to address. Modern material can support transfer, while particular modern meanings can interfere with historically appropriate comparison.

Genre conditioning and historical variation

The authors compare genre conditioning with a time-aware approach they attribute to Bamman and collaborators. They report R² = 0.71 for their variance comparison and 0.75 for the time-aware approach. R² describes the extent to which the specified predictors account for variation under the evaluation. The reason given for using genre is practical. The paper says precise dating is unavailable for 63% of the classical works it discusses in Perseus.

This is a comparison between approaches that work with different information. It suggests that genre provides a signal relevant to the variation being measured. The paper supplies no shared evaluation design detailed enough to establish how far the scores are directly comparable. Genre and time can be linked in the material available to study, and a similar variance statistic can arise from different sources of predictive information. The background’s analysis of variance motivates taking genre seriously, while the score comparison leaves the interpretation of genre as a stand-in for chronology bounded by the data.

What the controls isolate

The related and control groups expose a property of the final scoring procedure. The related pairs receive a higher average score and show less dispersion. That comparison holds the stated scoring method fixed and varies the class of pair being scored. It concerns how the completed system responds to the selected vocabulary.

To determine what produces the separation, the design would need comparisons that vary the representation or training while holding the selected pairs and their contextual evidence fixed. The paper provides no matched lexical comparison between cosine and angular scoring, no reported substitution of target-token vectors for passage-level representations, and no separate score for the same pairs before and after the projection. The central experiment supports the empirical distinction between the selected groups. The contribution of each named component to that distinction remains underdetermined.

Limitations

Limits the authors acknowledge

The authors acknowledge that the vocabulary was curated and limited. It is chosen to represent concepts of philosophical interest. The experiment therefore speaks most directly to the particular relationships included in the comparison. How readily the approach distinguishes useful counterparts across a broader vocabulary depends on the kinds of pairs that would enter such a study and the range of uses that can be collected for them.

A second stated limitation is reliance on the quality and coverage of digitized texts. Perseus supplies the contexts available to the experiment. Its composition shapes which authors and usages can be sampled. A term that occurs repeatedly in an accessible group of works may be easy to represent from those works, even if practices elsewhere in the tradition are poorly documented. The authors recognize that corpus biases can carry through to the results.

The English pivot is another concern the authors identify. An intermediary can make training possible with less direct bilingual evidence, while the associations it makes salient can also affect what the Greek and Latin representations have in common. If the intermediary treats distinct historical senses alike, agreement with its teacher targets can favor a less differentiated comparison. The paper names multiple pivot languages and more direct Greek–Latin procedures as possible ways to investigate this dependency.

Time is a stated limitation as well. The authors use genre conditioning to address a portion of the variation, and the architecture includes a transformation intended to deal with historical differences. The discussion calls for an explicitly temporal approach when chronological information is available. The lexical experiment summarizes contexts for terms. It leaves open how the relationships would look if the available occurrences were grouped into successive periods and the comparisons made within those groups.

The authors distinguish resemblance from identical meaning in their historical interpretation. They allow for adaptation within a continuing philosophical tradition. A high score can fit that interpretation because closely related passages can participate in different arguments or put their terms to locally different uses. Determining the content of those differences requires attention to the passages on which the average is based.

Limits visible in pair selection and contextual sampling

The category the authors call etymological needs a precise definition to support the historical interpretation they give it. A pair can be connected through descent or borrowing, through established translation practice, or through a conceptual resemblance recognized by a reader. These relationships can overlap, yet each calls for a different kind of evidence. The paper identifies the group designation and names representative pairs. It gives no full selection protocol that lets the reader determine how the designation was applied throughout the dataset.

The controls determine how demanding the lexical experiment is. A control term can be closely matched to a related term in genre, frequency, and grammatical behavior while differing in the relationship being tested. It can also differ in several of these respects at once. In the latter case, the score difference may partly reflect features of the passages that happen to track the designations. The paper leaves the construction and matching of the controls insufficiently specified to determine which possibilities the comparison rules out.

The appendix’s sampler makes another point visible. The target count is 50 contexts, and a shortfall produces fewer examples. The paper gives no realized count for each term. Even when the requested count is reached, many passages could come from a narrow set of works or contain uses with much in common. An equal number of selected windows would give each term a comparable nominal evidence budget. It would leave the diversity and independence of that evidence to be assessed separately.

The window function shown in the appendix indexes neighboring records in the sentence collection. It clips at the edges of that collection. Whether neighbors are restricted to the same work depends on how the input is prepared, and the paper gives no explicit document check in the shown function. The procedure for identifying target occurrences across inflected spellings is also left open. Both details affect which passages end up inside each term’s aggregate, so they matter when attempting to reproduce the lexical comparison.

Limits of the representation and statistics

The passage readout can capture material beyond the term’s local sense. A context that contains a philosophical term can strongly reflect the subject of the work, its style, or the structure of the surrounding argument. Similarity arising from any of these can be relevant background evidence for a philologist. To attribute the score specifically to the target sense, a reader needs to know how much changes under a more focused representation or with controls matched for the surrounding material. The reported experiments do not establish that attribution.

The mean vector also compresses variation within a term’s attestations. A technical use may be rare but central to the relationship a scholar is trying to study. If most sampled passages contribute a different use, the aggregate can make the technical correspondence hard to see. A high aggregate score offers limited information about whether the shared properties recur evenly across the sample or are especially strong in a portion of it. The paper does not separately group senses or trace their alignment across writers.

The statistical account leaves questions about the relationship between the displays and the tests. The authors report a t-test for the group result and also refer to a paired analysis of individual terms. They do not give enough information about the exact observations and pairing scheme to reconstruct the test. The bootstrap caption specifies the interval level and repetition count but omits the resampled unit. Resampling passages within a term, passages by source work, or term pairs would address different sources of uncertainty. Treating overlapping windows or closely related passages as independent draws could give a misleading impression of how much independent evidence supports the result.

The small spread among the selected related pairs describes the behavior of those scores. Selection criteria, the ways the passages vary, and the score scale can all influence that spread. The authors interpret it as consistent with a structured historical process. Establishing the process itself would require independent links between the relevant texts, uses, and historical settings. A translator’s decision to preserve a conceptual distinction is a claim about a particular act or practice. The group statistics supply no observation of that decision.

Limits on reproducing the broader comparisons

The paper specifies the lexical scoring equations and gives excerpts of the implementation, so the passage-to-score stages can be followed in outline. The training stages are less fully described. The complete integration of weighting, teacher supervision, synthetic examples, genre information, and masking is left open. The projection in the appendix is a concrete operation. Determining what historical information it learned would require a training specification or a comparison that isolates its contribution.

The other performance comparisons leave gaps in the definition of the evaluation samples, splits, and scoring decisions. This is especially important when results from distinct tasks are used to make an argument about why the approach works. An advantage in philosophical alignment could reflect the diversity of the training data, the correspondence between training and evaluation genres, the construction of the benchmark, or several of these together. The paper’s strongest empirical claim remains the directional resemblance it measures for the curated pair groups, with the broader comparisons giving more preliminary evidence about the circumstances in which the approach performs well.

What came after

No later citing work is identified, so there is no documented follow-up to describe. The paper itself sets out questions that subsequent studies could investigate.

One is whether the relationship between a Greek term and a Latin counterpart changes across periods. The authors propose using explicit temporal information wherever it can be assigned. That would make it possible to compare the relationship across chronologically defined collections. The resulting analysis would still depend on the composition of those collections, especially if some genres or authors are concentrated in particular periods.

Another question is whether the aggregate results conceal different patterns across philosophical schools. The discussion names Stoic and Epicurean vocabulary as examples for a possible comparison. Grouping passages by intellectual tradition would connect a lexical result to a narrower historical setting. The authors also describe broadening the term inventory and using computational methods to help identify candidate pairs. A wider inventory could reveal whether the measured separation extends to relationships that are less familiar or harder to classify.

Finally, the authors propose bringing evidence from manuscripts or archaeology into conversation with the textual analysis. Such evidence could help situate an occurrence within the history of a work or tradition. These directions preserve the distinction on which the interpretation of PhiloBERTA depends. Its scores record relationships among sampled textual representations. A chronological or philological explanation connects those relationships to people, works, and practices for which further evidence is needed.

Cite

Cite as Rumi Allbert and Makai L. Allbert. 2025. PhiloBERTA: A Transformer-Based Cross-Lingual Analysis of Greek and Latin Lexicons. arXiv:2503.05265.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2503.05265 · arXiv 2503.05265

@misc{allbert2025philoberta,
  title = {{PhiloBERTA: A Transformer-Based Cross-Lingual Analysis of Greek and Latin Lexicons}},
  author = {Rumi Allbert and Makai L. Allbert},
  year = {2025},
  doi = {10.48550/arxiv.2503.05265},
  eprint = {2503.05265},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2503.05265}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/allbert-2025-philoberta-transformer-based-cross-lingual/

References

15 references, from the paper's own bibliography.

  1. Y. Arzhanov. Porphyry in Syriac: The Treatise "On Principles and Matter" and its Place in the Greek, Latin, and Syriac Philosophical Traditions. Google Books, 2024. OpenAlex ↗ · Scholar ↗
  2. R. Copeland. Translating a Philosophical Style: Thomas Usk's Boethian Prose. Google Books, 2024. OpenAlex ↗ · Scholar ↗
  3. Caroline Craig, Kartik Goyal, Gregory R. Crane, Farnoosh Shamsian, and David A. Smith. Testing the limits of neural sentence alignment models on classical greek and latin texts and translations. In Workshop on Computational Humanities Research, 2023. OpenAlex ↗ · Scholar ↗
  4. B. Delignon. Aristotle's poetics in horace's epistle to the pisones: Transmission, cultural transfer, and auctorial rereading. Brill, 2025. OpenAlex ↗ · Scholar ↗
  5. F. Gaber. Ancient greek proverbs in diogenianus: A semantic study. Classical Papers, 2024. OpenAlex ↗ · Scholar ↗
  6. John Krahn and Collaborators. Knowledge distillation for ancient language alignment. Computational Linguistics Journal, 45(2):123–145, 2023. OpenAlex ↗ · Scholar ↗
  7. Kevin Krahn, Derrick Tate, and Andrew C. Lamicela. Sentence embedding models for ancient greek using multilingual knowledge distillation, 2023. OpenAlex ↗ · Scholar ↗
  8. George Lakoff and Mark Johnson. Metaphors We Live By. University of Chicago Press, Chicago, IL, 1980. OpenAlex ↗ · Scholar ↗
  9. Barbara McGillivray, Simon Hengchen, Viivi Lähteenoja, M. Palma, and A. Vatri. A computational approach to lexical polysemy in ancient greek, 2019. OpenAlex ↗ · Scholar ↗
  10. Valerio Perrone, Simon Hengchen, Marco Palma, Alessandro Vatri, Jim Q. Smith, and Barbara McGillivray. Lexical semantic change for ancient greek and latin. ArXiv, abs/2101.09069, 2021. OpenAlex ↗ · Scholar ↗
  11. Nils Reimers and Iryna Gurevych. Making monolingual sentence embeddings multilingual using knowledge distillation. In Proceedings of EMNLP, pages 4512–4525, 2020. our card
  12. Frederick Riemenschneider and Anette Frank. Graecia capta ferum victorem cepit. detecting latin allusions to ancient greek literature, 2023. OpenAlex ↗ · Scholar ↗
  13. F. Slisli. A metaphor to build empires: Imitatio and the politics of representation in european humanism. IJESA, 2024. OpenAlex ↗ · Scholar ↗
  14. R. Sprugnoli, Giovanni Moretti, and M. Passarotti. Building and comparing lemma embeddings for latin. classical latin versus thomas aquinas, 2020. OpenAlex ↗ · Scholar ↗
  15. Tariq Yousef, Chiara Palladino, Farnoosh Shamsian, Anise d’Orange Ferreira, and Michel Ferreira dos Reis. An automatic model and gold standard for translation alignment of ancient greek. In International Conference on Language Resources and Evaluation, 2022. OpenAlex ↗ · Scholar ↗