Recognition confidence analysis of handwritten Chinese character with CNN

Meijun He, Shuye Zhang, Huiyun Mao, Lianwen Jin

Introduction

Training robust deep learning models for Handwritten Chinese Character Recognition (HCCR) requires massive amounts of labeled data. While large-scale datasets are available, they often contain significant "noise," including mislabeled characters, poor-quality cursive, and non-character symbols. Manually auditing millions of samples is economically unfeasible. This research explores using the softmax output of a high-performance Convolutional Neural Network (CNN) as a reliable metric for recognition confidence, enabling automated data cleaning and structural analysis.

Methodology

The study utilizes a deep CNN architecture based on "DeepCNet." The network processes $96 \times 96$ bitmap inputs through six convolutional layers, with filter counts scaling from 100 to 600. These are followed by max-pooling layers and a 1024-node fully connected layer, culminating in a softmax output layer.

The "confidence" of the model is defined directly as the softmax regression score. This score represents the model's probability distribution across 10,081 possible classes. To identify "confusable pairs," the researchers developed a similarity mining method that aggregates the top 10 candidate scores across character classes. If a specific character consistently appears as a high-confidence "second choice" for another class, it is flagged as a visually or linguistically similar pair.

Experimental Results and Confidence Analysis

The model was trained on approximately 10 million samples and evaluated against a test set of 827,685 samples across 8,836 classes. The CNN achieved a Top-1 accuracy of 97.73% and a Top-10 accuracy of 99.88%.

A primary finding of this research is the near-perfect correlation between the model's confidence score and its actual recognition accuracy. As shown in the distribution analysis, samples with a confidence score exceeding 0.9999 accounted for 45% of the test set and demonstrated near-perfect accuracy.

Distribution of samples and recognition accuracy across different confidence intervals.

Conversely, samples with confidence scores below 0.5 had a less than 22% chance of being correct. This clear stratification allows researchers to use confidence thresholds to automatically filter or verify data reliability.

Data Mining and Error Correction

The reliability of the confidence metric revealed a surprising insight: the model is often "smarter" than the human-provided labels. When the CNN predicted a result different from the ground-truth label with extremely high confidence ($>0.9999$), subsequent manual inspection revealed that the CNN was almost always correct, and the original label was erroneous.

Examples where the CNN's high-confidence prediction corrected the original ground-truth label.

By investigating these high-confidence "errors," the authors successfully identified and corrected hundreds of mislabeled samples in established benchmarks like CASIA and SCUT-COUCH. This demonstrates the potential for CNNs to serve as automated auditors for large-scale datasets.

Structural Confusion and Future Directions

The analysis also highlighted specific structural challenges. Characters with low stroke counts, such as “一” (one) or “丨” (vertical stroke), are frequently confused with alphanumeric symbols or simple geometric marks. Additionally, "heavy" cursive, where strokes merge significantly, remains a primary cause of low-confidence predictions.

Future work will focus on using these confidence metrics for active learning. By identifying "hard" samples where the model's confidence is low, researchers can target human labeling efforts more efficiently, asking for manual intervention only when the model is genuinely uncertain.

Summary updated

BibTeX
@inproceedings{he2015recognition,
  author = {Meijun He and Shuye Zhang and Huiyun Mao and Lianwen Jin},
  title = {{Recognition confidence analysis of handwritten Chinese character with CNN}},
  booktitle = {ICDAR},
  year = {2015},
  url = {https://openreview.net/forum?id=oJ5_Oqbsua3},
}
Figure