CAST: History-Adaptive Spectral Clipping for LLM Pretraining
Jiacheng Li, Jianchao Tan, Kefeng Zhang, Yuchen Xie, Xunliang Cai
Key points
From the paper's conclusion- We introduce CAST (Clipping with Adaptive Scales and Thresholds), a history-adaptive extension of SSC.
Abstract
Soft spectral clipping (SSC) reduces gradient singular values, but its effect depends on the gradient scale and clipping threshold. We introduce CAST (Clipping with Adaptive Scales and Thresholds), a history-adaptive extension of SSC. AdamW's previous second moment sets row and column scales. An exponential moving average of the clipped output's estimated spectral norm sets each matrix's threshold. CAST restores the original coordinates before the AdamW update. We train a mixture-of-experts (MoE) model with 19.08B total parameters for 83.89B tokens. CAST achieves lower training and mean validation losses than nine gradient-processing baselines, with the fewest relative gradient spikes. It reaches the best baseline's final smoothed training loss in 7.2\% fewer steps.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Musec: MomentUm SpEctral Clipping for Stable Muon-type TrainingarXiv · 2026
- Guarded Compression of Adam Optimizer State with Shared-Gradient BoundsarXiv · 2026
- EnergyCal: Taming Loss Spikes in Muon-Family Optimizers for Sparse MoE TrainingarXiv · 2026
- The Best Optimizer Depends on Batch SizearXiv · 2026
- Model Casting and Low-Parameter Gating: Towards More Sparsely Activated FFNsarXiv · 2026
- Full Fine-Tuning is not the Problem: Why Adam Fails and SGD Succeeds in Few-Shot CLIP AdaptationarXiv · 2026