cs.CLAug 28, 2026

Text Restoration of Ancient Documents with Language Models

Authors: Shibingfeng Zhang, Edoardo Caraffa, Annafelicia Zuffrano, Maddalena Modesti, Giovanni Colavizza

Organizations: Department of Classical Philology and Italian Studies, University of Bologna · Centre for Digital and Computational Humanities, University of Copenhagen

Abstract

Purpose - This study investigates the feasibility of restoring missing text caused by physical lacunae in damaged ancient manuscripts using language models. Methodology - The study proposes different scenarios to replicate real-world conditions. Language models of different architectures are applied according to their suitability to each scenario. We also propose several decoding strategies that further enhance performance and address the discrepancy between lacuna boundaries and the models' tokenization schemes. Findings - The results reveal that text restoration of these documents cannot be fully automated, but it can serve as a useful tool to assist paleographers in their work. Model performance varies greatly depending on which structural part of the document needs to be restored and whether the character length of missing text is available. Originality - This is the first study and to analyze model performance on formulaic and non-formulaic content and the impact of lacuna length awareness in manuscript restoration. Both are recurring challenges in paleographers' manual restoration work. Through systematic comparison and both qualitative and quantitative analysis of different models' performance under varying settings, this study offers a guideline for developing assistive tools to support paleographers.

Figures & tables

Explore similar work

CardsList
  1. Apollo Restore: A Foundation LLM for Historical Greek Optimized for Fill-in-the-Middle Restoration of Ancient Greek Texts

    Sep 18, 2026Hope McGovern, Anna Dolganov, Samuel Belkadi +3Language Modeling

  2. Think Before You Restore: Risk-Aware Manchu Manuscript Restoration with Stroke-Guided Attention

    Sep 28, 2026Mingqiu Liang, Dongdong Wang, Siyang Lu +2Image RestorationHistorical Document Processing

  3. MESA: A Training-Free Multi-Exemplar Deep Framework for Restoring Ancient Inscription Textures

    Apr 19, 2026Vasileios Toulatzis, Sofia Theodoridou, Ioannis FudosImage GenerationImage Restoration