Fully convolutional recurrent network for handwritten Chinese text recognition

Zecheng Xie, Zenghui Sun, Lianwen Jin, Ziyong Feng, Shuye Zhang

TL;DR

This paper introduces the Fully Convolutional Recurrent Network (FCRN), an end-to-end framework designed to recognize online handwritten Chinese text without the need for explicit character segmentation. By combining "path-signature" features with a deep learning pipeline (FCN + BLSTM + CTC) and a refined beam search language model, the authors achieved state-of-the-art accuracy on major benchmarks like CASIA-OLHWDB and ICDAR 2013.

What Problem Does This Paper Address?

Handwritten Chinese Text Recognition (HCTR) is notoriously difficult due to the massive character set (thousands of classes), diverse writing styles, and the "character-touching" problem, where characters overlap or run into each other.

Traditionally, researchers used over-segmentation: they would chop a line of text into many small pieces and then use complex algorithms to find the most likely path through a "candidate lattice." This creates a circular dependency: you need good segmentation to recognize characters, but you often need to recognize the characters to know where to segment them. If the initial segmentation fails, the whole system breaks. The authors of this paper sought a "segmentation-free" approach that learns to map a raw pen-tip trajectory directly to a sequence of characters.

Methods

The FCRN architecture consists of four distinct stages:

  1. Path-Signature Layer: Unlike "offline" recognition (which looks at a static image), "online" recognition uses the pen-tip trajectory $(x, y)$ over time. This layer extracts "iterated integrals" of the path. These signatures uniquely characterize the dynamics of the writing, such as displacement and curvature, and convert the 1D trajectory into a set of 2D feature maps.
  2. Fully Convolutional Network (FCN): These feature maps are fed into an FCN. Because it is "fully convolutional," it can handle input sequences of arbitrary length. It extracts high-level abstract visual features from the signature maps.
  3. Multi-layer Bidirectional LSTM (BLSTM): Recurrent layers (LSTMs) are used to model the temporal dependencies in the sequence. By being "bidirectional," the network can look at both the "past" and "future" context of a stroke to decide which character it belongs to.
  4. Transcription Layer (CTC): The authors use Connectionist Temporal Classification (CTC). This is the "secret sauce" that allows the network to be trained on unsegmented data. It predicts a label for every frame (including a "blank" label) and then collapses them into the final character sequence.

Finally, they implement a Refined Beam Search that integrates an $n$-gram language model. This helps the system "auto-correct" based on linguistic probability (e.g., if the visual model is unsure, the language model picks the character that makes the most sense in context).

Datasets

The model was evaluated on two primary benchmarks for online Chinese handwriting:

  • CASIA-OLHWDB: A massive database containing over 1 million characters across 2,650 classes.
  • ICDAR 2013: A competition dataset (referred to as D-Com) used to test the generalization of the model.

For the language models, the authors used three large-scale text corpora: the PFR (People's Daily), PH (Xinhua news), and the SLD (Sogou Lab Data), the latter containing roughly 56 million characters.

Key Insights and Ideas

  • The Power of Sig2: The authors experimented with different levels of path-signature truncation. They found that "Sig2" (the second-order iterated integral) was the "sweet spot." It captured enough information about the curvature of the strokes without adding the noise or computational overhead of higher-order integrals.
  • Eliminating the Segmentation Paradox: By using an end-to-end FCRN, the model avoids the "circular dependency" of traditional methods. The network learns the boundaries between characters implicitly during training.
  • Language Models as Error Correction: Incorporating the SLD corpus (the largest used) decreased the error rate by 2%–5%. This proves that for a language as complex as Chinese, prior linguistic knowledge is essential to resolve visual ambiguities.

Key Results

The FCRN achieved impressive results, setting new benchmarks at the time of publication:

  • CASIA-OLHWDB: Achieved a correct rate (CR) of 96.40% and an accuracy rate (AR) of 95.34%.
  • ICDAR 2013: Achieved a CR of 95.00% and an AR of 92.88%.
  • Comparison: The FCRN significantly outperformed the standard Convolutional Recurrent Neural Network (CRNN), which the authors noted is essentially a special case of their model (FCRN with Sig0).

Limitations and Future Work

The authors noted that the model performed slightly worse on the ICDAR 2013 (D-Com) dataset compared to CASIA. They attributed this to an "unbalanced per-character sample distribution"—essentially, the training data didn't perfectly match the distribution of the test set.

To address this, they suggested that future work should focus on data augmentation, such as synthesizing new handwriting samples or using coordinate distortion to make the model more robust to different writing styles.

Summary updated

BibTeX
@inproceedings{xie2016fully,
  author = {Zecheng Xie and Zenghui Sun and Lianwen Jin and Ziyong Feng and Shuye Zhang},
  title = {{Fully convolutional recurrent network for handwritten Chinese text recognition}},
  booktitle = {ICPR},
  year = {2016},
  doi = {10.1109/icpr.2016.7900261},
}

Loading related content...

Figure