The Loss Does Not See the Basis, but Adam Does
Summary
Shows gradient descent on W=UV^T is biased toward low-rank interpolants while Adam is not, tracing the gap to loss gauge symmetry (U,V)->(UQ,VQ). Equivariant methods (GD, momentum, shared-scalar Adam, Muon, Shampoo) can inherit gradient-flow low-rank bias; coordinate-wise Adam/RMSProp/Lion/Adafactor cannot. Sorts nine update rules on underdetermined matrix sensing; a p-dial from coordinate-wise to shared-scalar Adam restores the bias monotonically. In transformers, Adam splits two gauge-equivalent inits at step 1 (per-head W_Q^T W_K 56% apart). On two hyperspectral datasets at matched train loss, GD cuts held-out error 43-44% vs Adam at lowest sampling density.
- Venue
- arXiv
- Source
- arxiv
- Access
- free
- License
- arXiv perpetual non-exclusive license 1.0
- License family
- Other
- Language
- en
- Purpose
- Characterize which optimizers preserve the low-rank implicit bias of factored models via gauge equivariance
- Scale
- Matrix sensing n=40 rank-3; hyperspectral completion (Indian Pines, Pavia); small transformers (2-6 layers) plus a 6-layer char LM
- Used for
- Unknown
- Time period
- 2026 (arXiv 2608.05136, published 2026-08-05)
- Author type
- human
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Aug 5, 2026
- arXiv categories
- cs.LG, math.OC, stat.ML
- Author comment
- 22 pages main text + appendices, 5 figures. Code, seeds, and raw run records: https://github.com/idevender/loss-basis-adam
- Citations
- 0
- References
- 61
Abstract (from arXiv)
Gradient descent on a factored model $W = UV^\top$ is implicitly biased toward low-rank solutions, while Adam, starting from the same small initialization, is not. We trace the difference to the gauge symmetry of the loss, its invariance under $(U, V) \mapsto (UQ, VQ)$. Gradient flow's low-rank mechanism is available to an optimizer only if that optimizer is gauge-equivariant, a condition necessary for the transfer but not sufficient for low-rank recovery. Gradient descent, momentum, "shared-scalar" Adam, Muon, and Shampoo satisfy it. Adam, RMSProp, and the other coordinate-wise methods do not. A structure theorem characterizes the memoryless equivariant rules as exactly the Gram-determined left preconditioners, and a transfer theorem carries gradient flow's pathwise properties to common-scalar flows. We then sort nine update rules on underdetermined matrix sensing by recovery error against the planted ground truth. A one-parameter family from coordinate-wise to shared-scalar preconditioning restores the bias monotonically, isolating anisotropy as the cause. A "spectral schedule" reconciles two opposing reports about Muon: equal-rate updates recover exactly low-rank targets but lose their edge as the spectral tail grows. In transformers, Adam separates two gauge-equivalent initializations at the first step, where the equivariant optimizers stay at float precision, and ends with the per-head invariants $W_Q^\top W_K$ 56% apart in relative Frobenius distance, a gap no per-head rotation can close. On two hyperspectral datasets at matched training loss, gradient descent cuts held-out error by 43-44% at the lowest sampling density, and at lower effective rank. Basis choice is therefore not a tuning detail but a decision about which interpolant the optimizer selects.
Tags
Topics
optimization, implicit bias, transformers
Research notes
- Primary: arxiv abs. Code https://github.com/idevender/loss-basis-adam project https://idevender.github.io/loss-basis-adam/. HF paper page has 7 upvotes. Did not copy CC-BY; arXiv default license.
Similar entries
- Paper Why Adaptive Optimizers Underestimate Rare Tokens
- Paper The Best Optimizer Depends on Batch Size
- Paper Aurora: A Leverage-Aware Optimizer for Rectangular Matrices
- Paper Aurora: A Leverage-Aware Spectral Optimizer
- Paper Emergent One-Third Scaling Law as Attention Tries to Concentrate
- Paper Loop, Think, & Generalize: Implicit Reasoning in Recurrent-Depth Transformers