SDE & MLE Prep

Convolutional Neural Networks

Q: Why do CNNs work well for images?

  • Local connectivity + weight sharing → far fewer parameters than dense layers and translation equivariance; pooling/striding gives some invariance and growing receptive fields.
  • Output size: (W − K + 2P) / S + 1. Params of a conv layer: K·K·C_in·C_out (+ C_out).
  • Milestones: LeNet → AlexNet (ReLU, dropout, GPUs) → VGG (3×3 stacks) → ResNet (residual connections, 100+ layers) → EfficientNet (compound scaling) → ConvNeXt; Vision Transformers (patches as tokens) win at large data scale.
  • 1×1 convs mix channels cheaply; depthwise-separable convs (MobileNet) cut compute.
input 32x32x3 --conv3x3x16--> 32x32x16 --pool2--> 16x16x16 --conv--> ... --global avg pool--> FC --> logits