A fully connected, or dense, layer links every unit to every unit in the preceding layer. In AlexNet, these layers follow convolutional feature extraction: they flatten feature maps and combine image-wide information, giving up spatial structure to produce classification predictions. section 2.5.1
AlexNet’s first two fully connected layers contain most of its roughly 60 million parameters, increasing representational capacity while raising the risk of overfitting. The final layer produces 1,000 scores for ImageNet categories; softmax converts them into predicted probabilities. section 2.5.1
AlexNet and dropout
AlexNet’s FC6 and FC7 each have 4,096 neurons; during training, dropout disables 50% of the neurons in those layers to help limit overfitting. section 2.5.1 section 2.5.2
Figure 2.3 The AlexNet architecture (cropped in the original paper). The numbers indicate spatial dimensions and channel depth at each stage. The input image (224 × 224 × 3 RGB) passes through a series of convolutional and pooling layers that progressively reduce spatial resolution (224→55→27→13) while increasing channel depth. Early downsampling is driven by the first convolutional layer (11 × 11 filters with a stride of 4), followed by max pooling layers (3 × 3 windows with a stride of 2) that further reduce spatial dimensions. The stride determines how far a filter moves across the input at each step, controlling how densely the image is sampled and how quickly spatial resolution is reduced. Filter sizes (11, 5, 3) are depicted as cubes and define the local receptive field of each convolution. The two horizontal streams reflect the model’s original two-GPU training setup, where feature maps were split across devices (e.g., 48 + 48 = 96 channels). The fully connected layers (4096 neurons, implemented as 2048 + 2048 across GPUs) feed into a 1000-way output for ImageNet classification. Used with permission granted by the lead author (Alex Krizhevsky).
Trace AlexNet’s path from convolutional feature maps through fully connected layers to its 1,000-way output. section 2.5.1












