TL;DR
This paper introduces OCR4MT, a first-of-its-kind benchmark for evaluating Optical Character Recognition (OCR) across 60 low-resource languages. The researchers demonstrate that using OCR to "unlock" text from scanned documents can significantly boost Machine Translation (MT) performance through backtranslation, even when the OCR output contains substantial noise.
What Problem Does This Paper Address?
Machine Translation has seen incredible leaps in recent years, but these successes are largely confined to high-resource languages like English or French. For the thousands of low-resource languages spoken globally, the primary bottleneck is a lack of clean, machine-readable training data.
Interestingly, the data often exists—it’s just "locked" away in digitized books, archives, and PDFs that aren't easily searchable or processable by computers. While OCR tools can theoretically extract this text, we haven't known how well they perform on low-resource scripts (like Khmer or Ethiopic) or how much "OCR noise" (errors in text recognition) an MT system can tolerate before the data becomes more harmful than helpful.
Methods
The authors tackled this by building a comprehensive evaluation pipeline:
- Benchmark Creation: They developed OCR4MT, a benchmark covering 60 languages across diverse scripts (Latin, Cyrillic, Perso-Arabic, Indic, etc.). It includes both "real" PDFs from the Universal Declaration of Human Rights (UDHR) and "synthetic" PDFs generated from the Flores-101 dataset.
-
Noise Simulation: To make synthetic data realistic, they applied various augmentations like skewing, salt-and-pepper noise, and changing opacity to mimic old or poorly scanned documents. Sample of data augmentations applied to Amharic text to simulate real-world scan conditions.
-
OCR Evaluation: They performed a "black-box" evaluation of two state-of-the-art systems: the commercial Google Vision API and the open-source Tesseract.
- Downstream MT Impact: They used the extracted text for backtranslation—a technique where a model translates target-language text back into a source language to create synthetic parallel training pairs. They then measured how different levels and types of OCR errors affected the final translation quality (BLEU score).
Datasets
- OCR4MT (New): The core contribution, featuring 186,060 lines of text across 60 languages. It bridges the gap between existing small-scale benchmarks (which usually cover only 3-4 languages) and the needs of modern multilingual AI.
- UDHR: Used for real-world PDF validation.
- Flores-101: Used to create the synthetic, augmented portion of the benchmark.
- Nepali Books Corpus: A real-world test case containing ~342M tokens, used to prove the utility of OCR in a practical MT setting.
Key Insights and Ideas
- The Script Gap: OCR performance is highly uneven. While Latin and Cyrillic scripts are handled with near-perfect accuracy (Character Error Rate < 2%), Perso-Arabic and Southeast Asian scripts remain a significant challenge for current SOTA models.
- MT is Surprisingly Resilient: One of the most encouraging findings is that MT models are robust to small amounts of noise. Performance remains stable up to a Character Error Rate (CER) of about 4%.
- Not All Errors Are Equal: The type of error matters more than the amount. Character replacements (e.g., mistaking 'o' for 'e') are far more damaging to translation quality than simple insertions or deletions (like missing a space or an extra character).
- Net Positive Gain: Even with "poor" OCR quality (CER > 10%), using the noisy data for backtranslation is often better than having no data at all.
Key Results
The evaluation showed that Google Vision generally outperformed Tesseract across almost all language groups. As seen in Figure 2, the average CER for Google Vision on real UDHR documents was 8.5%, compared to 12.1% for Tesseract.
In a practical application for English-to-Nepali translation, the researchers found that adding 30,000 sentences of OCR-extracted data led to a massive +7 BLEU point increase in translation quality.
The ablation studies (Figure 5 and 6) further quantified the "noise threshold," showing that while replacement errors cause a sharp drop in BLEU, the model can tolerate significant insertion/deletion noise before performance degrades substantially.
Limitations and Future Work
While the study proves OCR is a viable path for data augmentation, it highlights that Perso-Arabic scripts still need significant attention from the OCR research community. Additionally, the current work focuses on backtranslation; future research could explore how OCR noise impacts other techniques like masked language modeling or direct fine-tuning. The authors have made their scripts and benchmark available on GitHub to encourage further exploration in this area.
Summary updated