arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.22614cs.LG
收藏

通过共识稳定变换器训练

Stabilizing Transformer Training Through Consensus

Shyam Venkatasubramanian, Sean Moushegian, Michael Lin, Mir Park, Ankit Singhal, Connor Lee

AI总结:

本文提出共识机制作为注意力的替代方案,通过改进变换器训练的稳定性,提升在不同数据模态下的学习效率。

摘要:

标准的基于注意力的变换器在训练过程中已知在学习率过高时会出现不稳定现象,特别是在高学习率下。尽管已提出各种方法通过修改优化过程来提高对这种过指定的耐受性,但在此方面的根本性架构创新仍被忽视。在本工作中,我们表明共识机制作为一种注意力的替代方案,能够在更宽的有效学习率范围内稳定变换器训练。我们将共识建模为图形模型,并提供了广泛的实证分析,证明在文本、DNA和蛋白质模态上,学习率扫描中的稳定性得到改善。我们进一步提出了一种混合共识-注意力框架,该框架在保持性能的同时提高了稳定性。我们还提供了理论分析,描述共识的性质。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