cs.LGSep 26, 2026

Arithmetic Simplicity in Stochastic Gradient Methods

Authors: Bin Fu, Pengfei Gu, Jose Nunez, Fabian Vazquez

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 +,−,×+,-, \times, and division x/2tx/2^t with integer tt. 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 xt+1=(1−λη)xt−ηsmtx_{t+1}=(1-λη)x_t-\frac{η}{s}m_t and Adam is the special case of AdamW with λ=0λ=0. We transform them into a static case with s=S(T)s=S(T), where TT is the number of iterations, and S(T)S(T) is a fixed function. The convergence analysis is given for a static Adam, which is also arithmetically simple.

Figures & tables

Explore similar work

Nov 10, 2025

Adam symmetry theorem: characterization of the convergence of the stochastic Adam optimizer

Beside the standard stochastic gradient descent (SGD) method, the Adam optimizer due to Kingma & Ba (2014) is currently probably the best-known optimization method for the training of deep neural networks in artificial intelligence (AI) systems. Despite the popularity and the success of Adam it remains an open research problem to provide a rigorous convergence analysis for Adam even for the class of strongly convex SOPs. In one of the main results of this work we establish convergence rates for Adam in terms of the number of gradient steps (convergence rate \nicefrac{1}{2} w.r.t. the size of the learning rate), the size of the mini-batches (convergence rate 1 w.r.t. the size of the mini-batches), and the size of the second moment parameter of Adam (convergence rate 1 w.r.t. the distance of the second moment parameter to 1) for the class of strongly convex SOPs. In a further main result of this work, which we refer to as Adam symmetry theorem, we illustrate the optimality of the established convergence rates by proving for a special class of simple quadratic strongly convex SOPs that Adam converges as the number of gradient steps increases to infinity to the solution of the SOP (the unique minimizer of the strongly convex objective function) if and only if the random variables in the SOP (the data in the SOP) are symmetrically distributed. In particular, in the standard case where the random variables in the SOP are not symmetrically distributed we disprove that Adam converges to the minimizer of the SOP as the number of Adam steps increases to infinity. We also complement the conclusions of our convergence analysis and the Adam symmetry theorem by several numerical simulations that indicate the sharpness of the established convergence rates and that illustrate the practical appearance of the phenomena revealed in the Adam symmetry theorem.
Sep 26, 2026

Revisiting AdaGrad in Stochastic Convex Optimization: Last Iterates, High Probability, and Lower Bounds

AdaGrad and AdaGrad-Norm are widely used adaptive methods, but their precise behavior in stochastic convex optimization remains less understood. We first show that AdaGrad-Norm and AdaGrad do not admit any universal last-iterate rate, even under sub-Gaussian noise and bounded iterates. We then prove that bounded variance alone is too weak: even with bounded iterates, it cannot yield high-probability average-iterate rates, and without bounded iterates it may not even guarantee convergence in expectation. Besides, we construct tight Ω(log⁡T/T)Ω(\log T/\sqrt T) lower bounds for both AdaGrad-Norm and AdaGrad under sub-Gaussian noise, showing that log⁡T\log T in existing average-iterate upper bounds is unavoidable. Finally, we show that this log⁡T\log T loss disappears once bounded-iterate condition is imposed: under a general ABC condition, both methods achieve rates O(1/T){O}(1/\sqrt{T}).
Jul 31, 2026

Adaptivity via a Parallel Architecture for Stochastic Gradient Methods

We develop a parallel framework that assembles static gradient methods to achieve better adaptivity. A static gradient method, denoted by GD(x0,T)\mathrm{GD}(x_0,T), takes as input an initial point x0∈Rnx_0\in\mathbb{R}^n and T∈R+T\in \mathbb{R}^+ specifying the number \floorT\floor{T} of iterations. The step size is chosen as s=S(T)s=S(T), where S(⋅)S(\cdot) is a predetermined function of TT. The method then performs the iterations xi+1=xi−ηs⋅gi, x_{i+1}=x_i-\fracη{s}\cdot g_i, where gig_i is a stochastic gradient evaluated at xix_i, and ηη is a scaling factor. For an integer p≥1p\ge1, the pp processors in the proposed parallel framework search for an appropriate value of TT according to a geometric sequence so that the resulting gradient descent satisfies the desired convergence conditions. Each processor executes an infinite sequence of stages indexed by i=1,2,…i=1,2,\ldots. At stage ii, processor jj is assigned Tj,i=h(j,i), T_{j,i}=h(j,i), where h:N×N→R+h:\mathbb{N}\times\mathbb{N} \rightarrow\mathbb{R}^{+} is a prescribed function. Processor jj (j=0,1,…,p−1)(j=0,1,\ldots,p-1) executes GD(x0,Tj,i)\mathrm{GD}(x_0, T_{j,i}) at stage ii.