Arithmetic Simplicity in Stochastic Gradient Methods
Organizations: Department of Computer Science University of Texas Rio Grande Valley Edinburg, TX 78539, USA
Abstract
A gradient descent method is arithmetically simple if the operations are limited to , and division with integer . An arthmetically simple gradient method is easy to implement in chip design. We show how to transform AdaGrad, Adam, and AdamW into arithmetically simple. AdamW is based on the recursion and Adam is the special case of AdamW with . We transform them into a static case with , where is the number of iterations, and is a fixed function. The convergence analysis is given for a static Adam, which is also arithmetically simple.
Figures & tables
| Step | Algorithm AdamW | Algorithm Generalized-AdamW |
|---|---|---|
| Input | , | , |
| Let | Let | |
| Let (zero vector in ) | Let (zero vector in ) | |
| Let | Let | |
| Let | Let | |
| Repeat | Repeat |
Adaptive Gradient Methods
Adaptive Gradient Methods adjust updates using gradient history, curvature, or noise estimates to improve optimization across diverse problems.
See all 157 papers