Pixel-Level Reconstruction and Classification for Noisy Handwritten Bangla Characters

Manohar Karki, Qun Liu, Robert DiBiano, Saikat Basu, Supratik Mukhopadhyay

TL;DR

This paper introduces a robust two-stage deep learning framework for recognizing handwritten Bangla characters in highly noisy conditions. By combining pixel-level denoising via a Deep Belief Network (DBN) with an optimized "saliency-aware" quadtree representation, the authors significantly reduce classification errors and feature dimensionality compared to previous state-of-the-art methods.

What Problem Does This Paper Address?

Handwritten character recognition is a mature field, but it struggles significantly when images are "noisy"—think of documents scanned in poor lighting, motion-blurred photos, or old, degraded manuscripts. Bangla, the seventh most spoken language in the world, presents a particular challenge due to its complex shapes and a large set of 50 basic characters plus numerals.

Existing methods often use Quadtrees (a tree data structure used to partition 2D space) to represent sparse character features efficiently. However, when noise is present, quadtrees become "polluted," breaking down into tiny, useless blocks that represent noise rather than the character itself. This paper aims to bridge the gap between efficient sparse representation and the messy reality of noisy real-world data.

Methods

The authors propose a pipeline consisting of three main phases:

  1. Pixel-level Reconstruction (CRN): Instead of using a standard filter to denoise the image, they treat denoising as a classification problem. They use a Deep Belief Network (DBN) as a Character Reconstruction Network. To give this network "intelligence" about shapes, they use Transfer Learning: they extract "hypercolumn" features (map responses) from a CNN pre-trained on ImageNet. The CRN looks at these features for every single pixel and decides: "Is this part of a character or just noise?"
  2. Saliency-aware Quadtree Decomposition: Once they have a clean binary image, they decompose it into a quadtree. To further optimize this, they introduce a Saliency Map. This map identifies which quadtree blocks are actually useful for distinguishing characters. Blocks that are almost always empty or almost always full across the entire dataset are pruned, drastically reducing the size of the feature vector.
  3. Classification (CCN): Finally, a second DBN (the Character Classification Network) takes these pruned quadtree features and predicts the specific Bangla character or numeral.

Datasets

The study utilizes several key datasets:

  • Bangla Numeral Dataset: 10 classes of handwritten digits.
  • Bangla Basic Character Dataset: 50 classes of handwritten characters.
  • Noisy Bangla Datasets (New): The authors created a benchmark by injecting three types of noise into the above datasets:
  • AWGN: Additive White Gaussian Noise.
  • Motion Blur: Simulating camera movement.
  • Reduced Contrast + AWGN: Simulating poor lighting and sensor noise.
  • n-MNIST: A standard noisy version of the MNIST digit dataset for cross-comparison.

Key Insights and Ideas

  • Denoising as Pixel Classification: The "aha moment" here is using a pre-trained CNN's internal maps as features for a pixel-level classifier. Even though the CNN was trained on photos of cats and cars (ImageNet), its ability to detect edges and textures is perfectly suited for identifying character strokes amidst noise.
  • The Power of Saliency: Standard quadtrees often generate redundant data. By using a saliency mask to prune blocks that don't vary much across the dataset, the authors reduced the number of features from 1024 down to roughly 200 (an ~80% reduction) while actually improving accuracy.
  • Robustness to Contrast: The reconstruction network proved particularly effective at "saving" characters in low-contrast images where traditional thresholding (like Otsu’s method) would typically fail.

Key Results

The proposed method showed dramatic improvements over previous benchmarks (specifically the work by Basu et al.):

  • Accuracy: On the Noisy Bangla Numeral dataset (AWGN), the error rate dropped from 8.66% to 4.54%.
  • Complex Characters: For the 50-class Noisy Bangla Basic Characters (AWGN), the error rate was slashed from 42.69% to 23.26%.
  • Efficiency: The saliency map allowed the model to achieve these results using significantly fewer features than previous quadtree-based approaches.
  • Comparison: The system outperformed DropConnect (a high-performing neural network regularization technique) on most noisy tasks, except for motion blur, where DropConnect remained slightly superior.

Limitations and Future Work

  • Motion Blur Sensitivity: The authors noted that while their method excels at Gaussian noise and low contrast, motion blur remains a difficult hurdle. In some cases, the reconstruction network "eroded" actual character pixels when trying to clear the blur.
  • Computational Overhead: Pixel-level classification for reconstruction is computationally more expensive than simple image filtering.
  • Future Directions: The authors suggest exploring different CNN architectures for feature extraction and potentially moving toward an end-to-end trainable system that combines reconstruction and classification into a single unified network.

Summary updated

BibTeX
@inproceedings{karki2018pixel,
  author = {Manohar Karki and Qun Liu and Robert DiBiano and Saikat Basu and Supratik Mukhopadhyay},
  title = {{Pixel-Level Reconstruction and Classification for Noisy Handwritten Bangla Characters}},
  booktitle = {ICFHR},
  year = {2018},
  url = {https://openreview.net/forum?id=hEnL8UQJrd},
}
Figure