- Year of appearance
- 1998
- Researchers
- Yann LeCun, Léon Bottou, Yoshua Bengio, Patrick Haffner
- Organisation
- AT&T Labs
- Architecture type
- Convolutional neural network
- Learning mechanism
- supervised
- Tasks
- Image classification, Handwritten digit recognition
An early convolutional network for recognising handwritten digits, combining convolution, subsampling and fully connected layers in one architecture trained by backpropagation.
Architecture diagram
Displayed configuration: Original LeNet-5 (LeCun et al. 1998) — About seven learnable layers on 32×32 images.
Layer table (9 nodes)
| Layer | Type | Input | Output | Repetition | Parameters | Formula | MACs |
|---|---|---|---|---|---|---|---|
| Input | input | 1 × 32 × 32 | 1 | 0 | — | ||
| C1: convolution 6@5×5 | conv | 1 × 32 × 32 | 6 × 28 × 28 | 1 | 156 | 6·(5·5·1) + 6 | 117,600 |
| S2: 2×2 subsampling | pool | 6 × 28 × 28 | 6 × 14 × 14 | 1 | 12 | 6 multiplier coefficients + 6 biases | — |
| C3: convolution 16@5×5 (partial connections) | conv | 6 × 14 × 14 | 16 × 10 × 10 | 1 | 1,516 | 60 map connections·25 + 16 biases | 150,000 |
| S4: 2×2 subsampling | pool | 16 × 10 × 10 | 16 × 5 × 5 | 1 | 32 | 16 + 16 | — |
| C5: convolution 120@5×5 | conv | 16 × 5 × 5 | 120 × 1 × 1 | 1 | 48,120 | 120·(5·5·16) + 120 | 48,000 |
| F6: fully connected 84 | fc | 120 | 84 | 1 | 10,164 | 84·120 + 84 | 10,080 |
| Output: 10 RBF units | rbf | 84 | 10 | 1 | 0 | 84·10 = 840 fixed values (±1), not trained | — |
| Class (0–9) | output | 10 | 10 | 1 | 0 | — |
Configuration figures: Original LeNet-5 (LeCun et al. 1998)
- Input shape
- 1×32×32
- Output shape
- 10
- Depth
- 7 layers (excluding the input)
- Complexity
- Linear in the number of pixels
- Parameters note
- The paper states about 60,000 trainable parameters; the table total here is exactly 60,000 (the fixed RBF weights are not counted).
- MACs note
- Layers C1, C3, C5 and F6 only; the subsampling and RBF operations are not counted.
MAC = a multiplication followed by an addition. The figures are for one forward pass of one sample with the stated dimensions; they are an analytical calculation, not a measurement of run time.
Scientific explanation
Historical background
It evolved through LeCun's work from 1989, was presented in full in 1998 in the Proceedings of the IEEE, and was used commercially to read bank cheques.
The problem it addresses
Recognising handwritten digits robustly to distortions and shifts without hand-engineered features.
Core idea
Local receptive fields, shared weights and subsampling give the network some shift invariance with a small number of parameters.
Architecture description
C1 (6 maps 5×5) → S2 (subsampling) → C3 (16 maps, partial connections) → S4 → C5 (120) → F6 (84) → an RBF output of ten units.
Data flow
32×32 image → 28×28 maps → 14×14 → 10×10 → 5×5 → vector of 120 → 84 → 10 distances, the smallest of which determines the class.
Inputs
A 32×32 greyscale image.
Outputs
Ten scores (distances) for classes 0–9.
Training procedure
Backpropagation with a diagonal version of the Levenberg-Marquardt method on 60,000 MNIST images.
Loss functions
A criterion based on RBF distances (a variant of MAP) that lowers the penalty of the correct class and raises the penalty of the wrong classes.
Computational complexity
About 0.34 million multiply-adds per image.
Computational requirements
Very low.
Advantages
- Small number of parameters
- Proved the effectiveness of convolution in practice
- Fast on simple hardware
Limitations
- Small for complex natural images
- tanh/sigmoid functions slow deep training
- The partial C3 table is not used in modern networks
Equations
The convolution operation 2D convolution
Y_{o}(i,j) = b_o + \sum_{c=1}^{C_{in}} \sum_{u=0}^{k-1} \sum_{v=0}^{k-1} W_{o,c}(u,v)\, X_c(s\,i + u - p,\; s\,j + v - p)Each output map sums input windows across all channels with weights shared across all positions.
Symbols: k: kernel size, s: stride, p: padding, C_in: input channels
Convolution output size Convolution output size
H_{out} = \left\lfloor \frac{H_{in} + 2p - k}{s} \right\rfloor + 1Determines the spatial dimensions of the output map.
Symbols: H_in: height, k: kernel, s: stride, p: padding
Scaled activation Scaled tanh
f(a) = A \tanh(S\,a),\quad A = 1.7159The activation function used in the paper.
Symbols: A: amplitude, S: slope
Applications
Related models
- Successor of AlexNet — AlexNet extended the idea to ImageNet with more depth, ReLU and GPUs. Compare
- Predecessor of Multilayer Perceptron — Adds local connectivity and shared weights to the MLP. Compare
- Graph Convolutional Network — Generalising the idea of convolution to graphs. Compare
References
- Original paper Y. LeCun, L. Bottou, Y. Bengio, P. Haffner. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11), 2278–2324. doi:10.1109/5.726791 Verified
Version 1 — last updated 2026-11-15.
