From transcription to semantic corpus analysis: unsupervised learning of sentence representations for ancient languages
Abstract
Automatic Text Recognition (ATR) now supplies digital humanities with large volumes of unstruc- tured, heterogeneous, and often noisy text in ancient languages. Downstream semantic analyses- text reuse identification, alignment, and semantic search-rely on sentence embeddings, yet ex- isting methods transfer poorly to ancient languages: generic multilingual encoders underperform, specialized language models yield anisotropic representation spaces, and labeled similarity data is scarce. We study two fully unsupervised strategies-TSDAE and unsupervised SimCSE (hence- forth CSE)-that adapt a specialized token-level language model into a corpus-specific sentence encoder using only raw sentences. We validate them on biblical reuse in patristic literature in Latin and Ancient Greek: 2,936 sentences carrying expert-verified reuses in works of Augustine, Jerome, and Athanasius, matched against the Vulgate, the Septuagint, and the Nestle--Aland New Testament. We decompose reuse identification into binary detection and correspondence retrieval, evaluate both tasks separately, and benchmark the adapted encoders against multilingual, specialized, distilled, and supervised fine-tuned baselines, on clean text and on text perturbed by simulated HTR errors and scribal abbreviations. On these test sets, the adapted encoders lead all baselines on both tasks, with complementary profiles: TSDAE leads detection given a large in-domain corpus, while CSE leads retrieval, reaches its optimum with as few as 4--8k raw in-domain sentences-a few tens of sec- onds of training on a laptop GPU-and transfers across works and authors. Under simulated noise, retraining CSE on the perturbed text itself outperforms a clean-trained encoder. Measurements of alignment, uniformity, and anisotropy relate the geometric effect of each strategy to the measured gains. The full pipeline-segmentation, fine-tuning, cross-corpus semantic search-is available to non-specialists through the online tool Paraphrasis.
Create a lesson
Metadata
- Categories
- cs.CL, cs.DL, cs.IR
Related papers
Contextual language representations link narrative processing to language and literacy in children
Shared title terminologycs.CLDongyi He, Tian Jiang, Nizhuan Wang et al.
What If Chinese Were Latinized? A Counterfactual Study of Input Representation, Tokenization, and Language Modeling
Shared title terminologycs.CLZijie Zheng, Ej Zhou
Relation Geometry in Semantic Space of Language Models
Shared title terminologycs.CLZhihan Cao, Hiroaki Yamada, Simone Teufel et al.
ARC-Encoder: learning compressed text representations for large language models
Shared title terminologycs.CLHippolyte Pilchen, Edouard Grave, Patrick Pérez
Lens: Bringing the Right Semantic Perspective into Focus for Training-Free Multimodal Representation Learning
Shared title terminologycs.CLXinran Liu, Shouqian Shi, Yixian Chen et al.
A large-scale corpus of religious radio broadcast transcripts from webstream recordings in the United States
Shared title terminologycs.CLSamuel Bestvater, Athena Chapekis, Skyler Seets et al.