[Paper Review] Sequence-to-Label Script Identification for Multilingual OCR
This paper proposes a sequence-to-label approach for multilingual OCR script identification, framing the task as an encoder-summarizer architecture trained end-to-end. By replacing the prior sequence-to-sequence method with a simpler, more efficient sequence-to-label model, the authors achieve a 16% reduction in script identification error and a 33% reduction in character error rate due to script misidentification on a 232-language, 30-script dataset.
We describe a novel line-level script identification method. Previous work repurposed an OCR model generating per-character script codes, counted to obtain line-level script identification. This has two shortcomings. First, as a sequence-to-sequence model it is more complex than necessary for the sequence-to-label problem of line script identification. This makes it harder to train and inefficient to run. Second, the counting heuristic may be suboptimal compared to a learned model. Therefore we reframe line script identification as a sequence-to-label problem and solve it using two components, trained end-toend: Encoder and Summarizer. The encoder converts a line image into a feature sequence. The summarizer aggregates the sequence to classify the line. We test various summarizers with identical inception-style convolutional networks as encoders. Experiments on scanned books and photos containing 232 languages in 30 scripts show 16% reduction of script identification error rate compared to the baseline. This improved script identification reduces the character error rate attributable to script misidentification by 33%.
Motivation & Objective
- To address the inefficiency and suboptimal performance of prior sequence-to-sequence models for line-level script identification in multilingual OCR.
- To improve script identification accuracy and reduce computational cost by reframing the task as a sequence-to-label problem.
- To evaluate various summarizer architectures (e.g., Gate, LSTM, Mean, Max) in combination with a shared encoder for optimal performance.
- To reduce character error rates caused by script misidentification in multilingual OCR systems.
- To explore limitations in handling mixed-script lines and propose directions for future end-to-end integration.
Proposed method
- The method uses an encoder to convert a line image into a sequence of deep features using an inception-style convolutional network.
- A summarizer component aggregates the feature sequence into a single label (script) via different architectures, including Gate, LSTM, Mean, and Max pooling.
- The Gate summarizer uses learned attention to emphasize salient character features, such as distinctive Cyrillic or Devanagari characters.
- The entire system is trained end-to-end using cross-entropy loss on the script classification task.
- The approach replaces the prior method’s counting heuristic over per-character predictions with a direct sequence-to-label classification.
- The system is evaluated on a diverse dataset of scanned books and photos containing 232 languages across 30 scripts.
Experimental results
Research questions
- RQ1Can a sequence-to-label formulation outperform the prior sequence-to-sequence approach for line-level script identification in multilingual OCR?
- RQ2How do different summarizer architectures (e.g., Gate, LSTM, Mean, Max) compare in terms of accuracy and efficiency?
- RQ3To what extent does improved script identification reduce character error rates due to misclassification?
- RQ4Why does the Gate summarizer outperform LSTM despite both being sequence models?
- RQ5What are the limitations of the current line-level script identification approach when handling mixed-script lines?
Key findings
- The proposed sequence-to-label method reduces script identification error rate by 16% compared to the prior sequence-to-sequence baseline.
- The Gate summarizer achieves the best performance, leveraging learned attention to focus on distinctive script features like Cyrillic or Devanagari characters.
- The improved script identification leads to a 33% reduction in character error rate attributable to script misidentification.
- The method is computationally more efficient than the prior sequence-to-sequence model due to its simpler architecture.
- The model struggles with non-Latin scripts in photo data, where error rates double compared to the Oracle case, due to insufficient training data for such scripts.
- The LSTM model does not outperform the Gate summarizer despite its sequence modeling capability, suggesting attention mechanisms are more effective for this task.
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.