papers / lenet1998
Next task →
Research Papers/Backpropagation and neural networks/Gradient-Based Learning Applied to Document Recognition
Backpropagation and neural networks · #2 · historical

Gradient-Based Learning Applied to Document Recognition

Yann LeCun, Leon Bottou, Yoshua Bengio, Patrick Haffner · 1998 · Proceedings of the IEEE

1. Research problem

Handwritten character and document recognition required hand-crafted feature extractors because fully connected networks ignored the 2D structure of images.

2. Motivation

The authors wanted an architecture whose assumptions about images were built into its structure, so it could be trained end to end from pixels.

3. Previous approaches

Traditional document analysis used manually designed features and separate classifiers; early convolutional networks existed but had not been demonstrated at full system scale.

4. Core contribution

Presented LeNet-5 and the general convolutional-network design with local receptive fields, shared weights, subsampling, and a complete gradient-based training pipeline for document understanding.

5. Mathematical formulation

Convolution implements weight sharing as w_ij applied at all locations; subsampling reduces spatial resolution; the whole stack is trained by backpropagation on a supervised loss.

6. Methodology

End-to-end discriminative training with careful preprocessing, deflationary subsampling, and a graph transformer-like architecture for full check reading.

7. Architecture

Two convolution/subsampling stages followed by fully connected layers, with tanh units and sparse connectivity.

8. Experimental setup

Handwritten-digit recognition and a complete bank-check reading system.

9. Datasets

NIST/MNIST handwritten digits, USPS, and a check dataset.

10. Results

Very low digit error rates and a deployed check-reading system, showing that learned features could replace hand-crafted ones.

11. Limitations

Designed for small clean images; saturating activations and limited compute made scaling to natural images difficult at the time.

12. Critical analysis

A landmark demonstration of inductive bias through architecture, whose design principles reappeared decades later in modern CNNs.

13. Implementation tasks

  • 1.Implement LeNet-5 in a modern framework and train on MNIST to reproduce near-state-of-the-art error.
  • 2.Ablate weight sharing and subsampling to measure their effect on parameter count and accuracy.
  • 3.Visualize learned first-layer filters to show edge and stroke detectors.

14. Follow-up work

  • 1.ImageNet Classification with Deep Convolutional Neural Networks (Krizhevsky et al., 2012)
  • 2.Very Deep Convolutional Networks for Large-Scale Image Recognition (Simonyan and Zisserman, 2014)

15. Open research questions

  • 1.How much of LeNet's success came from architecture versus preprocessing?
  • 2.Which inductive biases remain useful when datasets are extremely large?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.