TL;DR
While modern vision-language models seem to possess near-magical capabilities, their optical character recognition (OCR) performance completely collapses outside of a few dominant writing systems. By introducing GlotOCR Bench, a new benchmark covering 158 Unicode scripts, researchers reveal a stark performance cliff: even frontier models fail to generalize beyond 30 scripts, frequently hallucinating text in familiar languages when confronted with unfamiliar characters.
What Problem Does This Paper Address?
Optical character recognition (OCR) is a foundational problem in computer vision, yet its evaluation has quietly narrowed over time. Standard benchmarks primarily focus on Latin, Chinese, Japanese, and Korean (CJK), alongside a handful of other high-resource scripts.
However, the Unicode Standard encodes over 170 scripts representing thousands of years of human history and millions of active speakers. Without a systematic way to evaluate OCR across the full breadth of Unicode, we cannot reliably digitize books or scan documents for low-resource and historical languages. This paper addresses this massive evaluation gap by probing how well current vision-language models (VLMs) and specialized OCR models generalize to the long tail of human writing systems.
Methods
The authors built a robust, automated text-to-image rendering pipeline to generate evaluation data for 158 scripts.
- Rendering Engine: Text is shaped using HarfBuzz and rasterized with FreeType using fonts from Google Fonts, ensuring proper handling of both Left-to-Right (LTR) and Right-to-Left (RTL) scripts. Every script underwent manual quality control to verify rendering accuracy.
- Image Variants: For every sentence, the pipeline generates a clean version (black text on a white background with minor rotation) and a degraded version. The degraded version simulates an aged physical document using a pipeline of augmentations: textured paper backgrounds, ink erosion/spread, elastic deformation, resolution downsampling, and JPEG artifacts.
- Evaluation: The authors evaluated 14 models (including proprietary APIs like Gemini 3.1 Flash-Lite and GPT-4.1, alongside open-weight models like Qwen3-VL-8B and dots.ocr) in a zero-shot setting.
Datasets
The paper introduces GlotOCR Bench, an evaluation-only dataset containing 16,375 sentences across 158 Unicode scripts. Text data was compiled from diverse sources including GlotLID v3, Wiktionary, WikiSource, Omniglot, and Common Crawl.
The benchmark categorizes scripts into three resource tiers based on web prevalence:
- High-resource: Latin (4,000 sentences).
- Mid-resource: 9 scripts with substantial web presence (e.g., Arabic, Cyrillic, Devanagari, Han, Hebrew, Thai).
- Low-resource: The remaining 148 scripts (e.g., Ethiopic, Khmer, Cherokee, Ogham).
Key Insights and Ideas
- The Performance Cliff: OCR generalization is not a smooth gradient. Models exhibit a threshold phenomenon: they either have sufficient exposure to a script during pretraining or they fail entirely.
- OCR is Secretly Language Modeling: A model's OCR success heavily tracks its text-only pretraining data rather than pure visual recognition. Providing the model with "hints" (the exact character set and language) drastically improves performance on ambiguous mid-resource scripts like Han, but does absolutely nothing for low-resource scripts. The bottleneck isn't just visual; it's a lack of underlying script knowledge.
- Cross-Script Hallucination: When models encounter an unfamiliar script, they rarely fail silently or output random noise. Instead, they confidently predict fluent-looking text in a high-resource "attractor" script that visually or distributionally resembles the target (e.g., converting Gujarati to Devanagari, or Ogham to Latin).
Key Results
The quantitative results highlight a near-universal collapse on the low-resource tier:
- High-Resource (Latin): Nearly all models excel, with top models achieving over 90% accuracy (Acc@5). Gemini 3.1 Flash-Lite leads at 95.3%.
- Mid-Resource: Performance drops but remains usable for top models (Gemini 3.1 Flash-Lite hits 82.7%;
dots.ocrhits 78.3%). - Low-Resource: Performance completely plummets. The absolute best models (Gemini 3.1 Flash-Lite,
dots.ocr, anddots.mocr) achieve a meager 7.7% accuracy, while 11 out of the 14 evaluated models score below 5% (and 8 score below 1%).
Limitations and Future Work
While GlotOCR Bench is a massive step forward, the authors note a few limitations:
- Data Scarcity: For 68 of the rarest scripts, it was impossible to find 100 clean sentences, limiting the statistical strength of those specific sub-evaluations.
- Layout Constraints: The rendering pipeline currently only supports horizontal text, meaning vertically written scripts like Mongolian are not evaluated in their native orientations.
- License: The dataset is released under an evaluation-only license to prevent it from being ingested into future training loops, preserving its utility as a true generalization test.
The authors hope this benchmark serves as a wake-up call for the AI community to expand multilingual OCR development well beyond the handful of scripts that dominate the web today.
Summary updated