PreNorm
An arrangement of residual connections and normalization layers in Transformers in which normalization is placed before the sublayer (attention or FFN) and residual addition occurs after normalization, leaving the residual path unnormalized. It trains more stably and is the mainstream choice in modern large models.
Timeline (last 90 days)
PreNorm places normalization before the sublayer and the residual addition after normalization, i.e., x + Sublayer(Norm(x)); PostNorm places normalization after the residual addition, i.e., Norm(x + Sublayer(x)).
HiRes uses PreNorm inside blocks to maintain single-layer training stability, and uses PostNorm on the outer residual between blocks to maintain numerical stability in the wider D-dimensional residual space.
All Facts (2)
PreNorm places normalization before the sublayer and the residual addition after normalization, i.e., x + Sublayer(Norm(x)); PostNorm places normalization after the residual addition, i.e., Norm(x + Sublayer(x)).
50%UnverifiedHiRes uses PreNorm inside blocks to maintain single-layer training stability, and uses PostNorm on the outer residual between blocks to maintain numerical stability in the wider D-dimensional residual space.
50%