Parsimonious HMMs for Offline Handwritten Chinese Text Recognition

Wenchao Wang, Jun Du, Zi-Rui Wang

Abstract

Offline Handwritten Chinese Text Recognition (HCTR) faces significant challenges due to the vast vocabulary and structural complexity of Chinese characters. Traditional Hidden Markov Models (HMMs) often suffer from resource bloat and fail to exploit the shared visual components (radicals) across different characters. This paper introduces Parsimonious HMMs (PHMMs), a framework that utilizes a data-driven state-tying approach to optimize model efficiency and accuracy. By grouping similar states into a shared pool, PHMMs achieve a 25% reduction in model size and a 60% decrease in decoding time, while simultaneously improving recognition performance on standard benchmarks.

Introduction

The recognition of handwritten Chinese text is a demanding task in computer vision, primarily due to the thousands of unique characters in the Chinese script. Standard HMM-based approaches typically assign a fixed number of hidden states (usually five) to each character. This "one-size-fits-all" strategy leads to two primary inefficiencies:

  1. Computational Overhead: Modeling over 4,000 characters with multiple states per character results in massive memory requirements and slow inference.
  2. Structural Redundancy: Chinese characters are composed of recurring radicals. Traditional HMMs treat these shared components as independent entities, failing to leverage the statistical commonalities between characters that look visually similar.

Methodology: Parsimonious HMMs

To address these issues, the authors propose Parsimonious HMMs (PHMMs). The central innovation is state tying, where similar states across different character models are mapped to a shared "tied-state pool." This allows the model to learn "visual phonemes"—sub-character structures that appear in multiple contexts.

State tying across different characters sharing similar visual components.

The construction of the tied-state pool follows a robust two-step algorithm:

  1. Top-Down Decision Tree Building: A binary decision tree partitions states based on data-driven questions about character properties. These questions are generated automatically using k-means clustering on character statistics, ensuring the model captures visual similarities without manual rule-definition.
  2. Bottom-Up Reclustering: To achieve a specific target number of states, a greedy algorithm merges the most similar clusters identified in the first step. This ensures the model remains "parsimonious" or compact.
The two-step algorithm for building a parsimonious tied-state pool.

Experimental Results

The PHMM framework was evaluated using the CASIA-HWDB database for training and the ICDAR-2013 competition dataset for benchmarking. The results demonstrate that the "Parsimonious DNN-HMM" (DNN-PHMM) significantly outperforms conventional baselines:

  • Accuracy: The model achieved a 6.2% relative reduction in Character Error Rate (CER).
  • Efficiency: Parameter count was reduced by 25%, and decoding time was slashed by 60%.
  • Robustness: In extreme compression scenarios (averaging only 1 state per character), the PHMM maintained high performance, outperforming standard HMMs by a 35.5% relative CER reduction.

Discussion and Conclusion

The success of PHMMs suggests that the uniform state assumption in traditional HMMs is suboptimal. By allowing characters to share states, the model effectively pools training data for shared radicals, leading to more robust sub-character representations. This data-driven approach not only reduces the confusion between similar-looking characters but also makes the system viable for real-time applications on resource-constrained devices.

While the current 1D-HMM implementation excels at capturing horizontal similarities, it is less effective for characters with vertical or enclosure structures. Future research will explore 2D-HMMs to better model the complex spatial arrangements inherent in Chinese calligraphy.

Summary updated

BibTeX
@inproceedings{wang2018parsimonious,
  author = {Wenchao Wang and Jun Du and Zi-Rui Wang},
  title = {{Parsimonious HMMs for Offline Handwritten Chinese Text Recognition}},
  booktitle = {ICFHR},
  year = {2018},
  doi = {10.1109/icfhr-2018.2018.00034},
}
Figure