Skip to main content
QUICK REVIEW

[Paper Review] Sparse arrays of signatures for online character recognition

Benjamin Graham|arXiv (Cornell University)|Aug 1, 2013
Handwritten Text Recognition TechniquesComputer Science12 references89 citations
TL;DR

This paper proposes using path signatures—iterated integrals of pen stroke trajectories—as sparse, high-dimensional features for online character recognition with convolutional neural networks (CNNs). By encoding pen position, direction, and curvature into a sparse 3D input tensor, the method enables deeper, more accurate CNNs; on the CASIA-OLHWDB1.1 Chinese character dataset, it achieved a test error of 3.58%, significantly outperforming prior work at 5.61%.

ABSTRACT

In mathematics the signature of a path is a collection of iterated integrals, commonly used for solving differential equations. We show that the path signature, used as a set of features for consumption by a convolutional neural network (CNN), improves the accuracy of online character recognition---that is the task of reading characters represented as a collection of paths. Using datasets of letters, numbers, Assamese and Chinese characters, we show that the first, second, and even the third iterated integrals contain useful information for consumption by a CNN. On the CASIA-OLHWDB1.1 3755 Chinese character dataset, our approach gave a test error of 3.58%, compared with 5.61% for a traditional CNN [Ciresan et al.]. A CNN trained on the CASIA-OLHWDB1.0-1.2 datasets won the ICDAR2013 Online Isolated Chinese Character recognition competition. Computationally, we have developed a sparse CNN implementation that make it practical to train CNNs with many layers of max-pooling. Extending the MNIST dataset by translations, our sparse CNN gets a test error of 0.31%.

Motivation & Objective

  • Improve online character recognition accuracy by enhancing input representations with mathematical path signatures.
  • Address computational limitations in training deep CNNs for high-resolution character data by exploiting sparsity in path signature features.
  • Demonstrate that higher-order iterated integrals (up to third order) contain discriminative information useful for generalization.
  • Enable training of deeper CNNs with extensive max-pooling by developing a sparse CNN implementation that leverages sparsity in input features.
  • Achieve state-of-the-art performance on diverse datasets, including Chinese, Assamese, and Latin scripts, using minimal data augmentation.

Proposed method

  • Compute path signatures as iterated integrals of pen stroke trajectories, up to order $ m $, to create a high-dimensional feature representation.
  • Represent each character as a sparse 3D tensor of size $ N \times N \times M $, where $ M = 1 + 2 + 2^2 + \dots + 2^m $, with non-zero values only along the stroke path.
  • Use a sparse CNN architecture (DeepCNet) with alternating convolutional and max-pooling layers, designed to handle sparse inputs efficiently by memoizing non-zero activations.
  • Apply data augmentation via affine transformations (scaling, rotation, translation) during training to improve generalization.
  • Integrate dropout at different layers (0.1 to 0.5) to regularize the network and reduce overfitting.
  • Optimize network depth by setting input size $ N \approx 3n $, where $ n $ is the character scale, to ensure sufficient receptive field and path diversity in the network.

Experimental results

Research questions

  • RQ1Can higher-order path signatures (first, second, third iterated integrals) improve generalization in online character recognition beyond standard image-based representations?
  • RQ2How does sparsity in the input tensor enable training of deeper CNNs with more max-pooling layers than feasible with dense implementations?
  • RQ3What is the impact of increasing the signature truncation level $ m $ on recognition accuracy, and is the computational cost of higher $ m $ justified?
  • RQ4Can sparse CNNs trained on signature-based inputs outperform dense CNNs on challenging datasets like CASIA-OLHWDB1.1 for Chinese character recognition?
  • RQ5Is the combination of path signatures and sparse CNNs effective across diverse writing systems, including Latin, Arabic numerals, Assamese, and Chinese?

Key findings

  • On the CASIA-OLHWDB1.1 dataset, the proposed method achieved a test error of 3.58%, compared to 5.61% reported in prior work using dense CNNs.
  • For the Assamese dataset with 183 classes, increasing $ m $ from 0 to 3 reduced test error from 48.9% to 34.8% when using $ k=15 $ training samples.
  • With data augmentation, the test error for the Assamese dataset dropped to 11.0% at $ m=3 $, showing the benefit of both signature features and data augmentation.
  • On the Pendigits dataset, increasing $ m $ from 0 to 3 reduced test error from 3.37% to 1.09% with a small network, and to 0.40% with a larger network and augmentation.
  • The sparse CNN implementation reduced computation cost in early layers by focusing only on non-zero input regions, making deep networks with up to 6 levels of max-pooling feasible.
  • Adding dropout with increasing rates from 0.1 to 0.5 across layers further reduced test error from 4.01% to 3.58% on CASIA, indicating effective regularization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.