KiteNorm: Variance Regularisation for Stable and Scalable Post-LN Transformers
Leon A. Trochelmann, Sajad Movahedi, Shiwei Liu, Antonio Orvieto
Abstract
Post-LayerNorm Transformers have seen limited practical adoption due to enduring difficulties in scaling them to large depths. While prior research has focused on stabilising Post-LayerNorm by improving conditioning at initialisation, stability often deteriorates when models are trained with large learning rates, forcing additional compromises. In the decoder-only settings we study, existing Post-LayerNorm methods fail to outperform strong Pre-LayerNorm baselines. We propose KiteNorm, a post-norm training method designed to break this trend by constraining hidden-state variance. This approach is motivated by a bound on the LayerNorm Jacobian suggesting that variance growth contributes to gradient vanishing, alongside empirical evidence linking it to rank collapse. KiteNorm combines residual scaling and variance regularisation to maintain stability throughout training, supported by scalarised double-normalisation that provides separately learnable scales for the skip and residual branches. Across decoder-only Transformers up to 1.3B parameters, KiteNorm improves training stability and outperforms leading baselines at their optimal learning rates, with scaling laws favouring KiteNorm across depth, width, batch size, and training budget. Ablations show that each component is necessary for the full stability and performance gains.
Create a lesson
Related papers
Loop-Count Schedules in Looped Transformers: An Empirical Study
Shared title terminology · Konstantin Kolokolov
DoC: Learning to Defer or Commit for Timely, Accurate, and Stable Conversational Diagnosis Prediction
Shared title terminology · Xueren Ge, Anthony Cortez, Homa Alemzadeh
Cross-Site Transformers Are Robust Heart Rate Estimators
Shared title terminology · Mason Kadem, Rong Zheng
Scalable Beckmann Maps Improve One-step Generation
Shared title terminology · Ulrik Unneberg, Shiyi Wang, Lee Cheuk-Kit et al.
SONATI: Spatio-temporal ocean neighbourhood asymmetric transformer for imputation of sparse, tabular data with uncertainty
Shared title terminology · Yvonne Jenniges, Boris Peter Koch, Maike Sonnewald et al.
Failure Modes and Data-Efficient Remedies for Transformer-Based Prediction of Viscoplastic Flows
Shared title terminology · Maedeh Saberi, Hugo Franca, Maziyar Jalaal et al.