BLOGLLM Logo
Go Pro
Guest
Not signed in
All BlogsCoursesPracticeInterview prepSeriesTagsBookmarksPricing
Log in
All BlogsCoursesPracticeTagsBookmarksPricing
BlogsCourses
Practice
My PrepProblemsStudy PlansResearch PapersRoadmapInterviewContestsLeaderboardGames
Articles
Practice / Research papers
Foundations · 2015

Deep Residual Learning for Image Recognition

Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun

CVPR 2016 · arXiv 1512.03385 · Read the paper ↗

Skip connections let networks go hundreds of layers deep. The residual idea now sits inside every Transformer too.

5 steps · 0 solved

Start: 2D convolution →
  1. 12D convolutionSlide a kernel with stride and padding.Write a 2D convolution with stride and paddingEasy
  2. 2Batch norm on feature mapsNormalise each channel across the batch and space.Apply batch norm to conv feature maps per channelEasy
  3. 3Max poolingDownsample and route gradients to the max.Max pooling forward and backwardMediumPro
  4. 4Residual block forwardAdd the input back to the branch output.Forward pass of a pre-norm residual MLP blockMedium
  5. 5Residual block backwardSee why the identity path keeps gradients alive.Backpropagate through a residual MLP blockHardPro

More foundations papers

  • Adam: A Method for Stochastic Optimization 2014
  • Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift 2015
  • Dropout: A Simple Way to Prevent Neural Networks from Overfitting 2014
  • Distributed Representations of Words and Phrases and their Compositionality 2013
Goal
Build and backprop a residual block
0 / 5 solved
Start: 2D convolution →
How it works

Solve the steps in order. Each one is a small function with tests that run in your browser. Later steps reuse ideas from earlier ones.

© BlogLLM, Bengaluru, IndiaAboutTermsPrivacyRefundsDMCAContactRSS