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 →- 1Training-mode forwardPer-channel mean and variance over the batch.Apply batch norm to conv feature maps per channel
- 2Running statisticsTrack averages for inference mode.BatchNorm with running statistics for inference
- 3Fold into the previous layerTurn eval-mode BN into a plain affine layer.Fold an eval-mode batch norm into the preceding linear layer
- 4Backward passDerive the gradient through batch statistics.Derive the BatchNorm training-mode backward pass for 2-D and 4-D inputs