Abstract
Script identification is a critical precursor to multi-lingual Optical Character Recognition (OCR) systems. Traditional methods rely solely on visual features, often failing to distinguish between visually similar scripts like Chinese, Japanese, and Korean (CJK). This paper proposes a two-stage framework that incorporates "cognitive" feedback from text recognition models. By fusing preliminary visual classification with recognition confidence scores, the system achieves a 1.28% accuracy improvement on the ICDAR RRC-MLT 2017 benchmark, with particularly strong gains in resolving CJK ambiguities.
Introduction
In multi-lingual OCR, identifying the script (e.g., Latin, Chinese, or Arabic) is the essential first step to selecting the appropriate language-specific recognition engine. While Deep Convolutional Neural Networks (CNNs) have advanced this field, they typically treat script identification as a pure image classification problem, ignoring the underlying linguistic structure. This "purely visual" approach often struggles with scripts that share structural similarities.
The authors argue that humans identify scripts not just by visual texture, but by recognizing characters. By incorporating the "confidence" of a recognition system, the proposed model aims to resolve ambiguities where visual features alone are insufficient.
Methodology
The proposed pipeline consists of three main components:
- Preliminary Classification (Stage 1): A ResNet-110 model serves as the baseline, processing $32 \times 32$ image patches to output a probability distribution across seven script classes: Arabic, Latin, Chinese, Japanese, Korean, Bangla, and Symbols.
- Text Recognition Feedback (Stage 2): The image is passed through seven separate Multi-Object Rectified Attention Network (MORAN) models, each pre-trained on a specific script. The logic is that a model trained on the correct script will yield a higher confidence score than one trained on an incorrect script. These results are converted into a normalized log-probability score ($s_{norm}$).
- Fusion CNN: A specialized CNN takes the probability scores from Stage 1 and the recognition scores from Stage 2 (formatted as $N \times N$ diagonal matrices). The authors found that a $1 \times 3$ kernel outperformed standard $3 \times 3$ kernels by better capturing the relationships between different language classes.
Experimental Results
The system was evaluated on the ICDAR RRC-MLT 2017 benchmark. The proposed method, designated Fusion_V4, consistently outperformed the visual-only baseline:
- Validation Accuracy: Improved from 82.17% to 84.23% (+2.06%).
- Test Accuracy: Improved from 82.66% to 83.94% (+1.28%).
The most dramatic gains were observed in Korean script identification. Confusion matrices revealed that the baseline ResNet often misidentified Korean as Latin or Chinese. By adding recognition feedback, the system correctly identified over 1,000 additional Korean images compared to the baseline.
Discussion and Future Work
While the integration of recognition feedback provides a clear accuracy boost, it introduces significant computational complexity. Running seven separate MORAN models for every word image is resource-intensive. Additionally, scripts with massive character sets, such as Japanese (~5,000 classes), proved more difficult for the recognition models to master, leading to less reliable feedback scores in those specific cases.
Future research will focus on developing an end-to-end model that jointly optimizes script identification and text recognition. Such an approach could maintain accuracy gains while significantly reducing the computational footprint required for real-time applications.
Summary updated