From transcription to semantic corpus analysis: unsupervised learning of sentence representations for ancient languages

· Source: Computation and Language · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Digital Humanities · Depth: Expert, quick

Summary

Automatic Text Recognition (ATR) provides digital humanities with large volumes of unstructured, noisy ancient language texts. Existing sentence embedding methods, including generic multilingual encoders and specialized language models, perform poorly for downstream semantic analysis tasks like text reuse identification, alignment, and semantic search due to anisotropic representation spaces and lack of labeled similarity data. This research studies two unsupervised strategies, TSDAE and Contrastive Sentence Embedding (CSE), which adapt a specialized token-level language model into a corpus-specific sentence encoder using only raw sentences. Evaluated on 2,935 expert-verified biblical reuse parallels in Latin and Ancient Greek, these adapted encoders outperform all baselines. TSDAE leads binary detection with large in-domain corpora, while CSE excels in correspondence retrieval, reaching optimal performance with just 4-8k raw sentences and transferring across authors and noisy post-ATR text. The full pipeline is available via the online tool Paraphrasis.

Key takeaway

For digital humanities researchers or computational linguists working with ancient texts, you can significantly improve semantic analysis tasks like text reuse identification and semantic search. Your existing specialized language models can be effectively adapted using unsupervised methods, even with limited data. Consider implementing TSDAE for large-scale binary detection or CSE for efficient correspondence retrieval, which requires only 4-8k sentences, and explore the Paraphrasis online tool for a complete pipeline.

Key insights

Unsupervised methods adapt specialized LMs for ancient language sentence embeddings, outperforming baselines for semantic analysis.

Principles

Method

TSDAE and Contrastive Sentence Embedding (CSE) adapt a specialized token-level language model into a corpus-specific sentence encoder using only raw sentences for corpus-specific sentence encoding.

In practice

Topics

Best for: NLP Engineer, AI Scientist, Research Scientist, Domain Expert

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computation and Language.