ASGO: Adaptive Structured Gradient Optimization
Kang An, Yuxing Liu, Rui Pan, Yi Ren, Shiqian Ma, Donald Goldfarb, Tong Zhang
TL;DR
ASGO targets structured optimization in DNN training by exploiting low-rank gradients and block-diagonal Hessians via a single-side preconditioner update $W_{t+1} = W_t - \eta_t V_t^{-1/2} G_t$, reducing memory and computation relative to Shampoo while achieving superior convergence. The authors provide detailed nonsmooth and smooth convergence analyses under matrix-structured assumptions, show ASGO can leverage low-rank gradients and Hessian diagonality, and connect it to Muon in a momentum-free limit. They propose practical implementations (including NS/PE solvers for $V_t^{-1/2}$ and a Transformer-focused, head-wise design for query/key matrices) and a memory-efficient DASGO variant. Empirically, ASGO matches or surpasses strong baselines like AdamW, Shampoo, and Muon on GPT-2 pretraining and GPT2-Large WikiText-2 finetuning, with competitive wall-clock times and improved stability, supporting its potential for efficient large-scale language-model training.
Abstract
Training deep neural networks is a structured optimization problem, because the parameters are naturally represented by matrices and tensors rather than by vectors. Under this structural representation, it has been widely observed that gradients are low-rank and Hessians are approximately block diagonal. These structured properties are crucial for designing efficient optimization algorithms, but are not utilized by many current popular optimizers like Adam. In this paper, we present a novel optimization algorithm ASGO that capitalizes on these properties by employing a preconditioner that is adaptively updated using structured gradients. By a fine-grained theoretical analysis, ASGO is proven to achieve superior convergence rates compared to existing structured gradient methods. Based on this convergence theory, we further demonstrate that ASGO can benefit from low-rank gradients and block diagonal Hessians. We also discuss practical modifications of ASGO and empirically verify ASGO's effectiveness on language model tasks. Code is available at https://github.com/infinity-stars/ASGO.
