TL;DR
The HIPE-OCRepair-2026 competition introduces a new multilingual benchmark to evaluate how effectively Large Language Models (LLMs) can perform text-only post-correction on historical OCR transcripts. The results demonstrate that while LLMs can drastically reduce character error rates, deeply adapted models utilizing continued pre-training and fine-tuning far outperform zero-shot prompting, though avoiding the "over-correction" of already clean text remains a persistent challenge.
What Problem Does This Paper Address?
Libraries and archives worldwide hold millions of pages of digitized historical newspapers and books. However, much of this text was processed decades ago using legacy Optical Character Recognition (OCR) systems, leaving a massive "OCR debt"—transcripts riddled with character substitutions, insertions, deletions, and broken layouts. This poor text quality severely hinders downstream applications like keyword search, information retrieval, and named entity recognition.
Since re-scanning and re-processing millions of pages at scale is financially and logistically impractical, researchers are turning to text-only post-correction. LLMs are natural candidates for this because of their deep contextual understanding. However, using generative models on historical primary sources introduces a major risk: LLMs love to prioritize fluency over fidelity, meaning they might silently modernize archaic vocabulary or completely hallucinate text, thereby altering the historical record. This paper evaluates how modern LLM-based systems handle these constraints across different languages, eras, and noise levels.
Methods
The competition evaluated four teams implementing decoder-only LLMs (ranging from 8B to 24B parameters) across three main paradigms:
- Zero-Shot Prompting: Using off-the-shelf models (like Qwen3, DeepSeek, or Gemma 3) with highly specific system prompts instructing the model to fix errors without modernizing spelling or paraphrasing. Some teams added length-ratio safeguards to reject degenerate outputs.
- Supervised Fine-Tuning (SFT): Instruction-tuning models on aligned noisy-to-clean historical text pairs.
- Continued Pre-Training (CPT) + Fine-Tuning: The winning approach (by Team BnF-Mistral) took a 24B Mistral model, performed continued pre-training on 80 billion tokens of historical French documents, fine-tuned it using LoRA on real and synthetic OCR error pairs, and implemented an iterative "judge-and-retry" loop during inference to flag and correct hallucinations.
Performance was measured using character-level Match Error Rate (cMER)—a metric bounded between 0 and 1 that handles insertions more safely than standard Character Error Rate (CER)—alongside a sign-based item-level preference score to track how consistently a system improves individual text units rather than just averaging out big gains.
Datasets
The competition utilized the HIPE-OCRepair-2026 dataset, a harmonized multilingual benchmark covering English, French, and German texts spanning the 17th to the 20th centuries. It consolidates several existing and newly curated datasets:
- dta19: German books printed in Fraktur, artificially degraded at three distinct noise levels.
- icdar2017: Historical newspapers from the National Library of France and the British Library.
- impresso-snippets: A newly created dataset consisting of paragraph-level newspaper snippets from 1800–1959 with manually corrected ground truths.
- impresso-nzz & overproof: Used strictly for training data as their test sets were already public.
Key Insights and Ideas
- Domain Adaptation is King: Prompt engineering alone cannot substitute for historical domain knowledge. The winning system's massive edge came from pre-training the model directly on historical corpora before fine-tuning it on error patterns.
- The Over-Correction Trap: When an OCR transcript is already relatively clean (low-noise), LLMs often degrade the text by trying to "fix" valid archaic spellings or punctuation, turning a low error rate into a higher one.
- Guardrails are Mandatory: Generative models need strict inference-time pipelines. Team BnF-Mistral's "judge-and-retry" loop successfully reduced the rate of suspicious/hallucinated model outputs from 42% down to just 6%.
Key Results
- Overall Winner: Team BnF-Mistral dominated the competition, achieving the lowest overall cMER (0.0050 vs. the no-correction baseline of 0.0226) and a preference score of 0.9000, meaning it successfully improved 90% of all text units.
- Impact on High Noise: On the most severely degraded dataset (
dta19-l2), the top system slashed the error rate from a baseline cMER of 0.0546 down to 0.0082—an absolute error reduction of 4.64%. - Zero-Shot Competitiveness: The best zero-shot system (Team BLOCR) put up a strong fight, ranking 4th overall with a cMER of 0.0106, proving that well-crafted prompts and model selection can still yield respectable results without expensive training.
Limitations and Future Work
- The Text-Only Blindspot: Operating entirely without the source document images means that if a layout artifact or ink smudge completely obliterates a word, the LLM can only guess the missing text based on context, which heightens the risk of plausible hallucinations.
- Handling Low-Noise Text: Current systems still struggle to know when to leave the text alone. Future work must focus on better error-detection mechanisms so models don't over-correct clean inputs.
- Multimodal Integration: The authors point toward layout-aware and vision-language models (VLMs) as the next logical step to bridge the gap between text post-correction and full image-based OCR reprocessing.
Summary updated