Skip to main content
QUICK REVIEW

[Paper Review] Generative Shape Models: Joint Text Recognition and Segmentation with Very Little Training Data

Xinghua Lou, Ken Kansky|arXiv (Cornell University)|Nov 8, 2016
Handwritten Text Recognition TechniquesComputer Science18 references6 citations
TL;DR

This paper introduces a generative shape model that achieves state-of-the-art scene text recognition and fine-grained character segmentation using only hundreds of training images—orders of magnitude fewer than discriminative models. By encoding invariance through lateral constraints and using a greedy font selection method, the model generalizes robustly to affine and non-affine deformations, outperforming deep learning baselines despite minimal supervision.

ABSTRACT

We demonstrate that a generative model for object shapes can achieve state of the art results on challenging scene text recognition tasks, and with orders of magnitude fewer training images than required for competing discriminative methods. In addition to transcribing text from challenging images, our method performs fine-grained instance segmentation of characters. We show that our model is more robust to both affine transformations and non-affine deformations compared to previous approaches.

Motivation & Objective

  • To address the challenge of scene text recognition in real-world images with high variation in font, deformation, and image quality.
  • To reduce reliance on massive labeled datasets by developing a generative model that generalizes well from few training examples.
  • To jointly perform accurate character segmentation and word parsing without explicit detection steps.
  • To improve robustness to affine and non-affine distortions through explicitly encoded shape invariance.
  • To demonstrate that generative modeling with structured priors can outperform deep discriminative models when data is scarce.

Proposed method

  • A generative shape model is trained on clean, uncluttered character images to learn global shape structure using short and long lateral constraints.
  • Lateral constraints encode invariance to deformations by allowing controlled perturbations within a specified radius, improving robustness to distortions.
  • A greedy font selection algorithm extracts representative fonts from a large database to handle strong font variation in real scenes.
  • A structured output learning-based word parser uses character-level features (e.g., size, position, color, n-grams) and language models to reconstruct words.
  • The model performs backtracing during inference to refine segmentation boundaries, unlike standard discriminative models that only do forward passes.
  • Parsing features include shape priors, spatial distances, height and y-offset differences, color similarity, and n-gram probabilities, all normalized and log-transformed.

Experimental results

Research questions

  • RQ1Can a generative shape model achieve state-of-the-art performance in scene text recognition with significantly less training data than discriminative models?
  • RQ2How effective is explicit invariance encoding via lateral constraints in handling affine and non-affine deformations?
  • RQ3To what extent does the generative model’s ability to produce accurate segmentation boundaries improve parsing performance compared to detection-based approaches?
  • RQ4How does the performance of the system compare to discriminative models like CNNs when language models are disabled?
  • RQ5Can a non-hierarchical generative model outperform deep hierarchical discriminative models when invariance is encoded directly in the model structure?

Key findings

  • The model achieved state-of-the-art performance on ICDAR 2013 and SVT datasets using only hundreds of training images, far fewer than the millions typically required by discriminative models.
  • When the language model was disabled, the system's performance dropped by approximately 15%, compared to a 40% drop for PhotoOCR, indicating superior robustness from better segmentation.
  • The model demonstrated strong generalization to both affine transformations and non-affine deformations due to explicitly encoded lateral constraints.
  • Unlike discriminative models such as CNNs and DPMs, the generative model produces accurate segmentation boundaries without additional post-processing.
  • The system outperformed PhotoOCR on clean images where PhotoOCR often fails, highlighting the advantage of precise segmentation.
  • The generative approach with structured priors and invariance encoding surpassed deep discriminative models in low-data regimes, proving that inductive bias can outweigh data scale.

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.