TL;DR
This paper introduces SSDCNN, a novel deep convolutional neural network for online handwritten Chinese character recognition (OLHCCR). By effectively combining stroke sequence information with traditional eight-directional features, SSDCNN achieves state-of-the-art performance, significantly reducing recognition errors and outperforming human accuracy.
What Problem Does This Paper Address?
Online Handwritten Chinese Character Recognition (OLHCCR) is a challenging task due to the vast number of Chinese characters (over 30,000), their visual similarity, and the high variability in writing styles. Traditional methods often involve complex pipelines of data preprocessing, feature extraction, and classification. While deep learning, particularly Convolutional Neural Networks (CNNs), has shown promise, existing approaches often treat handwritten characters as static images, neglecting crucial temporal information like stroke sequence and direction. This paper aims to leverage this temporal information to improve OLHCCR performance.
Methods
The core of this work is the Stroke Sequence-dependent Deep Convolutional Neural Network (SSDCNN). The approach has two main components:
- Stroke Sequence-Dependent Representation: A CNN is used to learn a high-quality representation of Chinese characters by directly exploiting the sequence of strokes. Each stroke is converted into a fixed-size feature map, and these maps are stacked in their writing order to form the input to the CNN. This allows the network to naturally incorporate the temporal information of the writing process.
- Integration with Eight-Directional Features: Traditional eight-directional features, known to be effective for OLHCCR, are combined with the learned stroke sequence representation. This integration is achieved through a multi-layer perceptron (MLP). To address potential scale differences between the two feature types, both are passed through separate fully-connected layers with sigmoid activation before being concatenated and fed into the final MLP classifier.
The training process is divided into two stages: first, the entire architecture is pre-trained, and then the MLP and softmax layers are further trained while keeping the CNN parameters fixed.
Datasets
The experiments were conducted on the ICDAR 2013 Chinese Handwriting Recognition Competition tasks. The datasets used include:
- CASIA-OLHWDB1.0-1.2: Contains 420 and 300 samples per character.
- HIT-OR3C: Contains 280 samples per character.
- SCUT-COUCH2009: Contains 185 samples per character.
The test set for evaluation consisted of 60 writers and 3,755 Chinese characters from the level-1 set of GB2312-80. Data preprocessing involved spline and linear interpolation to reduce inconsistencies across datasets.
Key Insights and Ideas
- Stroke Sequence is Crucial: The paper strongly emphasizes that the temporal order of strokes is a vital feature for distinguishing similar Chinese characters, a fact often overlooked by image-based approaches.
- Complementary Features: Combining the learned stroke sequence representation with handcrafted eight-directional features leads to superior performance, suggesting these two feature types are complementary.
- CNNs for Temporal Data: The work demonstrates that CNNs can effectively learn from sequential data (stroke sequences) by treating each stroke as a spatial input and stacking them in order.
- Two-Stage Training: A two-stage training strategy (pre-training the whole network, then fine-tuning the classifier) is effective for leveraging labeled data while mitigating the need for extremely large datasets.
Key Results
- The proposed SSDCNN achieves a state-of-the-art accuracy of 97.44% on the ICDAR 2013 OLHCCR competition task.
- This accuracy reduces the recognition error rate by approximately 50% compared to the NN8 model (which uses only eight-directional features) and by 1.9% compared to the best submitted system on ICDAR 2013.
- The SSDCNN-8 model, which uses only the CNN for stroke sequence representation, outperforms the IMDCNN (which uses static images) by a significant margin (88.01% vs. 79.36%), highlighting the importance of stroke sequence information.
- The model demonstrates a high P@2 accuracy of 99.33%, crucial for interactive input methods.
Limitations and Future Work
- Data Scale: While the proposed method is effective, the authors acknowledge that deep learning models generally require large-scale data. The current dataset, though expanded, might still be insufficient to fully capture the variations in OLHCC.
- Cursive Writing: The model struggles with highly cursive writing where strokes are merged, making stroke sequence extraction difficult.
- Future Work:
- Extend the SSDCNN model to a larger number of OLHCC classes.
- Investigate using sub-parts of strokes instead of natural pen-down/pen-lift strokes to better handle cursive writing.
- Adapt the SSDCNN model for online handwritten recognition of other languages.
Summary updated