An algebraically converging stochastic gradient descent algorithm for global optimization

Björn Engquist, Kui Ren, Yunan Yang

Introduction

Global optimization—the task of finding the absolute minimum of a non-convex function—remains one of the most significant challenges in computational mathematics and machine learning. While standard Gradient Descent (GD) is efficient for convex problems, it frequently becomes trapped in local minima when applied to complex landscapes. To circumvent this, researchers often employ Stochastic Gradient Descent (SGD) with added noise, a technique conceptually similar to Simulated Annealing.

However, a significant theoretical bottleneck has persisted: classical convergence theory requires the noise level to decay at a logarithmic rate ($O(1/\sqrt{\log n})$) to guarantee reaching the global minimum. In practical applications, this rate is prohibitively slow, often requiring an astronomical number of iterations to achieve high precision. This paper introduces AdaVar (State-Dependent Adaptive Variance), a novel algorithm that breaks this "logarithmic barrier," achieving an algebraic convergence rate ($O(n^{-\alpha})$) for global optimization.

The AdaVar Algorithm: State-Dependent Noise

The core innovation of AdaVar lies in how it manages noise. In traditional stochastic optimization, the noise level $\sigma_n$ is typically a function of the iteration count $n$. AdaVar instead makes the noise level dependent on the current value of the objective function, $f(X_n)$.

This state-dependent approach allows the algorithm to intelligently balance exploration and exploitation:

  • Exploration in High-Energy Regions: When the objective value $f(X_n)$ is high, the algorithm applies significant noise or even uniform random restarts. This ensures the optimizer can "jump out" of local minima and explore the broader search domain $\mathfrak{X}$.
  • Exploitation in Trusted Regions: As the algorithm enters a "trusted region" (a sublevel set near the global minimum), the noise is adaptively reduced. This allows for precise convergence within the basin of attraction of the global optimum.
Geometric illustrations of the search domain, trusted regions, and target minima.

Theoretical Breakthrough: Algebraic Convergence

The authors provide a rigorous proof demonstrating that AdaVar achieves an algebraic convergence rate. This is a substantial improvement over the traditional logarithmic rates. Crucially, the paper proves convergence for the discrete-time algorithm itself. Much of the existing optimization literature relies on continuous-time approximations (Stochastic Differential Equations), which may not always accurately reflect the behavior of the actual step-by-step iterations used in practice.

The transition from logarithmic to algebraic convergence is made possible by the adaptive nature of the noise. By linking noise to the objective value, the algorithm ensures it only "settles down" when it is statistically likely to be near the global minimum. The authors further prove that their achieved rate is nearly optimal for any stochastic algorithm that relies on a balance of exploration and exploitation without specific structural knowledge of the objective function.

Empirical Performance on Non-Convex Landscapes

The effectiveness of AdaVar was tested against classical SGD on several complex synthetic benchmark functions, most notably the Modified Rastrigin Function. This landscape is notoriously difficult due to its high non-convexity and the presence of infinitely many local minima and saddle points.

In 2D simulations, AdaVar reached the global minimum with approximately 100% probability within 5,000 iterations. In stark contrast, classical SGD with logarithmic noise decay achieved a convergence probability of less than 1% under the same conditions. The disparity became even more pronounced in 10D settings. In high dimensions, where the "basin of attraction" for the global minimum might represent only $10^{-10}$ of the total search space, AdaVar maintained near-certain convergence while classical methods failed entirely.

Practical Implications and Future Work

Beyond theoretical optimization, the principles of AdaVar have direct applications in machine learning. The authors note that the "noise" in machine learning contexts often stems from mini-batch sampling. Consequently, the AdaVar theory suggests that global optimization could be improved by adaptively changing the batch size based on the current loss value—increasing batch size (reducing noise) as the loss decreases.

While powerful, the algorithm does require estimates of certain landscape parameters, such as Lipschitz constants and the volume of sublevel sets. Although the authors provide auxiliary algorithms to estimate these on the fly, the performance remains sensitive to these values. Future research directions include extending AdaVar to intrinsically stochastic functions (such as those found in Reinforcement Learning) and further refining derivative-free versions of the algorithm.

Conclusion

AdaVar represents a significant step forward in global optimization. By moving from time-dependent to state-dependent noise, it successfully bridges the gap between theoretical guarantees and practical efficiency, transforming the "needle in a haystack" problem into a computationally tractable task with algebraic convergence guarantees.

Summary updated

BibTeX
@misc{engquist2022algebraically,
  author = {Björn Engquist and Kui Ren and Yunan Yang},
  title = {{An algebraically converging stochastic gradient descent algorithm for global optimization}},
  year = {2022},
  eprint = {2204.05923},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.05923},
}
Figure