Modern architectures & residual connections

Step 3 of 8 in Computer Vision · Concept · Medium

Deeper nets got worse until ResNet added skip connections so layers learn a residual on top of the identity. This made 100+ layer networks trainable.

Build it

  1. Plain vs residual

    Train a 20-layer plain CNN and the same with residual blocks; compare training curves.

    Done when: Residual version trains faster and lower.

Case study: ResNet (2015)

  • 152 layers won ImageNet 2015.
  • Deeper plain nets had higher training error: an optimization problem, not overfitting.
  • Skip connections are now in nearly every architecture, including transformers.

Read the case study

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map