Why Learn About Architectures?
Most successful vision models are variations of a few famous designs. Knowing their main ideas helps you choose a model and understand papers and tutorials.
A Short Timeline
| Model | Year | Big idea |
|---|---|---|
| LeNet-5 | 1998 | The first practical CNN, read handwritten digits on bank checks |
| AlexNet | 2012 | Deep CNN with ReLU and dropout trained on GPUs. It started the deep learning boom |
| VGG | 2014 | Use only small 3 x 3 filters, stacked deeply |
| Inception | 2014 | Several filter sizes in parallel in one block |
| ResNet | 2015 | Skip connections allow networks with 50 to 150+ layers |
| MobileNet | 2017 | Depthwise separable convolutions: small and fast for phones |
| EfficientNet | 2019 | Scale width, depth and resolution together in a balanced way |
ResNet: The Skip Connection
Very deep networks were hard to train because gradients faded. ResNet adds the input of a block to its output, so the block only has to learn the change (the residual). Gradients flow easily through the shortcut.
MobileNet: Cheaper Convolutions
A depthwise separable convolution splits a normal convolution into two cheaper steps, which reduces the computation by about 8 to 9 times with a small loss in accuracy.
Load Any of Them in Keras
Classify a Picture with ImageNet Weights
Which One Should I Choose?
| Need | Choice |
|---|---|
| Fast and small, for mobile | MobileNetV2 / V3 |
| Good accuracy for the size | EfficientNetB0 to B3 |
| Strong, simple baseline | ResNet50 |
| Learning purposes | VGG16 |
Conclusion
You do not need to design architectures from scratch. Pick a proven one and apply transfer learning.

