Stroke Sequence-Dependent Deep Convolutional Neural Network for Online Handwritten Chinese Character Recognition

Baotian Hu, Xin Liu, Xiangping Wu, Qingcai Chen

TL;DR

The researchers introduce SSDCNN (Stroke Sequence-dependent Deep Convolutional Neural Network), a novel architecture for online handwritten Chinese character recognition that treats stroke order as a primary feature. By combining deep-learned sequence representations with traditional handcrafted directional features, the model achieves a state-of-the-art accuracy of 97.44%, notably surpassing human-level performance on standard benchmarks.

What Problem Does This Paper Address?

Recognizing handwritten Chinese characters is a massive challenge due to the sheer volume of the character set (over 30,000 characters, with 5,000+ in daily use) and the high degree of visual similarity between distinct characters.

The paper focuses on Online recognition (OLHCCR). Unlike "offline" recognition, which looks at a static image, "online" recognition captures the trajectory of the pen—the sequence of points, pen-up/pen-down transitions, and the specific order in which strokes are written. While traditional methods rely heavily on handcrafted statistical features (like eight-directional features), and early deep learning approaches often treated characters as simple bitmaps, this paper argues that the natural sequence of writing is a vital, underutilized piece of information for distinguishing between confusingly similar characters.

Figure 1: (a) shows some the similar Chinese characters written by one writers. The

Methods

The core innovation is the SSDCNN architecture, which integrates two complementary types of information:

  1. Stroke Sequence-Dependent Representation: Instead of feeding a single image into a CNN, the authors represent a character as a stack of feature maps. Each map contains exactly one stroke, ordered by its writing sequence. To handle characters with different numbers of strokes, they pad the stack with all-zero maps up to a maximum length (set to 28). A DCNN then processes this "volume" to learn high-level structural features that are inherently tied to the writing order.
  2. Eight-Directional Features: These are traditional handcrafted features that represent stroke shape and direction by analyzing point directions relative to their neighbors.
  3. Feature Fusion: The learned DCNN features and the handcrafted directional features are normalized using Sigmoid activation layers to ensure they are on the same scale. They are then concatenated and fed into a Multi-Layer Perceptron (MLP) with a Softmax classifier.

The authors also employed a two-stage supervised training strategy: first pre-training the entire architecture, then freezing the DCNN parameters to fine-tune the fusion layers and classifier. This approach helps the model effectively merge the two distinct feature types.

Datasets

The model was evaluated using the ICDAR 2013 Online Isolated Chinese Character Recognition competition task. The training data was expanded using several prominent datasets:

  • CASIA-OLHWDB 1.0 - 1.2: A standard large-scale database.
  • HIT-OR3C: A dataset providing additional writing samples.
  • SCUT-COUCH2009: Used to further increase the diversity of writing styles.
  • Data Augmentation: The researchers expanded the dataset by randomly dropping points from strokes to simulate noise and different writing speeds.

Key Insights and Ideas

  • Sequence as a Discriminator: The most powerful insight is that stroke order acts as a "tie-breaker." Two characters might look nearly identical in a static image, but if the strokes are drawn in a different order or direction, the SSDCNN can easily tell them apart.
  • Complementary Strengths: Handcrafted features (like 8-directional features) are excellent at capturing local statistical properties without needing training. DCNNs are excellent at learning global structural shapes. By combining them, the model covers the weaknesses of each; for instance, the DCNN helps distinguish characters where directional features might be too similar.
  • Overcoming Cursive Challenges: The paper notes that while sequence is helpful, highly cursive writing (where multiple strokes are merged into one) remains a challenge because it breaks the "one stroke per map" logic.

Key Results

The SSDCNN model set a new benchmark for the field:

  • Accuracy: It achieved 97.44% accuracy on the ICDAR 2013 task, outperforming the previous best competition system (97.39%).
  • Surpassing Humans: The model significantly beat the reported human performance level of 95.19%.
  • Error Reduction: Compared to a baseline model using only eight-directional features (94.87%), SSDCNN reduced the recognition error by approximately 50%.
  • Top-N Performance: The model's "Top-2" accuracy reached a staggering 99.33%, suggesting that even when it misses the correct character, the right answer is almost always the second choice.

Limitations and Future Work

While highly successful, the authors identify a few areas for improvement:

  • Cursive Writing: The current method relies on natural pen-down/pen-up transitions to define strokes. In cursive writing, these transitions are often missing. Future work will look at using "subparts" of strokes rather than raw pen-down segments.
  • Scalability: The current tests were on a set of 3,755 characters. The authors plan to scale the model to the full set of 30,000+ Chinese characters.
  • Multilingual Support: The researchers believe the stroke-sequence approach could be adapted for other character-based languages beyond Chinese.

Summary updated

BibTeX
@article{hu2016stroke,
  author = {Baotian Hu and Xin Liu and Xiangping Wu and Qingcai Chen},
  title = {{Stroke Sequence-Dependent Deep Convolutional Neural Network for Online Handwritten Chinese Character Recognition}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2016},
  doi = {10.1109/tnnls.2019.2956965},
}
Figure