High Cursive Complex Character Recognition using GAN External Classifier

S. M. Rafiuddin

TL;DR

This paper introduces ADA-GAN, a novel approach for recognizing highly cursive and complex handwritten characters. By augmenting training data with GAN-generated images that have been adversarially perturbed with noise, ADA-GAN achieves improved robustness and accuracy compared to standard deep learning models, especially for challenging character sets like Bengali.

What Problem Does This Paper Address?

Classifying handwritten characters, especially those with complex and cursive forms, is a significant challenge for deep learning models. As character complexity increases, the accuracy of traditional Convolutional Neural Networks (CNNs) tends to degrade. This is often due to issues like convoluted edges, characters that look similar but belong to different classes, and variations within the same character class. Creating large, diverse datasets for these complex scripts is also expensive and time-consuming, further hindering model performance. The paper aims to address this by developing a method that enhances the robustness of character recognition models to complexity and data scarcity.

Methods

The core of the proposed method, ADA-GAN (Adversarial Data Augmentation using GAN), involves a three-pronged approach:

  • Generative Adversarial Network (GAN): A standard GAN architecture is employed, consisting of a Generator (G) and a Discriminator (D). The Generator creates synthetic handwritten character images, aiming to mimic the distribution of real data. The Discriminator's role is to distinguish between real and generated images.
  • Adversarial Noise Augmentation: After generating fake images, the paper introduces a novel step of adding "adversarial random noise" to these generated images. This perturbation is designed to make the generated data more challenging and to improve the robustness of the subsequent classifier.
  • External Classifier with Confidence Threshold: The adversarially perturbed images are then fed into an external classifier. Crucially, these augmented images are only added to the training dataset if the external classifier assigns them a confidence score above a certain threshold (0.7 in this paper). This ensures that only high-quality, confidently classified augmented data is used for training. The external classifier itself is a "VotedClassifier" which combines the predictions of multiple pre-trained models (3DCNN, ResNet50, MobileNet, InceptionV3) to select the one with the highest accuracy on the prior training dataset.

Datasets

The paper utilizes two datasets for its experiments:

  • MNIST: A well-known dataset of handwritten English digits, used as a baseline to demonstrate the model's performance on simpler characters.
  • BanglaLekha Isolated Handwritten Character Dataset: This dataset is specifically chosen for its complexity, containing 1,66,105 Bengali handwritten character images across 84 distinct classes, including vowels, consonants, numerics, and complex/cursive characters. This dataset is central to evaluating the model's effectiveness on challenging scripts.

Key Insights and Ideas

  • Adversarial Noise is Key for Robustness: The paper highlights that simply augmenting with GAN-generated data isn't enough. Adding adversarial noise to these generated images significantly improves the classifier's ability to handle complex characters and prevents accuracy degradation.
  • Confidence-Based Augmentation Filters Noise: Using an external classifier with a confidence threshold to decide which augmented data to incorporate acts as a crucial quality control mechanism, preventing the introduction of noisy or misleading samples into the training set.
  • GANs as a Solution for Data Scarcity: The approach demonstrates the potential of GANs to effectively augment limited datasets, making it a valuable technique for languages or domains where large annotated datasets are hard to come by.
  • Complexity Degrades Standard Models: The results reinforce the observation that as character complexity increases, standard CNN architectures struggle, underscoring the need for more sophisticated approaches like ADA-GAN.

Key Results

  • Improved Accuracy on Complex Characters: While standard models like InceptionV3 show good performance on MNIST (achieving around 99.51% testing accuracy), ADA-GAN demonstrates superior performance on the BanglaLekha dataset, particularly for complex and cursive characters. For instance, with 50 epochs on the BanglaLekha dataset, ADA-GAN achieves a testing accuracy of 94.94% for the "All" classes, outperforming other models.
  • Robustness to Complexity: The paper shows that ADA-GAN maintains better accuracy as the complexity of characters increases, whereas other models experience a more significant drop in performance.
  • Comparable Performance on Simple Characters: For simpler characters like those in MNIST, ADA-GAN's performance is comparable to other state-of-the-art models, indicating it doesn't sacrifice performance on easier tasks.

Limitations and Future Work

  • Limitations: The paper acknowledges that while ADA-GAN improves accuracy, the degradation of performance with increasing character complexity is not entirely eliminated. The confidence threshold of 0.7 might also need tuning for different datasets.
  • Future Work: The authors suggest extending this approach to other domains like medical, finance, and government, where data privacy and cost are significant concerns. They also propose exploring conditional GANs for scenarios with specific optimization constraints and investigating the model's applicability to real-world datasets that are difficult to generate.

Summary updated

BibTeX
@inproceedings{rafiuddin2022high,
  author = {S. M. Rafiuddin},
  title = {{High Cursive Complex Character Recognition using GAN External Classifier}},
  booktitle = {ICCA},
  year = {2022},
  url = {https://openreview.net/forum?id=zzSCHk9y4v},
}
Figure