7 Modern Convolutional Neural Networks
With the mechanics of convolutional layers and LeNet in hand (Chapter 6), we now trace a decade of convolutional architecture design, from AlexNet’s 2012 ImageNet breakthrough to the early-2020s dialogue between convolutional networks and Vision Transformers. Rather than treating each landmark model as an isolated artifact, we ask what bottleneck prompted each design step and carry a cumulative toolkit forward across the chapter.
The opening sections move from hand-wired layers to modular building blocks. AlexNet (Section 7.1) demonstrates how end-to-end feature learning overtook hand-engineered vision pipelines once large labeled datasets and GPUs converged, introducing ReLU activations, dropout, data augmentation, and a warmup-and-cosine learning-rate schedule reused throughout the chapter, while exposing a stark imbalance between convolutional compute and dense-head parameter count. VGG, Network in Network (NiN), and GoogLeNet (Section 7.2) address that imbalance by organizing networks into repeatable \(3 \times 3\) blocks, mixing channels per pixel with \(1 \times 1\) convolutions, replacing massive dense heads with global average pooling, and combining parallel multi-scale branches inside a stem–body–head layout.
The middle sections scale depth and hardware efficiency. Normalization layers (Section 7.3) standardize intermediate activations across the minibatch or within individual examples, rendering hidden layers insensitive to weight scale and widening usable learning rates by orders of magnitude. Residual networks (Section 7.4) resolve the optimization degradation of deep plain stacks through additive shortcuts \(\mathbf{x} + g(\mathbf{x})\) that keep the identity mapping at \(g = 0\), before extending the block via grouped convolutions (ResNeXt) and feature concatenation (DenseNet). Efficient convnets (Section 7.5) elevate latency, memory, and energy alongside accuracy through depthwise-separable factorization, inverted bottlenecks, compound scaling, squeeze-and-excitation gates, and structural re-parameterization, while showing why operation counts often diverge from GPU wall-clock time.
The closing sections disentangle training methodology from architecture. Modern training recipes (Section 7.6) show that contemporary optimization and regularization—AdamW, cosine warmup, label smoothing, Mixup, CutMix, stochastic depth, and weight averaging—account for several percentage points of ImageNet accuracy on an unchanged ResNet. Holding such a recipe fixed, ConvNeXt (Section 7.7) modernizes a ResNet step by step to match hierarchical Vision Transformers without attention, and convolutional design spaces (Section 7.8) compare empirical error distributions across sampled populations to distill the simple structural rules of the RegNet family.