Skip to main content
QUICK REVIEW

[Paper Review] An Ensemble of Simple Convolutional Neural Network Models for MNIST Digit Recognition

Sanghyeon An, Min Jun Lee|arXiv (Cornell University)|Aug 12, 2020
Advanced Neural Network ApplicationsComputer Science19 references47 citations
TL;DR

The paper shows that very high MNIST test accuracy (up to 99.91%) can be achieved with simple CNNs using batch normalization and data augmentation, and that ensembles (including heterogeneous) improve performance further.

ABSTRACT

We report that a very high accuracy on the MNIST test set can be achieved by using simple convolutional neural network (CNN) models. We use three different models with 3x3, 5x5, and 7x7 kernel size in the convolution layers. Each model consists of a set of convolution layers followed by a single fully connected layer. Every convolution layer uses batch normalization and ReLU activation, and pooling is not used. Rotation and translation is used to augment training data, which is frequently used in most image classification tasks. A majority voting using the three models independently trained on the training data set can achieve up to 99.87% accuracy on the test set, which is one of the state-of-the-art results. A two-layer ensemble, a heterogeneous ensemble of three homogeneous ensemble networks, can achieve up to 99.91% test accuracy. The results can be reproduced by using the code at: https://github.com/ansh941/MnistSimpleCNN

Motivation & Objective

  • Demonstrate that simple CNN architectures can achieve very high MNIST accuracy without complex models or excessive tuning.
  • Investigate the impact of kernel size, data augmentation, batch normalization, and network ensembling on MNIST performance.
  • Explore both homogeneous and heterogeneous ensemble strategies to boost test accuracy on MNIST.

Proposed method

  • Construct three CNNs with convolution kernels of 3x3, 5x5, and 7x7, each ending with a single fully connected layer.
  • Apply no pooling; use batch normalization and ReLU after each convolution; no dropout.
  • Train with random translation (up to 20% shift) and random rotation (up to 20 degrees); convert inputs to [-1, 1].
  • Optimize with Adam on cross-entropy loss; learning rate starts at 0.001 with exponential decay (gamma=0.98).
  • Use exponential moving average of weights for evaluation (decay 0.999).
  • Test multiple seeds (30 networks per type) and use majority voting for ensembles; evaluate homogeneous (same kernel type) and heterogeneous (mixed kernel types) ensembles.

Experimental results

Research questions

  • RQ1Can simple CNNs with batch normalization and minimal pooling compete with state-of-the-art MNIST results?
  • RQ2Does ensembling multiple CNNs improve MNIST accuracy, and is a heterogeneous ensemble more effective than homogeneous ensembles?
  • RQ3What is the impact of kernel size, data augmentation, and batch normalization on MNIST performance?

Key findings

  • Individual networks (M3, M5, M7) achieve high test accuracies around 99.59%–99.76% across seeds.
  • Homogeneous ensembles (three networks of the same type) improve accuracy over single networks, e.g., best around 99.86% for M3, M5, M7 respectively.
  • A heterogeneous ensemble (one network of each type) yields higher accuracy (99.87%) than homogeneous ensembles.
  • Two-level ensemble (ensemble of 3 homogeneous ensembles) achieves up to 99.91% best accuracy.
  • Data augmentation (rotation and translation) consistently improves performance; rotation has slightly larger impact than translation, and both are beneficial.
  • Batch normalization across all layers provides the best performance, with all layers BN outperforming other configurations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.