Skip to main content
QUICK REVIEW

[Paper Review] Building Efficient CNN Architecture for Offline Handwritten Chinese Character Recognition

Zhiyuan Li, Nanjun Teng|arXiv (Cornell University)|Apr 4, 2018
Handwritten Text Recognition TechniquesComputer Science8 references7 citations
TL;DR

This paper proposes an efficient CNN architecture for offline handwritten Chinese character recognition using Global Weighted Average Pooling to reduce fully connected layer parameters and a cascaded model with mid-level outputs to accelerate inference. The method achieves 97.1% accuracy with only 3.3MB storage and 6.9ms average inference time on CPU, outperforming prior work in efficiency and accuracy.

ABSTRACT

Deep convolutional networks based methods have brought great breakthrough in images classification, which provides an end-to-end solution for handwritten Chinese character recognition(HCCR) problem through learning discriminative features automatically. Nevertheless, state-of-the-art CNNs appear to incur huge computation cost, and require the storage of a large number of parameters especially in fully connected layers, which is difficult to deploy such networks into alternative hardware device with the limit of computation amount. To solve the storage problem, we propose a novel technique called Global Weighted Arverage Pooling for reducing the parameters in fully connected layer without loss in accuracy. Besides, we implement a cascaded model in single CNN by adding mid output layer to complete recognition as early as possible, which reduces average inference time significantly. Experiments were performed on the ICDAR-2013 offline HCCR dataset, and it is found that the proposed approach only needs 6.9ms for classfying a chracter image on average, and achieves the state-of-the-art accuracy of 97.1% while requiring only 3.3MB for storage.

Motivation & Objective

  • To address the high computational and storage costs of state-of-the-art CNNs in offline handwritten Chinese character recognition (HCCR).
  • To reduce the number of parameters in fully connected layers without sacrificing accuracy.
  • To accelerate inference by enabling early classification through mid-level output layers.
  • To enable deployment on resource-constrained hardware via model compression and quantization.

Proposed method

  • Adopts the fire module from SqueezeNet to build a compact CNN architecture with low FLOPs and parameter count.
  • Introduces Global Weighted Average Pooling (GWAP) to replace standard fully connected layers, reducing parameters while preserving accuracy.
  • Implements a cascaded CNN structure with additional mid-level output layers to classify a significant portion of inputs early, reducing average inference time.
  • Uses a two-stage training strategy: first train the base network and final classifier, then fine-tune mid-level output layers separately for better performance.
  • Applies 8-bit fixed-point quantization for convolutional layers and 4-bit for fully connected layers to further compress model size with negligible accuracy loss.
  • Employs class probability thresholds (e.g., 0.98) to trigger early inference when confidence is high, improving average speed.

Experimental results

Research questions

  • RQ1Can Global Weighted Average Pooling effectively reduce fully connected layer parameters while maintaining high recognition accuracy in HCCR?
  • RQ2Does introducing mid-level output layers in a single CNN architecture significantly reduce average inference time without degrading final accuracy?
  • RQ3How does cascaded inference with early stopping based on confidence thresholds impact overall speed and accuracy trade-offs?
  • RQ4To what extent can model quantization reduce storage requirements with minimal accuracy degradation in HCCR?
  • RQ5Can a compact, efficient CNN architecture achieve state-of-the-art performance on the ICDAR-2013 HCCR benchmark?

Key findings

  • The proposed cascaded model achieves a state-of-the-art recognition accuracy of 97.14% on the ICDAR-2013 dataset, surpassing previous methods.
  • Average inference time is reduced to 6.93ms per character image, a 25% improvement over baseline models, due to early classification of ~76% of inputs at mid-level layers.
  • The model requires only 3.3MB of storage after 4-bit quantization of fully connected layers, significantly reducing memory footprint compared to prior work.
  • The HCCR-WAP variant achieves 96.91% accuracy with just 0.03MB additional parameters, demonstrating the effectiveness of GWAP in parameter reduction.
  • Separate training of mid-level and final classifiers yields better final accuracy (96.91%) than multi-task training (96.31%), validating the training strategy choice.
  • The final model achieves 94MFLOPs computation cost, making it highly efficient for deployment on CPU-based devices.

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.