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

Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift

Sergey Ioffe, Christian Szegedy

ICML 2015 · arXiv 1502.03167 · Read the paper ↗

Normalise activations with batch statistics during training and running statistics at inference.

4 steps · 0 solved

Start: Training-mode forward →
  1. 1Training-mode forwardPer-channel mean and variance over the batch.Apply batch norm to conv feature maps per channelEasy
  2. 2Running statisticsTrack averages for inference mode.BatchNorm with running statistics for inferenceMedium
  3. 3Fold into the previous layerTurn eval-mode BN into a plain affine layer.Fold an eval-mode batch norm into the preceding linear layerMedium
  4. 4Backward passDerive the gradient through batch statistics.Derive the BatchNorm training-mode backward pass for 2-D and 4-D inputsHardPro

More foundations papers

  • Deep Residual Learning for Image Recognition 2015
  • Adam: A Method for Stochastic Optimization 2014
  • Dropout: A Simple Way to Prevent Neural Networks from Overfitting 2014
  • Distributed Representations of Words and Phrases and their Compositionality 2013
Goal
Batch norm forward, inference and backward
0 / 4 solved
Start: Training-mode forward →
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