Handwritten Digit Recognition with a Committee of Deep Neural Nets on GPUs

Dan C. Ciresan, Ueli Meier, Luca Maria Gambardella, Jürgen SchmidhuberarXiv 2011

Introduction

The MNIST handwritten digit dataset has long served as a fundamental benchmark in computer vision. While convolutional neural networks (CNNs) dominated the field for years, this 2011 study by Cireșan et al. demonstrated that deep Multi-Layer Perceptrons (MLPs) could achieve state-of-the-art results. By leveraging GPU acceleration, massive data augmentation, and an ensemble approach, the researchers achieved a record-breaking 0.31% error rate.

Problem Statement

By 2011, the MNIST record of 0.4% error had remained stagnant for seven years. The primary obstacle to using large MLPs—some containing up to 12 million parameters—was overfitting. Without sufficient training data, these high-capacity models would memorize the training set rather than learning generalizable features. The authors sought to overcome this by "manufacturing" data through synthetic distortions and combining multiple models to reduce variance.

Methodology

The researchers' approach rested on three pillars: GPU acceleration, data augmentation, and a committee-based ensemble.

GPU-Accelerated Data Augmentation

To prevent overfitting, the team implemented "elastic deformations"—mathematical distortions simulating the natural variations in human handwriting. Because generating these distortions for every training epoch is computationally intensive, the authors ported the distortion field calculations and the neural network's forward/backward passes to an NVIDIA GTX 480 GPU.

GPU-accelerated distortion field and thread grid implementation.

This implementation provided a 50x speedup over CPU-based training, allowing the models to process a virtually infinite stream of unique, distorted images.

The Committee Approach and Normalization

The final system utilized a "committee" of seven deep MLPs. To ensure diversity among the models, six were trained on versions of the MNIST dataset normalized to different widths (ranging from 10 to 20 pixels), while the seventh used the original data.

Width normalization process for training committee members.

At test time, the predictions from all seven networks were averaged. This ensemble method effectively smoothed out individual model biases and errors.

Key Results

The committee achieved a then-unprecedented 0.31% error rate on the MNIST test set, misclassifying only 31 out of 10,000 images. Analysis of these errors revealed that:

  • Most errors occurred on highly ambiguous or uncharacteristic digits.
  • For 29 of the 31 errors, the correct label was the network's second-highest prediction.
  • The GPU-based training made the complex ensemble approach computationally feasible, reducing training time from weeks to days.

Discussion and Conclusion

This work highlighted that data is often the best regularizer. By using synthetic distortions, the researchers made the networks insensitive to in-class variability. Furthermore, it proved that "plain" deep MLPs remain highly competitive with more complex architectures like CNNs when scaled with sufficient data and compute. While the approach is computationally demanding at inference time, it set a new standard for accuracy that pushed the boundaries of what was thought possible for the MNIST benchmark.

Reference: Cireșan, D. C., Meier, U., Gambardella, L. M., & Schmidhuber, J. (2011). Handwritten Digit Recognition with a Committee of Deep Neural Nets on GPUs. Technical Report No. IDSIA-03-11.

Summary updated

BibTeX
@misc{ciresan2011handwritten,
  author = {Dan C. Ciresan and Ueli Meier and Luca Maria Gambardella and Jürgen Schmidhuber},
  title = {{Handwritten Digit Recognition with a Committee of Deep Neural Nets on GPUs}},
  year = {2011},
  eprint = {1103.4487},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1103.4487},
}
Figure