Abstract
Machine Translation (MT) has achieved remarkable success for high-resource languages, yet thousands of low-resource languages remain underserved due to a lack of digitized text. This paper introduces OCR4MT, a comprehensive benchmark covering 60 low-resource languages across 29 scripts. We evaluate the performance of leading Optical Character Recognition (OCR) systems and investigate the impact of OCR-induced noise on downstream MT tasks. Our findings reveal that while OCR quality varies significantly by script, MT models are surprisingly robust to noise, and incorporating OCR-extracted data can lead to substantial performance gains, such as a +7 BLEU point increase for Nepali.
Introduction
The primary bottleneck for low-resource MT is the scarcity of clean, digitized parallel or monolingual data. However, vast amounts of "locked" information exist in physical archives, scanned books, and PDFs. While OCR technology offers a path to digitize this content, its effectiveness on rare scripts and the subsequent utility of "noisy" digitized text for MT have remained under-explored. This research addresses these gaps by creating a large-scale benchmark and conducting rigorous evaluations of OCR systems and their downstream impact.
The OCR4MT Benchmark and Methodology
The researchers developed OCR4MT, a dataset spanning 60 languages and ~186,000 lines of text. The benchmark utilizes two types of data:
- Real-world data: Scanned PDFs of the Universal Declaration of Human Rights (UDHR).
- Synthetic data: Digitally generated PDFs based on the Flores-101 dataset, with added noise such as skewing, font variations, and salt-and-pepper artifacts to simulate physical degradation.
The study evaluated two prominent OCR systems: the commercial Google Vision API and the open-source Tesseract. To assess the impact on MT, the authors employed backtranslation, using OCR-extracted text to fine-tune MT models. They also performed ablation studies by manually injecting specific error types (insertions, deletions, and replacements) to determine the noise tolerance of MT systems.
Key Insights: The Script Gap and Noise Tolerance
A critical finding is the significant disparity in OCR performance across different scripts. While Latin and Cyrillic scripts often achieve a Character Error Rate (CER) below 2%, Perso-Arabic and South Indic scripts present much greater challenges, with error rates frequently exceeding 10-20%.
Despite these errors, MT models demonstrate remarkable robustness. The study found that translation quality remains largely unaffected as long as the CER stays below 4%. Furthermore, the type of error matters: character replacements are significantly more detrimental to translation quality than simple insertions or deletions.
Performance Gains in Machine Translation
The most significant result is the empirical proof that OCR-extracted data, even if imperfect, can drastically improve MT for low-resource languages. In a case study on Nepali, adding 30,000 sentences of OCR-derived data via backtranslation resulted in a massive improvement in translation quality.
Key results include:
- The 10% Threshold: For most languages, the benefits of additional data begin to plateau once the CER exceeds 10%, particularly when character replacements are prevalent.
- System Comparison: Google Vision API generally outperformed Tesseract, particularly on complex scripts, averaging an 8.5% CER on the UDHR dataset compared to Tesseract’s 12.1%.
Conclusion
This work demonstrates that OCR is a viable and powerful tool for unlocking training data for low-resource MT. While a "script gap" persists in OCR technology, the inherent noise tolerance of MT models allows for significant performance gains using currently available tools. Future research into OCR post-correction models tailored for low-resource scripts could further lower error rates, potentially unlocking even more of the world's printed knowledge for global communication.
Summary updated