ReZero (residual with zero initialization) is a method that multiplies the transformation of each layer with a residual connection by a learnable scalar and starts training from . It was proposed in 2020 by Thomas Bachlechner et al. (University of California, San Diego).
In deep networks, signals and gradients shrink or swell by a constant factor each time they pass through a layer, making vanishing gradients and exploding gradients likely. This has been addressed by combining careful initialization, normalization such as batch normalization and layer normalization, and residual connections. ReZero simply adds one scalar per layer and starts it at 0, which carries signals deep into the network without normalization.
The paper added ReZero to fully connected networks, ResNet, and the Transformer, and showed that training became faster in every case. In particular, for the Transformer, a 128-layer model was trained with layer normalization and learning rate warmup removed.
The top of the figure shows a layer of the original Transformer (Post-Norm, which applies layer normalization after the addition), and the middle shows a ReZero layer. ReZero removes layer normalization and multiplies the outputs of both sublayers by the same before adding them.


