# ImageNet Classification with Deep Convolutional Neural Networks

Deep convolutional networks trained on ImageNet cut error on large image recognition

Krizhevsky, Alex, Sutskever, Ilya, Hinton, Geoffrey E. · Advances in Neural Information Processing Systems

- **Problem** Small labeled image sets cannot teach models to recognize varied real objects.
- **Method** The authors train a large CNN on ImageNet, using ReLU units to speed training and dropout to curb overfitting. Random patches and flips enlarge the training set, and two GPUs split the network.
- **Results** A seven-CNN ensemble reached 15.3% top-5 test error on ILSVRC-2012.

## Why small image datasets stall recognition

Recognition research had improved through better learning methods, larger datasets and better ways to prevent overfitting. Until recently, labeled image sets held only tens of thousands of images, as with NORB, Caltech-101/256 and CIFAR-10/100. Such sets handle simple tasks well, especially with label-preserving transformations, but real objects vary too much for them.

The MNIST digit task, with an error rate below 0.3%, already approaches human performance, so small data can suffice for easy problems.

Learning thousands of objects from millions of images needs a model with large capacity and built-in prior knowledge, because even ImageNet can't fully specify the task. CNNs fit that need, since their depth and breadth set capacity and their assumptions about image statistics and local pixel dependence act as prior knowledge. Their local structure also gives far fewer connections and parameters than a feedforward net of similar layer sizes, so they are easier to train.

The obstacle was cost, since applying CNNs at scale to high-resolution images had been prohibitively expensive. The authors argue that current GPUs, a highly optimized 2D convolution and ImageNet's labeled examples remove that barrier.

## A large CNN built to train on GPUs

The key idea is to build a much larger CNN and make it trainable with non-saturating neurons, a fast GPU convolution and regularization. The authors wrote their own highly-optimized GPU code for 2D convolution and the other training operations, and they released it publicly. The network's size was the main reason overfitting became a significant problem, even with 1.2 million labeled training examples.

The final network has five convolutional and three fully-connected layers. The authors found depth important, since removing any convolutional layer, each with no more than 1% of the parameters, resulted in inferior performance.

The network's size is limited mainly by GPU memory and by how much training time the authors were willing to tolerate. Training took five to six days on two GTX 580 3GB GPUs. The authors argue that waiting for faster GPUs and bigger datasets would improve results, since all their experiments suggest this. Training ran for roughly 90 cycles through the 1.2 million training images, so the network saw each image about 90 times.

The dataset's images are 256×256 after rescaling, and the training set has roughly 1.2 million images.

## How an image becomes a class distribution

Each input image is first resized so its shorter side is 256, then the central 256×256 patch is cropped out. The mean activity over the training set is subtracted from each pixel, so the network sees centered raw RGB values. The first convolutional layer filters the 224×224×3 input with 96 kernels of size 11×11×3 and a stride of 4 pixels.

The stride of 4 is the distance between the receptive field centers of neighboring neurons in a kernel map. The second convolutional layer takes the response-normalized and pooled output of the first layer and filters it with 256 kernels of size 5×5×48. The fourth and fifth convolutional layers have 384 and 256 kernels of size 3×3×192, and the fully-connected layers have 4096 neurons each.

The net is split across two GPUs, and each GPU holds half of the kernels or neurons. Layers two, four and five connect only to the kernel maps on their own GPU, while layer three sees all maps of layer two. Because the GPUs communicate only in certain layers, the connectivity can be tuned to keep communication an acceptable fraction of computation.

Splitting the net lowered top-1 error by 1.7% and top-5 error by 1.2%, compared to a one-GPU net with half as many kernels per convolutional layer.

Saturating units such as tanh learn slowly under gradient descent, so the authors use f(x)=max(0,x), which they call a ReLU. On CIFAR-10, a four-layer network with ReLUs reached 25% training error six times faster than the tanh version. That speed is why the authors could experiment with networks this large at all. The authors call it brightness normalization because it doesn't subtract the mean activity, and it lowered top-1 error by 1.4% and top-5 error by 1.2%.

Overlapping pooling uses windows of size 3 with a stride of 2, so neighbouring windows share pixels. Compared to non-overlapping pooling with stride 2 and window 2, it lowered top-1 error by 0.4% and top-5 error by 0.3%. The authors observed that models with overlapping pooling were slightly harder to overfit. Max-pooling layers follow both response-normalization layers and the fifth convolutional layer, and the ReLU is applied after every convolutional and fully-connected layer.

## Fighting overfitting and training the net

The authors call this insufficient to learn so many parameters without considerable overfitting, so they combat overfitting in two main ways. Random 224×224 patches and their horizontal reflections are extracted from the 256×256 images, which enlarges the training set by a factor of 2048. The training examples are highly interdependent, and without this scheme the network suffers from substantial overfitting that would force much smaller networks.

At test time, the network averages the softmax predictions over five 224×224 patches (four corners and center) and their horizontal reflections, ten patches in all.

The second augmentation alters the intensities of the RGB channels, using PCA computed on RGB pixel values across the ImageNet training set. Each training image receives multiples of the principal components, scaled by eigenvalues and by a Gaussian random variable with mean zero and standard deviation 0.1. The authors draw each αi once per training image and redraw it only when that image is used for training again.

