GradPower
June 15, 2026 · View on GitHub
Implements GradPower, a sign-power gradient transformation applied before a base optimizer's update.
GradPower is a lightweight, plug-in modification that reshapes the raw gradient through an elementwise signed power before it enters the usual momentum and adaptive-scaling machinery. With exponent it sharpens large coordinates and suppresses small ones, while does the reverse; the sign is preserved so the descent direction per coordinate is unchanged. The example below instantiates it inside AdamW (AdamPower), where the transformation costs a single extra line over vanilla Adam.
where are the parameters, the learning rate, the gradient, the power exponent (e.g. ), the first and second moments with decay rates , the decoupled weight decay, and a stability constant; all powers and the sign act elementwise.
Reference: Mingze Wang, Jinbo Wang, Jiaqi Zhang, Wei Wang, Peng Pei, Xunliang Cai, Weinan E, Lei Wu, "GradPower: Powering Gradients for Faster Language Model Pre-Training", arXiv 2025. https://arxiv.org/abs/2505.24275