Improving patch-based scene text script identification with ensembles of conjoined networks

Lluís Gómez i Bigorda, Anguelos Nicolaou, Dimosthenis Karatzas · DOI

TL;DR

This paper tackles the challenge of identifying the script (e.g., Latin, Chinese, Arabic) of text in natural scene images, a crucial step for multi-lingual OCR systems. They introduce a novel "ensemble of conjoined networks" approach that leverages patch-based analysis to overcome the extreme aspect ratio variations common in scene text, achieving state-of-the-art results and a new benchmark dataset for end-to-end multi-lingual scene text understanding.

What Problem Does This Paper Address?

Modern Optical Character Recognition (OCR) systems often struggle with multi-lingual environments because recognition algorithms are language-dependent. To address this, script identification is essential to select the correct language model. While script identification is well-studied for document analysis, it's a significant challenge for scene text due to factors like perspective distortion, variable illumination, and typeface design. A key issue is the highly variable aspect ratio of scene text instances, which standard Convolutional Neural Networks (CNNs) struggle with when resizing images to a fixed aspect ratio, potentially losing crucial discriminative information. This paper aims to improve script identification for scene text by proposing a patch-based approach that preserves these discriminative image parts.

Methods

The core of the proposed method is a patch-based classification framework that avoids resizing entire images to a fixed aspect ratio. Instead, they extract small image patches from the scene text.

  1. Deep CNN for Patch Representation: They use a deep CNN architecture (inspired by existing work in script identification) to learn expressive representations for these individual image patches.
  2. Ensemble of Conjoined Networks (ECN): To overcome the limitations of simple averaging of patch predictions and to learn the relative importance of patches, they introduce an ECN. This involves training multiple identical CNNs (conjoined networks) together. At training time, the ECN receives a set of patches from the same image (and thus the same script label) and learns to produce a single, unified classification response. This forces the network to learn not only good patch representations but also how to combine them effectively for the final image-level classification. This is a novel training methodology that directly optimizes for the end goal of image classification.

Datasets

The authors evaluate their method on three datasets:

  • CVSI-2015: A dataset for video script identification, primarily featuring overlaid text.
  • SIW-13: A dataset for scene text script identification.
  • MLe2e (Multi-Language End-to-end): A new benchmark dataset introduced by the authors. It's designed for evaluating multi-lingual scene text end-to-end reading systems, covering text detection, script identification, and text recognition. It's compiled from existing datasets and revised for homogeneity, featuring four scripts (Latin, Chinese, Kannada, Hangul) and significant variability.

Key Insights and Ideas

  • Patch-based analysis is crucial for scene text: The extreme aspect ratio variations in scene text make holistic CNN approaches problematic. Focusing on discriminative patches preserves vital information.
  • Ensembles learn patch importance: Simply averaging patch predictions is insufficient. The "ensemble of conjoined networks" approach effectively learns which patches are most important for classification, leading to better performance.
  • Joint training for classification: Training the CNNs within the ECN framework directly optimizes for the final image-level classification task, rather than just individual patch classification, bridging the gap between patch representation learning and the overall goal.
  • MLe2e dataset enables end-to-end evaluation: The new MLe2e dataset is a valuable contribution for researchers working on comprehensive multi-lingual scene text understanding systems.

Key Results

  • State-of-the-art performance: The proposed ECN method achieves state-of-the-art results on the SIW-13 dataset, outperforming previous methods by over 4 percentage points. It also performs competitively on the CVSI-2015 dataset.
  • Significant improvement on SIW-13: The ECN approach shows a notable improvement over a simpler CNN approach (averaging patch predictions) on the challenging SIW-13 dataset.
  • End-to-end pipeline effectiveness: When combined with a text detector and an off-the-shelf OCR engine (Tesseract), the proposed script identification method contributes to a functional multi-lingual end-to-end system, demonstrating the importance of accurate script identification.
  • Robustness to image width: Classification accuracy remains robust even for images with limited width (and thus fewer unique patches).

Limitations and Future Work

  • Computational cost: The ECN approach increases computational complexity due to the ensemble nature. The authors mention this as a drawback and propose fine-tuning as a way to mitigate it.
  • Tesseract's limitations: The end-to-end pipeline using Tesseract showed lower performance, partly because Tesseract is designed for large text corpora and not well-suited for single text lines, especially in multi-lingual contexts.
  • Cross-domain performance: While models trained on scene text datasets are stable across other scene text data, models trained on video overlaid text (CVSI) show weakness when applied to scene text. This suggests that learning effective cross-domain models is still a challenge.
  • Future work: The authors suggest that replacing the off-the-shelf OCR engine with modules better suited for scene text imagery could further improve end-to-end performance. They also highlight the potential for script identification to inform and improve text localization.

Summary updated

BibTeX
@article{bigorda2017improving,
  author = {Lluís Gómez i Bigorda and Anguelos Nicolaou and Dimosthenis Karatzas},
  title = {{Improving patch-based scene text script identification with ensembles of conjoined networks}},
  journal = {Pattern Recognition},
  year = {2017},
  doi = {10.1016/j.patcog.2017.01.032},
}
Figure