Dropout combines many models cheaply by setting each hidden neuron's output to zero with probability 0.5. A dropped neuron doesn't contribute to the forward pass or take part in backpropagation, so each input samples a different architecture that shares weights. The net is forced to learn more robust features that work with many random subsets of the other neurons.

At test time all neurons are used, with outputs multiplied by 0.5, which approximates the geometric mean of the exponentially-many dropout networks. The authors apply dropout in the first two fully-connected layers, and without it the network shows substantial overfitting.

Training uses stochastic gradient descent with batch size 128, momentum 0.9 and weight decay 0.0005. The authors found this small weight decay important for learning, because it reduces the model's training error rather than only regularizing. Weights start from a zero-mean Gaussian with standard deviation 0.01, and biases in the second, fourth and fifth convolutional layers and the fully-connected hidden layers start at the constant 1.

The learning rate starts at 0.01 and is divided by 10 whenever validation error stops improving, which happened three times before termination. Training ran for roughly 90 cycles through the 1.2 million images, taking five to six days on two NVIDIA GTX 580 3GB GPUs.

## ImageNet classification results

On the ILSVRC-2010 test set, the CNN reached 37.5% top-1 and 17.0% top-5 error, against 47.1% and 28.2% for sparse coding. SIFT + FVs reached 45.7% top-1 and 25.7% top-5, so the CNN has lower error on both measures in this table. The sparse-coding entry averages six models trained on different features, while the SIFT + FVs entry averages two classifiers.

Without averaging predictions over the ten patches, the errors rise to 39.0% top-1 and 18.3% top-5. So part of the headline ILSVRC-2010 result depends on that averaging step.

On ILSVRC-2012 validation, a single CNN had 18.2% top-5 error, and averaging five CNNs lowered it to 16.4%. Because the ILSVRC-2012 test labels are not public, the authors compare validation and test error rates interchangeably, since they differ by no more than 0.1%. A seven-CNN ensemble pre-trained on the Fall 2011 release reached 15.3% top-5 test error.

On the Fall 2009 ImageNet with 10,184 categories and 8.9 million images, the net with an extra sixth convolutional layer scored 67.4% top-1 and 40.9% top-5. The best published results on that half-split are 78.1% and 60.9%. The authors use half the images for training and half for testing, but their split differs from earlier splits. They argue this difference does not affect the results appreciably, yet the comparison is not like-for-like.

## What each component contributed

Each component was compared with a variant that lacks it, and each gain is small on its own. Response normalization reduces the top-1 and top-5 error rates by 1.4% and 1.2%, relative to the network without it. The authors call it brightness normalization, because it doesn't subtract the mean activity. Overlapping pooling, with s = 2 and z = 3, lowers the top-1 and top-5 error rates by 0.4% and 0.3%.

That gain is measured against the non-overlapping scheme with s = 2 and z = 2, which gives output of equivalent dimensions. Overlapping pooling makes models slightly more difficult to overfit, according to the authors' training observations. The PCA-based RGB intensity augmentation reduces the top-1 error rate by over 1%. The cited text doesn't name the dataset for these component gains, so their scope beyond the reported comparisons is unclear.

Splitting the kernels across two GPUs lowers the top-1 error by 1.7% and the top-5 error by 1.2%. That comparison is with a net that has half as many kernels per convolutional layer and runs on one GPU. The GPUs communicate only in certain layers, which lets the authors tune the amount of communication. The ReLU speed-up was measured on CIFAR-10 rather than on ImageNet.

A four-layer CNN reaches a 25% training error rate six times faster with ReLUs than with tanh neurons. On CIFAR-10, a four-layer CNN has a 13% test error without response normalization and 11% with it.

The authors removed convolutional layers to test depth, and removing any middle layer costs about 2% top-1 performance. The authors conclude that depth matters for their results. They didn't test unsupervised pre-training, which the authors expect would help.

## What the authors left untested and what the setup costs

Training is the main cost, since the network needs five to six days on two GTX 580 3GB GPUs. The authors trained for roughly 90 cycles through the 1.2 million training images. GPU memory and the training time the authors were willing to tolerate limit how large the network can get. Dropout adds to that cost, because it roughly doubles the number of iterations needed to converge.

Most experiments used ILSVRC-2010, the one version whose test labels are available. For ILSVRC-2012, the authors treated validation and test error as interchangeable, since the two differed by at most 0.1%. The headline 37.5% and 17.0% rely on averaging predictions over ten patches, and without that step the error rates are 39.0% and 18.3%.

The model was trained with no unsupervised pre-training. The authors expect pre-training would help, especially with more computing power and no matching growth in labeled data. They didn't test unsupervised pre-training, so its effect on this network is unknown.

Video sequences are left as future work, where temporal structure could add information that static images lack. Results improved as they made the network larger and trained it longer.

## Paper info

- **Authors**: Krizhevsky, Alex, Sutskever, Ilya, Hinton, Geoffrey E.
- **Venue**: Advances in Neural Information Processing Systems · Published
- **Added**: 2026-11-7
- **Original paper terms**: [Check in the original ↗](https://papers.nips.cc/paper_files/paper/2012/hash/c399862d3b9d6b76c8436e924a68c45b-Abstract.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://papers.nips.cc/paper_files/paper/2012/hash/c399862d3b9d6b76c8436e924a68c45b-Abstract.html)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Krizhevsky, Alex, Sutskever, Ilya, Hinton, Geoffrey E. (2012). ImageNet Classification with Deep Convolutional Neural Networks. Advances in Neural Information Processing Systems. https://papers.nips.cc/paper\_files/paper/2012/hash/c399862d3b9d6b76c8436e924a68c45b-Abstract.html

**BibTeX**

```
@article{alex2012imagenet,
  title = {{ImageNet Classification with Deep Convolutional Neural Networks}},
  author = {Krizhevsky, Alex and Sutskever, Ilya and Hinton, Geoffrey E.},
  year = {2012},
  journal = {Advances in Neural Information Processing Systems},
  url = {https://papers.nips.cc/paper_files/paper/2012/hash/c399862d3b9d6b76c8436e924a68c45b-Abstract.html}
}
```

## Other paper commentary

- [CLiS: Plug-and-Play Attention Acceleration for Video Diffusion on TPUs via Certified Stabilization](https://refivu.com/en/papers/acd251a1-254b-4b45-9f41-4eca9101265b-clis-plug-and-play-attention-acceleration-for-video.md)
- [Two-Stream Convolutional Networks for Action Recognition in Videos](https://refivu.com/en/papers/d621dee0-0b2a-45a8-b152-6260b98f0db4-two-stream-convolutional-networks-for-action-recognition-in.md)
- [Glow: Generative Flow with Invertible 1x1 Convolutions](https://refivu.com/en/papers/fb9c5b80-a221-4385-8910-2ae4413b604b-glow-generative-flow-with-invertible-1x1-convolutions.md)
- [Density estimation using Real NVP](https://refivu.com/en/papers/6e98cc2c-51ae-4105-a052-60a312be9b3d-density-estimation-using-real-nvp.md)
- [Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks](https://refivu.com/en/papers/f9c68dd2-7de8-40fa-9eb6-ea62d8856b71-model-agnostic-meta-learning-for-fast-adaptation-of.md)
- [PredRNN: A Recurrent Neural Network for Spatiotemporal Predictive Learning](https://refivu.com/en/papers/c0da3abd-5c1e-4383-ae59-22d04fe3eb7d-predrnn-a-recurrent-neural-network-for-spatiotemporal.md)
- [Steer, Don't Tell: Breaking Reasoning Plateaus with Reachability-Aligned Self-Distillation](https://refivu.com/en/papers/9a9bdea9-2b4f-4948-af12-9e4f09801fff-steer-don-t-tell-breaking-reasoning-plateaus-with.md)
- [Mutual Information Estimation via Triangular Transport Maps: Finite Sample Guarantees and Sample Allocation](https://refivu.com/en/papers/ecbc1c4d-e55f-44e9-a5cd-8b294d3ca9c9-mutual-information-estimation-via-triangular-transport-maps.md)
- [Do Orthogonality Constraints Help Language-Model Training Beyond Sphere Optimization?](https://refivu.com/en/papers/a8d5be60-2838-4ee7-ae07-084a4f6ef144-do-orthogonality-constraints-help-language-model-training.md)
- [TacMind: Benchmarking and Modeling Tactile Interaction States for Robotic Manipulation](https://refivu.com/en/papers/8026a46a-24cf-4064-8238-09bba4b5608f-tacmind-benchmarking-and-modeling-tactile-interaction-states.md)
- [Compositional Self-Improvement: Promises and Pitfalls](https://refivu.com/en/papers/a9825bfa-7aaf-4867-8463-15647e0763c4-compositional-self-improvement-promises-and-pitfalls.md)
- [TileWeave: Heterogeneous Tiling for Sparse Prefill on Mobile SoCs](https://refivu.com/en/papers/9361e360-511e-48c2-a4db-bcecd23a47cf-tileweave-heterogeneous-tiling-for-sparse-prefill-on-mobile.md)

## Terms in this paper

- [CIFAR-10](https://refivu.com/en/terms/19035a518d0a-cifar-10)
- [stochastic gradient descent](https://refivu.com/en/terms/a49650824022-stochastic-gradient-descent)
- [dropout](https://refivu.com/en/terms/db73f75bbdd3-dropout)
- [ReLU](https://refivu.com/en/terms/7b22f5612f6c-relu)
- [data augmentation](https://refivu.com/en/terms/cc5618231f4a-data-augmentation)
- [CNN](https://refivu.com/en/terms/06880f5198e6-cnn)
- [PCA](https://refivu.com/en/terms/2f4628e32ef5-pca)
- [sparse coding](https://refivu.com/en/terms/107c6b75abf4-sparse-coding)
- [ILSVRC](https://refivu.com/en/terms/fd39e80cf73d-ilsvrc)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/29bd195c-62ba-4850-a19b-8047984af37c-imagenet-classification-with-deep-convolutional-neural)
