- Year of appearance
- 2012
- Researchers
- Alex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton
- Organisation
- University of Toronto
- Architecture type
- Deep convolutional neural network
- Learning mechanism
- supervised
- Tasks
- Image classification
A deep convolutional network that won the ImageNet ILSVRC-2012 competition by a wide margin and launched the deep learning wave in computer vision.
Architecture diagram
Displayed configuration: Original two-group AlexNet (227×227) — Five convolution layers and three fully connected layers, with conv2, conv4 and conv5 split into two groups as in the two-GPU implementation.
Layer table (14 nodes)
| Layer | Type | Input | Output | Repetition | Parameters | Formula | MACs |
|---|---|---|---|---|---|---|---|
| Input | input | 3 × 227 × 227 | 1 | 0 | — | ||
| conv1: 96@11×11 stride 4 + ReLU + LRN | conv | 3 × 227 × 227 | 96 × 55 × 55 | 1 | 34,944 | From the reference PyTorch implementation | 105,415,200 |
| maxpool 3×3 stride 2 (overlapping) | pool | 96 × 55 × 55 | 96 × 27 × 27 | 1 | 0 | From the reference PyTorch implementation | 0 |
| conv2: 256@5×5 (two groups) | conv | 96 × 27 × 27 | 256 × 27 × 27 | 1 | 307,456 | From the reference PyTorch implementation | 223,948,800 |
| maxpool 3×3 stride 2 | pool | 256 × 27 × 27 | 256 × 13 × 13 | 1 | 0 | From the reference PyTorch implementation | 0 |
| conv3: 384@3×3 | conv | 256 × 13 × 13 | 384 × 13 × 13 | 1 | 885,120 | From the reference PyTorch implementation | 149,520,384 |
| conv4: 384@3×3 (two groups) | conv | 384 × 13 × 13 | 384 × 13 × 13 | 1 | 663,936 | From the reference PyTorch implementation | 112,140,288 |
| conv5: 256@3×3 (two groups) | conv | 384 × 13 × 13 | 256 × 13 × 13 | 1 | 442,624 | From the reference PyTorch implementation | 74,760,192 |
| maxpool 3×3 stride 2 | pool | 256 × 13 × 13 | 256 × 6 × 6 | 1 | 0 | From the reference PyTorch implementation | 0 |
| fc6: 4096 + ReLU + Dropout | fc | 9216 | 4096 | 1 | 37,752,832 | From the reference PyTorch implementation | 37,748,736 |
| fc7: 4096 + ReLU + Dropout | fc | 4096 | 4096 | 1 | 16,781,312 | From the reference PyTorch implementation | 16,777,216 |
| fc8: 1000 | fc | 4096 | 1000 | 1 | 4,097,000 | From the reference PyTorch implementation | 4,096,000 |
| Softmax (1000 classes) | softmax | 1000 | 1000 | 1 | 0 | — | |
| Class probabilities | output | 1000 | 1000 | 1 | 0 | — |
Configuration figures: Original two-group AlexNet (227×227)
- Input shape
- 3×227×227
- Output shape
- 1000
- Depth
- 8 learnable layers
- Complexity
- fc6 dominates the parameters (about 62%), and the convolutions dominate the compute.
- Parameters note
- The paper states about 60 million parameters.
- MACs note
- Computed with torch.utils.flop_counter for one forward pass.
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 was trained on two GTX 580 cards for five to six days and achieved a top-5 error of 15.3% in the competition, versus 26.2% for the nearest competitor.
The problem it addresses
Classifying 1.2 million high-resolution natural images into 1000 classes.
Core idea
A deeper and larger network trained on GPUs, with ReLU for speed and Dropout and data augmentation to limit overfitting.
Architecture description
Five convolution layers (11×11, 5×5, then three 3×3) with overlapping max pooling and local response normalisation (LRN), followed by three fully connected layers (4096, 4096, 1000).
Data flow
227×227×3 ← 55×55×96 ← 27×27 ← 27×27×256 ← 13×13 ← 13×13×384 ← 13×13×384 ← 13×13×256 ← 6×6×256 ← 4096 ← 4096 ← 1000.
Inputs
A randomly cropped 224×224 RGB image (227 in practice).
Outputs
A probability distribution over 1000 classes.
Training procedure
SGD with momentum 0.9, batch 128, weight decay 0.0005, and a learning rate of 0.01 divided by 10 when improvement stalls, with Dropout 0.5 in fc6 and fc7.
Loss functions
Multi-class cross-entropy.
Computational complexity
About 0.72 billion multiply-adds per 227×227 image (computed here).
Computational requirements
Originally trained on two GPUs with 3GB of memory each.
Advantages
- Proved the superiority of deep learning on ImageNet
- ReLU sped up training considerably
- Introduced Dropout and data augmentation systematically
Limitations
- Very many parameters in the fully connected layers
- LRN later proved not to be useful
- Large kernels in the first layer
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
ReLU Rectified linear unit
f(x) = \max(0, x)A non-saturating activation that speeds up training compared with tanh.
Local response normalisation Local response normalization
b^{i}_{x,y} = a^{i}_{x,y} \Big/ \left(k + \alpha \sum_{j=\max(0,i-n/2)}^{\min(N-1,i+n/2)} \left(a^{j}_{x,y}\right)^2\right)^{\beta}Normalisation across adjacent channels; in the paper k=2, n=5, α=10⁻⁴, β=0.75.
Symbols: N: number of channels
Applications
Related models
References
- Original paper Alex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton. (2012). ImageNet classification with deep convolutional neural networks. NeurIPS 2012; republished in Communications of the ACM, 60(6), 84–90 (2017). doi:10.1145/3065386 Verified
Version 1 — last updated 2026-11-15.
