Stabilizing Transformer Training Through Consensus

Read full text
Authors: Shyam Venkatasubramanian, Sean Moushegian, Lin, Michael, Park, Mir, Ankit Singhal, Connor Lee
Cited by: 0

Abstract

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.

Fields of Study & Subjects

Topic Modeling Stochastic Gradient Optimization Techniques Domain Adaptation and Few-Shot Learning

Publication details

Journal / source
arXiv (Cornell University)
Publication date
30 January 2026
Document type
Preprint