arXiv Machine Learning

A Constrained Optimization Perspective of Unrolled Transformers

arXiv:2601. 17257v2 Announce Type: replace Abstract: We introduce a constrained optimization framework for training transformers that behave like optimization descent algorithms.

arXiv AI
Aug 19

Gradient Heterogeneity Complements Hessian Heterogeneity in Transformer Optimization

The paper investigates why adaptive optimizers like Adam outperform SGD when fine‑tuning Transformers. It introduces gradient heterogeneity—the variation in gradient norms across parameter blocks—and shows, both theoretically and experimentally, that this heterogeneity, together with Hessian heterogeneity, hampers SGD convergence while sign‑based methods such as SignSGD are less affected. The study links the source of gradient heterogeneity to layer‑normalization placement, finding that Post‑LN architectures exhibit the strongest effect, and uses SignSGD as a tractable proxy to analyze Adam‑like behavior and learning‑rate scaling.

By Akiyoshi Tomihari, Issei Sato
arXiv Machine Learning
Jul 14

AutoNorm: Understanding Adaptive Normalization in Transformers through Differentiable Gating

arXiv:2607. 10593v1 Announce Type: new Abstract: Normalization is a critical component for stabilizing Transformer training, yet the choice between static strategies such as Layer Normalization (LN) and adaptive alternatives remains largely task-dependent.

By Piyush Kaushik Bhattacharyya, Divyanshu Rai, Swastik Singh, Kumar Aakash, Ayush Ranjan, Krutika Verma
arXiv Machine Learning
Nov 6

The Quantization Benefits of Residual-Free Transformers

The paper investigates how residual connections in transformers affect the distribution of activations, making them heavy‑tailed and more difficult to quantize accurately. By comparing standard residual transformers with residual‑free variants, the authors show that residuals increase quantization error and accuracy loss at low precision, while residual‑free models maintain near‑Gaussian activations and better robustness to low‑bit quantization. They further demonstrate that residual‑free transformers can be trained effectively using orthogonal initialization, spectral or second‑order optimization, and depth‑aware scaling of attention temperature, achieving comparable full‑precision performance with improved quantization friendliness.

By Yiping Ji, Mahalakshmi Sabanayagam, Peyman Moghadam, Hemanth Saratchandran, Simon Lucey