Stabilizing Transformer Training Through Consensus
Not on the map. Why?
Abstract (arXiv)
Standard attention-based transformers are known to exhibit instability under learning rate overspecification during training, particularly at high learning rates. While various methods have been proposed to improve resilience to such overspecification by modifying the optimization procedure, fundamental architectural innovations to this end remain underexplored. In this work, we illustrate that the consensus mechanism, a drop-in replacement for attention, stabilizes transformer training across a wider effective range of learning rates. We formulate consensus as a graphical model and provide extensive empirical analysis demonstrating improved stability across learning rate sweeps on text, DNA, and protein modalities. We further propose a hybrid consensus-attention framework that preserves performance while improving stability. We provide theoretical analysis characterizing the properties of consensus.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 49 references that are in the map. First posted on arXiv 30 Jan 2026.
Builds on
23 of 49 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 745
- 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusionscited by 214
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 183
- 2022Understanding Gradient Descent on Edge of Stability in Deep Learningcited by 128
11 more
- 2017L2 Regularization versus Batch and Weight Normalizationcited by 124
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 124
- 2024Resolving Discrepancies in Compute-Optimal Scaling of Language Modelscited by 88
- 2020A Tutorial on Learning With Bayesian Networkscited by 57
- 2024Why Warmup the Learning Rate? Underlying Mechanisms and Improvementscited by 46
- 2025Peri-LN: Revisiting Normalization Layer in the Transformer Architecturecited by 34
- 2024Adam Exploits ℓ_∞-geometry of Loss Landscape via Coordinate-wise Adaptivitycited by 23
- 2021Minimax Optimal Regression over Sobolev Spaces via Laplacian Regularization on Neighborhood Graphscited by 13
- 2025Taming Transformer Without Using Learning Rate Warmupcited by 9
- 2025Mitigating Attention Localization in Small Scale: Self-Attention Refinement via One-step Belief Propagationcited by 3
- 2025Probabilistic Graphical Models: A Concise Tutorialcited by 1
Built on by
Not cited yet.