Can Entry-Wise Clipping Give Spectral Control of Stochastic Gradients?
Zitao Song, Cedar Site Bai, Zhe Zhang, Brian Bullins, David Gleich
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Optimization & Federated Learning › Optimizer Design and Analysis for LLMs · Type: new method · Keywords: gradient clipping, spectral normalization, stochastic gradient noise, training stability, heavy-tailed noise
Areas: Optimization & Algorithms › Optimization Dynamics › Spectral Optimization
Summary
Entry-wise clipping provides spectral control of stochastic gradients, offering a simpler and more efficient alternative to spectral normalization while improving training stability.
Explained to a 5-year-old
Training a big computer program can sometimes make it go haywire because of noisy updates. We found a simple way to clip those updates so they stay stable, which helps the program learn faster. This makes training cheaper and uses less time. It also works well with other tricks. Overall, it helps big AI models learn better without needing as much data.
Explained to a 5-year-old, longer
When computers learn, they adjust their internal numbers based on small pieces of data. Sometimes these adjustments become too big and cause the learning to jump around. This jumping happens because the data sometimes contains rare or extreme examples that create noisy updates. Existing methods try to smooth these updates, but they either ignore useful structure or are too slow. The researchers looked at how these noisy updates behave and discovered a pattern that lets a simple clipping trick control the overall effect. By clipping each individual update value, they can keep the overall change stable, similar to more complex methods. They also derived a simple formula that predicts the best clipping under certain assumptions. They proved mathematically that this approach converges reliably even when the noise is very heavy-tailed. In experiments, applying this clipping reduced the amount of training data needed for a large language model by about eight percent. When combined with another advanced technique, it saved an additional two percent of training tokens. This means the model learns faster and uses less computational power, which is cheaper and greener. Overall, the work provides a practical, easy-to-use improvement for training large AI systems.
For a technical reader
The paper addresses training instability caused by heavy-tailed stochastic gradient noise, which can produce large spikes during optimization. It shows that entry-wise clipping, when a certain localization property holds, effectively provides spectral control comparable to dedicated normalization methods like Muon. The authors derive a tractable surrogate estimator under a Gaussian prior and prove an O(ε-4) convergence rate under Cauchy-contaminated noise. Empirically, the approach reduces token consumption by roughly 8% on NanoGPT pretraining and adds another ~2% when combined with Muon. The result is a simpler, more efficient clipping strategy that can be plugged into existing optimizers to improve training stability and resource usage.
Problem
Training instabilities such as loss spikes arise from heavy-tailed stochastic gradient noise, and existing clipping methods either ignore matrix structure or incur high computational cost.
Method
The approach analyzes entry-wise heavy-tailed noise and identifies a localization property that links entry-wise clipping to spectral normalization. It derives a tractable surrogate estimator under a Gaussian signal prior and provides an O(ε-4) convergence guarantee under Cauchy-contaminated noise.
Results
The approach reduces training token consumption by about 8% on NanoGPT pretraining and yields an additional ~2% saving when combined with Muon.
Contributions
It provides a theoretical analysis linking entry-wise clipping to spectral control, a tractable surrogate estimator, and convergence guarantees under heavy-tailed noise, along with empirical improvements in training efficiency.
Practical relevance
The method enables more efficient training of large language models, reducing computational cost and training time.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction