Skip to content
StackDecode
AI & ML Atlas
Deep LearningarchitectureInteractive simulation

AlexNet

The 2012 CNN that started the deep-learning boom by winning ImageNet.

The idea

AlexNet has five convolutional layers and three fully connected ones, trained on two GPUs. It used ReLU activations, dropout, data augmentation and overlapping max-pooling, and cut the ImageNet error from about 26% to 16%, convincing the field that deep learning works.

Watch it run

This is a real computation, not a drawing. Pause, step, change the settings, or try new random data.

Plain deep networkWith skip connections (ResNet)out12345678910111213141516171819in
  • plain
  • with skip connections

The learning signal (gradient) starts at the output and travels backwards through 20 layers. Bar height shows its size at each layer on a log scale.

layers back:
0
1/7

A residual block computes x + F(x). The "+ x" is a shortcut the gradient can travel along.

Step by step

  1. 1Large 11×11 stride-4 convolution on the 227×227 image.
  2. 2Further convolutions with pooling in between.
  3. 3Flatten and apply two 4096-unit fully connected layers with dropout.
  4. 4Output 1000 class scores with softmax.

Where it is used

Historical milestone; a simple model to learn from.

Watch out for

Superseded by much more accurate and efficient networks.

Related