Character-level Chinese Writer Identification using Path Signature Feature, DropStroke and Deep CNN

Weixin Yang, Lianwen Jin, Manfei Liu

TL;DR

This paper presents a robust, text-independent system for identifying writers from online Chinese handwriting using a Deep Convolutional Neural Network (DCNN). By combining path-signature features—which capture the temporal "flow" of a pen—with a novel data augmentation technique called DropStroke, the researchers achieved a remarkable 99.52% accuracy when identifying writers from just a single line of text.

What Problem Does This Paper Address?

Writer identification is a classic problem in digital forensics and security, but Chinese handwriting presents unique challenges. With over 50,000 characters and incredibly complex stroke structures, traditional methods often struggle.

Most existing systems are "text-dependent," meaning they require the writer to produce specific, pre-defined content. Furthermore, they often need large amounts of text (paragraphs or entire documents) to make a reliable identification. In real-world scenarios, we might only have a few scrawled characters. Deep learning offers a solution, but DCNNs are notoriously data-hungry. How do you train a deep model to recognize a writer's unique style when you have limited samples per person?

Methods

The authors propose an end-to-end pipeline that moves beyond simple image recognition:

  1. Path-Signature Features: Instead of treating a character as a static image, the system treats the pen's trajectory as a path in time. Using "iterated integrals," they extract features that represent displacement, direction, and curvature. These are organized into multiple feature maps (up to 15 maps for a level-3 signature), providing the DCNN with a rich, multi-dimensional view of how the writer moves. Fig.

  2. Visualization of the path-signature feature with a truncated level n.

![Fig.

  1. Visualization of the path-signature feature with a truncated level n.](/figures/art_168677392e1e4eb9bb95f2ca9e07ec65)
  2. DropStroke Data Augmentation: This is the paper's most novel contribution. Inspired by "Dropout" in neural networks, DropStroke randomly omits individual strokes from a character during training. This serves two purposes: it massively increases the size of the training set (over 5,000-fold) and, crucially, it breaks the global structure of the character. This forces the DCNN to ignore the meaning of the character and focus on the local stylistic nuances of the remaining strokes.
  3. DCNN Architecture: The model uses a variation of DeepCNet, consisting of six convolutional layers followed by two fully connected layers. This architecture is designed to handle the sparse nature of online handwriting while retaining spatial information through "slow" convolutional filters. Fig.

  4. Illustration of the DCNN for writer identification enhanced by DropStroke and a path-signature feature.

![Fig.

  1. Illustration of the DCNN for writer identification enhanced by DropStroke and a path-signature feature.](/figures/art_39b67c0210764359aa244aa1dac3b137)

Datasets

The study utilized the CASIA-OLHWDB1.0 dataset, a standard benchmark for online Chinese handwriting. It contains 3,866 character classes written by 420 different individuals. To simulate a challenging real-world scenario, the researchers used only 200 samples per writer for training, reserving the remaining 3,666 for testing.

Key Insights and Ideas

  • Style vs. Structure: The success of DropStroke highlights a key insight: for writer identification, the global structure of a character is often "noise." By literally breaking the character apart, the model learns the "micro-signatures" hidden within individual strokes. Fig.

  • Distribution of strokes with and without DropStroke.

  • The Power of Temporal Data: Moving from a simple bitmap (Sign.0) to higher-order path signatures (Sign.3) significantly dropped the error rate. Capturing how a stroke is drawn (its velocity and curvature) is far more informative than just seeing where the ink landed.
  • Generalization through Augmentation: DropStroke acts as a powerful regularizer. As seen in the performance curves, while the initial error rate is higher due to the complexity of the augmented data, the model eventually converges to a much lower error rate than models trained on raw data alone. Fig.

  • Performance of different truncated versions of path signature feature and their enhancements with DropStroke.

![Fig.

  1. Distribution of strokes with and without DropStroke.](/figures/art_0759979f7974476e9c04dcd696f2f284)

![Fig.

  1. Performance of different truncated versions of path signature feature and their enhancements with DropStroke.](/figures/art_97f938cf33bb419db2d46e01b6262a89)

Key Results

  • Single Character Identification: The system achieved a 55.45% Top-1 accuracy using just a single character. While this sounds low, it is impressive given the 420-writer search space and the minimal information available in one character.
  • Mimic Text Lines: By combining predictions from multiple characters (simulating a line of text), the accuracy skyrocketed. With a "mimic line" of 20 characters, the system reached 99.52% accuracy.
  • Comparison: This approach outperformed previous state-of-the-art methods (which achieved ~92% accuracy) despite using less information (only position and time, whereas others used pressure and pen angle).

Limitations and Future Work

The authors note that DropStroke can lead to uneven training data because characters with more strokes naturally generate more augmented variations. To mitigate this, they had to carefully select training samples before applying the technique.

For future work, the authors suggest that DropStroke could be a general-purpose data augmentation tool for other handwriting tasks, such as character recognition or even gender identification from script. They also imply that further optimization of the DCNN architecture could push single-character identification rates even higher.

Summary updated

BibTeX
@inproceedings{yang2015character,
  author = {Weixin Yang and Lianwen Jin and Manfei Liu},
  title = {{Character-level Chinese Writer Identification using Path Signature Feature, DropStroke and Deep CNN}},
  booktitle = {ICDAR},
  year = {2015},
  url = {https://openreview.net/forum?id=zPR1drmeoa},
}
Figure