Apollo Restore: A Foundation LLM for Historical Greek Optimized for Fill-in-the-Middle Restoration of Ancient Greek Texts
cs.CL
Submitted: 2026-09-18
Updated: 2026-10-07
Comments: 16 pages, 6 figures
License: http://creativecommons.org/licenses/by/4.0/
The gist: We present Apollo Restore, a 24-billion-parameter large language model for restoring lacunae---physical gaps---in fragmentary Ancient Greek texts.
Terminology
Abstract
We present Apollo Restore, a 24-billion-parameter large language model for restoring lacunae---physical gaps---in fragmentary Ancient Greek texts. Fine-tuned from Mistral Small with a fill-in-the-middle objective, Apollo Restore reconstructs missing spans without requiring oracle knowledge of their length. To our knowledge, it is the first large-scale decoder model for historical Greek, and the first for any ancient Mediterranean language. Evaluated as in prior work, on short gaps of up to ten characters, Apollo Restore places the correct restoration among its top twenty candidates for 80.6%/54.6%/61.0% of documentary-papyrus, literary-papyrus, and stone-inscription lacunae, exceeding the strongest published models by 1.6 times / 2.6 times / 1.4 times. Prior evaluation protocols, however, inflate scores through a bias toward trivially short gaps; under a length-balanced metric Apollo Restore's advantage over the strongest published models grows to 2.3 times / 3.5 times / 1.6 times and degrades gracefully, even given incorrect length hints. In a blind study, 20 expert papyrologists, epigraphists, and philologists strongly preferred Apollo Restore to the strongest baseline and judged its performance at least as good as human restorations in 77% of cases. Apollo Restore also improves the published reading of P.Herc. 1667---a papyrus roll carbonised in the eruption of Vesuvius in 79 CE and digitally unrolled and edited after Apollo Restore's training data was compiled. Apollo Restore is an output of the Decoding Antiquity initiative to build specialized LLMs for historical languages and manuscripts, led by the Austrian Academy of Sciences.
Sources
- Complete virtual unwrapping and reading of a rolled Herculaneum papyrus
- Latin BERT: A Contextual Language Model for Classical Philology
- Efficient Training of Language Models to Fill in the Middle
- Institutional Books 1.0: A 242B token dataset from Harvard Library's collections, refined for accuracy and usability
- Instruct-Tuning Pretrained Causal Language Models for Ancient Greek Papyrology and Epigraphy
- The Llama 3 Herd of Models
- InCoder: A Generative Model for Code Infilling and Synthesis
- Mistral 7B
- Efficient Memory Management for Large Language Model Serving with PagedAttention
- Attention Is All You Need
- PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering