Review Residuals: Update-Conditioned Residual Gating for Transformers
Abstract
Residual connections add every sublayer's proposed update with a fixed coefficient of one; the network never evaluates whether an update is reliable before committing it. Drawing on the human-factors principle of independent verification, we introduce Review Residuals, which scale each update by a learned, input-dependent gate conditioned on both the current state and the proposed update: hl = hl-1 + rl * ul with rl = sigmoid(W[RMSNorm(hl-1), RMSNorm(ul)]). Conditioning the gate on the update is the property that distinguishes it from prior gated and scaled residuals. We report two findings. First, a depth-stability result: a convex (Highway-style) form of the gate reintroduces vanishing gradients and fails to train beyond ~20 layers, whereas the additive, identity-preserving form trains stably at all depths we tested. Second, an emergence-with-scale result: trained from scratch across five sizes (60M-1B parameters, multi-seed), Review Residuals show no advantage at small scale but at 590M significantly outperform both a parameter-matched Highway gate and a parameter-matched standard residual (p<0.05), with a larger advantage at 1B. The benefit grows with model size rather than shrinking.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CL
- Comments
- 9 pages, 2 figures. Also on Zenodo: https://doi.org/10.5281/zenodo.21053343 ; Code: https://github.com/SixSigmaEngineer/review-residuals
Related papers
Loop-Count Schedules in Looped Transformers: An Empirical Study
Shared title terminologycs.LGKonstantin Kolokolov
Fuzzy e-Means: Fuzzy c-Means on Large Data with Moving-Average Mini-Batch Updates
Shared title terminologycs.LGParitosh Tiwari, Punit Rathore
Operating-Condition Normalization in C-MAPSS: Matched Historical Baselines, Multi-Seed Robustness, and Prognostic-Score Trade-offs
Shared title terminologycs.LGMohammad Adeel
Action-Conditioned Transition Irreversibility for Out-of-Distribution Detection in Reinforcement Learning
Shared title terminologycs.LGEmil Mittag, Richard Dazeley, Peter Vamplew
Cross-Site Transformers Are Robust Heart Rate Estimators
Shared title terminologycs.LGMason Kadem, Rong Zheng
SONATI: Spatio-temporal ocean neighbourhood asymmetric transformer for imputation of sparse, tabular data with uncertainty
Shared title terminologycs.LGYvonne Jenniges, Boris Peter Koch, Maike Sonnewald et al.