Neural Networks that Learn to Discriminate Similar Kanji Characters

Yoshihiro Mori, Kazuhiko YokosawaNeurIPS 1988

Introduction

Recognizing handwritten Kanji is a monumental challenge in computer vision due to three factors: the sheer volume of characters (over 3,000 in common use), the extreme visual similarity between different characters, and the high degree of distortion in human handwriting.

Standard Backpropagation (BP) algorithms often struggle with "resource hogging." In a training set containing both easy and difficult categories, the network tends to exhaust its capacity mastering the easy ones early on, leaving insufficient resources for the subtle nuances required to tell similar, difficult characters apart.

Resource allocation in standard BP vs. Ideal Separation

To address this, researchers at ATR Laboratories sought to move beyond "blind" BP by incorporating environmental factors into the teaching process. They improved handwritten Kanji recognition by introducing two novel training strategies—the "Review" and "Preparation" methods—that optimize how a neural network allocates its learning resources. Their most striking discovery was that the network naturally learned to decompose complex characters into their constituent "radicals" (sub-components), effectively rediscovering the hierarchical structure of the Japanese writing system.

Proposed Training Methods

The authors utilized a standard three-layered, feed-forward neural network but modified the training regime with two "New Types of Teachers":

The Review and Preparation methods integrated with Backpropagation
  1. The Review Method: This method tracks performance per category. It prioritizes training on categories with low recognition rates. On a granular level, it presents high-error individual samples more frequently to the network, ensuring the model "studies" its weak points rather than coasting on what it already knows.
  2. The Preparation Method: To prevent over-training (overfitting) on a small set of samples, this method gradually increases the number of training samples as the network’s total error rate drops. This acts as a form of curriculum learning, ensuring the network builds a generalized foundation before tackling a wider variety of handwriting styles.

For input, the researchers compared two feature extraction techniques:

  • MESH features: A 64-dimension vector representing the pixel density in an 8x8 grid.
  • LDCD (Line Density and Directional) features: A 256-dimension vector that accounts for line segment lengths along four directions (horizontal, vertical, and two diagonals).

The study utilized the ETL9 database, a standard collection of handwritten Japanese characters. While the database contains ~3,000 characters, this specific experiment focused on a subset of four highly similar Kanji characters composed of alternating left and right "radicals" (sub-components). For each character, 200 handwritten samples were used (100 for training, 100 for testing).

Key Insights and Results

  • Emergent Radical Detection: Perhaps the most significant "aha moment" was the analysis of the hidden layer. The researchers found that specific hidden units became highly correlated with specific radicals. For example, one hidden unit might learn to recognize only the left-side component of a character, while another focused on the right. The network "perceived" the hierarchical structure of Kanji without being explicitly told it existed.
  • Non-Bayesian Strategy: By comparing the network's weights to a Bayesian discrimination function, the authors proved that the neural network was not simply performing standard statistical discrimination. It was developing a unique internal representation that was more effective for the task.
  • The "Bad Sample" Dip: The researchers noted that recognition rates actually dropped when moving from 1 training sample to 2 or 3. They attributed this to the introduction of poorly written samples early in training, suggesting that starting with a "clean" average pattern is more effective for initial weight stabilization.
  • Feature Superiority: The LDCD features significantly outperformed MESH features, achieving a 92.0% accuracy on test samples (compared to 82.5% for MESH).
  • High Training Accuracy: The network achieved near-perfect recognition on training data (99.5% with LDCD).
  • Performance vs. Convention: The authors noted that these neural network results were higher than the conventional (non-neural) recognition methods used at the time.

Limitations and Future Work

  • Scale: The core experiment only discriminated between four similar characters. While this proved the "radical detection" concept, the authors acknowledge that a single network cannot handle all 3,000 Kanji.
  • Modular Architecture: The authors propose that the future of Kanji recognition lies in a "large-scale network" built by assembling many smaller, specialized networks—each responsible for a small group of characters—leveraging the radical-detection capabilities discovered here.
  • Handwriting Quality: The study noted sensitivity to "well-written" vs. "poorly-written" samples, suggesting that more robust preprocessing or even more diverse training sets would be needed for a production-ready system.

Summary updated

BibTeX
@inproceedings{mori1988neural,
  author = {Yoshihiro Mori and Kazuhiko Yokosawa},
  title = {{Neural Networks that Learn to Discriminate Similar Kanji Characters}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1988},
}
Figure