Efficient Implementation of Second-Order Stochastic Approximation Algorithms in High-Dimensional Problems

Stochastic approximation (SA) algorithms have been widely applied in minimization problems when the loss functions and/or the gradient information are only accessible through noisy evaluations. Stochastic gradient (SG) descent–a first-order algorithm and a workhorse of much machine learning–is perhaps the most famous form of SA. Among all SA algorithms, the second-order simultaneous perturbation stochastic approximation (2SPSA) and the second-order stochastic gradient (2SG) are particularly efficient in handling high-dimensional problems, covering both gradient-free and gradient-based scenarios. However, due to the necessary matrix operations, the per-iteration floating-point-operations (FLOPs) cost of the standard 2SPSA/2SG is <inline-formula> <tex-math notation="LaTeX">$O(p^{3})$ </tex-math></inline-formula>, where <inline-formula> <tex-math notation="LaTeX">$p$ </tex-math></inline-formula> is the dimension of the underlying parameter. Note that the <inline-formula> <tex-math notation="LaTeX">$O(p^{3})$ </tex-math></inline-formula> FLOPs cost is distinct from the classical SPSA-based per-iteration <inline-formula> <tex-math notation="LaTeX">$O(1)$ </tex-math></inline-formula> cost in terms of the number of noisy function evaluations. In this work, we propose a technique to efficiently implement the 2SPSA/2SG algorithms via the symmetric indefinite matrix factorization and show that the FLOPs cost is reduced from <inline-formula> <tex-math notation="LaTeX">$O(p^{3})$ </tex-math></inline-formula> to <inline-formula> <tex-math notation="LaTeX">$O(p^{2})$ </tex-math></inline-formula>. The formal almost sure convergence and rate of convergence for the newly proposed approach are directly inherited from the standard 2SPSA/2SG. The improvement in efficiency and numerical stability is demonstrated in two numerical studies.

Paper

Similar papers

© 2026 NYSGPT2525 LLC