[Paper Review] Improving OCR Accuracy on Early Printed Books using Deep Convolutional Networks
This paper proposes a CNN-LSTM hybrid model with a voting mechanism to significantly improve OCR accuracy on early printed books, reducing character error rates (CER) to below 0.5% by leveraging deeper architectures and increased training data. The approach outperforms standard LSTM-based OCR by up to 44% in error reduction while maintaining comparable inference speed.
This paper proposes a combination of a convolutional and a LSTM network to improve the accuracy of OCR on early printed books. While the standard model of line based OCR uses a single LSTM layer, we utilize a CNN- and Pooling-Layer combination in advance of an LSTM layer. Due to the higher amount of trainable parameters the performance of the network relies on a high amount of training examples to unleash its power. Hereby, the error is reduced by a factor of up to 44%, yielding a CER of 1% and below. To further improve the results we use a voting mechanism to achieve character error rates (CER) below $0.5%$. The runtime of the deep model for training and prediction of a book behaves very similar to a shallow network.
Motivation & Objective
- To reduce character error rates (CER) in OCR for early printed books, which exhibit high variability in typefaces and spelling.
- To overcome the limitations of standard LSTM-based OCR models that require extensive manual labeling per book.
- To improve performance using deeper architectures with more trainable parameters, especially when sufficient training data is available.
- To evaluate the impact of data size and voting mechanisms on CER reduction in historical document OCR.
- To enable efficient training and inference through GPU acceleration and multi-threading.
Proposed method
- A CNN-LSTM hybrid architecture is used, where convolutional and pooling layers precede a bidirectional LSTM layer to extract spatial and sequential features from line images.
- The model is trained using the Connectionist Temporal Classification (CTC) loss function to align input images with transcribed text sequences.
- A cross-fold training approach is applied to train five independent models, enhancing robustness and diversity in predictions.
- A voting mechanism based on the ISRI analytic tools is employed, selecting the most frequent character across models after alignment via longest common substring.
- The implementation is built on TensorFlow to enable GPU-accelerated training and inference, improving throughput and scalability.
- Training and prediction are optimized using batch processing and multi-threading, with performance evaluated across different thread counts.
Experimental results
Research questions
- RQ1Can a CNN-LSTM hybrid model reduce CER on early printed books more effectively than standard LSTM-based OCR systems?
- RQ2How does increasing the amount of labeled training data affect the performance of deep OCR models on historical texts?
- RQ3To what extent does model voting improve OCR accuracy when applied to diverse predictions from multiple trained networks?
- RQ4Does the use of deeper architectures with more parameters lead to better performance despite higher complexity, given sufficient training data?
- RQ5How does the runtime of the deep model compare to standard OCR systems in terms of training and inference efficiency?
Key findings
- The proposed CNN-LSTM model reduces CER by up to 44% compared to standard LSTM-based OCR, achieving a CER of 1% or lower on all three tested early printed books.
- With the addition of voting, the CER drops further to below 0.5% on all books, with a minimum of 0.37% on Book 1488 when using 3000 training lines.
- The model maintains comparable inference speed to standard OCRopus, requiring only half the time per line due to efficient CTC decoding in native C++.
- Training time is reduced by a factor of approximately 40% when using up to 4 CPU threads, due to parallelization of convolution operations.
- The model benefits significantly from increased training data, with CER decreasing from 1.0% (1000 lines) to 0.66% (2000 lines) after voting, and further to 0.37% at 3000 lines.
- The deep model's performance is scalable and efficient, with minimal overhead in prediction time and strong gains from GPU-based batch training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.