Skip to main content
QUICK REVIEW

[Paper Review] Statistical Learning for OCR Text Correction

Jie Mei, Aminul Islam|arXiv (Cornell University)|Nov 21, 2016
Handwritten Text Recognition TechniquesComputer Science20 references14 citations
TL;DR

This paper proposes a statistical learning model for OCR text correction that expands candidate suggestions beyond OCR outputs using a Damerau-Levenshtein distance-based vocabulary search and integrates OCR-specific features (e.g., edit distance, context similarity, lexical features) into a regression framework. The model achieves 61.5% correction rate with top-1 suggestions and 71.5% with top-3 suggestions, approaching the theoretical upper bound of 78%.

ABSTRACT

The accuracy of Optical Character Recognition (OCR) is crucial to the success of subsequent applications used in text analyzing pipeline. Recent models of OCR post-processing significantly improve the quality of OCR-generated text, but are still prone to suggest correction candidates from limited observations while insufficiently accounting for the characteristics of OCR errors. In this paper, we show how to enlarge candidate suggestion space by using external corpus and integrating OCR-specific features in a regression approach to correct OCR-generated errors. The evaluation results show that our model can correct 61.5% of the OCR-errors (considering the top 1 suggestion) and 71.5% of the OCR-errors (considering the top 3 suggestions), for cases where the theoretical correction upper-bound is 78%.

Motivation & Objective

  • Address the limitation of existing OCR post-processing models that restrict candidate suggestions to OCR engine outputs, missing corrections for errors not recognized by any OCR.
  • Overcome the bias in n-gram frequency-based models that under-prioritize low-frequency but correct corrections.
  • Improve OCR error correction accuracy by integrating diverse OCR-specific features into a unified regression framework.
  • Provide a benchmark dataset of ground-truth OCR errors for reproducible evaluation of post-processing models.
  • Demonstrate that combining multiple features and regression models significantly enhances correction performance over baseline methods.

Proposed method

  • Expand candidate space by generating all words within a Damerau-Levenshtein edit distance δ from each OCR error, enabling discovery of corrections missed by OCR engines.
  • Integrate OCR-specific features including edit distance, lexical similarity, language model scores, context word popularity, and relaxed context matching.
  • Use a regression model (e.g., Random Forest, AdaBoost.R2) to rank candidate corrections based on feature scores, rather than relying on heuristic or frequency-based selection.
  • Train the regression model on a ground-truth dataset of OCR errors and their intended corrections, derived from a book in the Biodiversity Heritage Library.
  • Apply feature ablation and visualization to assess individual feature contributions and distinctiveness in locating correct corrections.
  • Evaluate model performance using precision at k (P@k) metrics across multiple error categories (bounded, unbounded, true-positive, false-positive).

Experimental results

Research questions

  • RQ1Can expanding the candidate suggestion space beyond OCR engine outputs improve OCR error correction accuracy?
  • RQ2To what extent do OCR-specific features (e.g., edit distance, context similarity, lexical features) improve correction performance compared to n-gram frequency alone?
  • RQ3How effective is a regression-based ranking model in selecting the correct correction from a large candidate set compared to heuristic or frequency-based methods?
  • RQ4What is the contribution of individual features in locating correct corrections, and how do they vary across different error types?
  • RQ5How close can a statistical learning model come to the theoretical upper bound of correction accuracy for OCR errors?

Key findings

  • The proposed model achieves a 61.5% correction rate when the correct answer is among the top-1 suggestions, and 71.5% when considering the top-3 suggestions, approaching the theoretical upper bound of 78%.
  • For 25.9% of uncorrected errors, the correct word appears in the top three suggestions, demonstrating strong candidate coverage.
  • The model’s performance is significantly enhanced by combining multiple features, with context-based features being particularly effective for bounded errors and edit-distance/lexical features for false-positive errors.
  • Ensemble regression models such as Random Forest and AdaBoost.R2 outperform individual models like SVR and MLP, showing greater robustness and higher precision at k.
  • The Relax context popularity feature outperforms exact context popularity in coverage, and context-based features locate corrections that other features miss.
  • The model identifies 78.0% of all corrections within the top 10 candidates when all features are used, indicating strong overall candidate space coverage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.