Enhanced image classification with a fast-learning shallow convolutional neural network

Mark D. McDonnell, Tony Vladusich

Introduction

State-of-the-art image classification is currently dominated by deep neural networks. While powerful, these models are notoriously resource-hungry, often requiring hours or days of training on expensive GPU clusters. This makes them poorly suited for applications that require frequent retraining, online learning, or deployment on low-power hardware.

This paper introduces a "shallow" convolutional neural network that achieves state-of-the-art accuracy on benchmarks like MNIST and NORB-small while training in just minutes on a standard laptop. By combining fixed, biologically-inspired filters with a single-layer classifier trained via least-squares regression, the authors demonstrate that high-performance computer vision does not always necessitate deep, iterative backpropagation. The core research question asks: Can we build a network that matches the accuracy of deep models but trains using simple, closed-form mathematics instead of thousands of iterations of gradient descent?

Architecture and Methodology

The proposed architecture consists of two main stages, totaling five layers, but crucially, only the final layer is trained.

The two-stage architecture: Stage 1 performs convolutional feature extraction with fixed filters, while Stage 2 handles classification using a fast, analytical training method.

Stage 1: Convolutional Feature Extraction

Instead of learning filters from scratch, the authors utilize fixed kernels. They evaluated three types: hand-designed (bars/corners), filters pre-trained on ImageNet (from the Overfeat model), and random patches extracted from the training data. The network employs a specific sequence of operations—squaring the input ($u^2$) followed by a fourth-root ($v^{0.25}$) after pooling—which effectively implements a form of "LP-pooling." This helps regularize the data and capture important "interaction terms" between pixels.

Stage 2: The Fast Classifier

This stage is based on the "Extreme Learning Machine" (ELM) philosophy. It uses a hidden layer with random, untrained weights. The final output weights are calculated in a single batch using Ridge Regression (Least Squares). Because this is a convex optimization problem, the solution is found analytically in one shot, ensuring the weights are mathematically optimal for that specific set of random inputs.

Experimental Setup

The authors evaluated their model on four widely-used image classification benchmarks:

  • MNIST: 70,000 handwritten digits (28x28).
  • NORB-small: 48,600 images of 3D toys (downsampled to 32x32).
  • SVHN (Street View House Numbers): Over 600,000 real-world house number images.
  • CIFAR-10: 60,000 natural images across 10 classes (e.g., airplanes, dogs).

Key Results and Analysis

The model achieved impressive results across several datasets:

  • MNIST: A 0.37% error rate, matching the best-ever results for models not using data augmentation, with a training time of roughly 4 minutes.
  • NORB-small: A 2.21% error rate, setting a new state-of-the-art result at the time of publication.
  • SVHN: A 3.96% error rate, competitive with deep learning methods.
  • Speed: The model processed the massive SVHN dataset (600k+ images) in about 8–9 hours on a standard PC, a task that typically takes days for deep models.
Test error percentage as a function of the number of classifier hidden units (M). Performance improves significantly as the hidden layer width increases.

A key insight is the power of "shallow" but wide networks. As shown in Figure 5, increasing the number of hidden units (up to 40,000 in some tests) can compensate for a lack of depth. Furthermore, the use of fixed filters (like Overfeat) provides excellent feature representations without dataset-specific training. The squaring nonlinearity ($u^2$) is also vital, as it allows hidden units to respond to products of input elements, capturing necessary pixel relationships.

Conclusion and Future Work

The primary limitation identified was performance on CIFAR-10, where the model achieved a 24.14% error rate. For complex natural images with high variance, "untuned" filters and a shallow structure may be insufficient to capture necessary abstractions.

Future work includes introducing "limited training" to Stage 1 filters to increase discriminative power, incorporating data augmentation (rotations/shifts) to improve generalization, and exploring different nonlinearities in the classifier stage to capture higher-order correlations.

Summary updated

BibTeX
@misc{mcdonnell2015enhanced,
  author = {Mark D. McDonnell and Tony Vladusich},
  title = {{Enhanced image classification with a fast-learning shallow convolutional neural network}},
  year = {2015},
  eprint = {1503.04596},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1503.04596},
}
Figure