Global Non-convex Optimization with Discretized Diffusions

Murat A. Erdogdu, Lester Mackey, Ohad Shamir

This paper provides a significant theoretical expansion of how physics-inspired "diffusions" can be used to solve difficult, non-convex optimization problems. By generalizing the theory of global non-convex optimization beyond the standard Langevin algorithm, the authors show that any smooth, dissipative diffusion can be discretized to find global minima. Crucially, they provide the first explicit, non-asymptotic error bounds for these algorithms, enabling researchers to design custom optimization routines tailored to specific function types, such as those with sublinear or "heavy-tailed" growth.

The Challenge of Non-Convex Optimization

In machine learning, we frequently need to minimize non-convex functions, such as the complex loss surfaces of neural networks. A popular approach is the Langevin algorithm, which is essentially Gradient Descent with a specific amount of added Gaussian noise. This noise helps the algorithm "jump" out of local minima to find the global minimum.

However, existing theory for the Langevin algorithm has two major gaps:

  1. Limited Scope: It primarily works for functions with "quadratic growth" (becoming steeper like a parabola as you move away from the center). It struggles with "heavy-tailed" or sublinear functions that grow more slowly.
  2. Inexplicit Bounds: Previous mathematical proofs often relied on "inexplicit constants." This means we knew the algorithm would eventually converge, but we couldn't calculate exactly how many steps it would take or how large the error would be based on the specific properties of our objective function.

Methodology: Discretized Diffusions and Stein's Method

The researchers tackle these gaps using a combination of stochastic calculus and a mathematical framework called Stein’s method.

  • Discretized Diffusions: They analyze the Euler discretization of Stochastic Differential Equations (SDEs). Instead of just looking at the standard Langevin diffusion, they examine a broad class of diffusions where both the "drift" (the direction the algorithm moves) and the "diffusion" (the shape of the noise) can be customized.
  • Stein’s Method & Poisson Equations: To prove how well the discrete algorithm tracks the continuous ideal, they solve the "Poisson equation" associated with the diffusion. They derive new, explicit Stein factor bounds—mathematical limits on the derivatives of these solutions—which allow for computable error rates.
  • Distant Dissipativity: They utilize a condition called "distant dissipativity." This is a more relaxed requirement than standard convexity; it essentially means that even if the function is "bumpy" or non-convex locally, it still pushes the algorithm back toward the center when it wanders too far away.

Key Insights

  • One Size Does Not Fit All: The standard Langevin algorithm is just one tool in the shed. The authors show that for functions that grow slowly (sublinear), you should use a diffusion with a "heavier tail" to ensure the algorithm doesn't drift off to infinity or get stuck.
  • Computability is Key: By providing explicit constants in their theorems, the authors move the field from qualitative ("it works eventually") to quantitative ("it works within this specific error margin").
  • Targeting Non-Gibbs Measures: Most Langevin-style algorithms try to sample from a "Gibbs measure" ($e^{-f(x)}$). This paper suggests that targeting other types of invariant distributions can lead to better optimization guarantees for certain classes of problems.

Experimental Validation and Results

As a theoretical paper, the authors validate their findings using synthetic non-convex landscapes and theoretical frameworks applied to common machine learning loss functions (e.g., sigmoid loss, Student’s t-likelihood, Blake-Zisserman loss).

  • Integration Error: They established $O(1/\epsilon^2)$ bounds on the numerical integration error, dictating how many discrete steps are needed to accurately simulate the continuous diffusion.
  • Superior Convergence: In a pedagogical example featuring a sublinear growth function $f(x) = c \log(1 + \frac{1}{2}\|x\|^2)$, their "Designed Diffusion" converged to the global minimum in just 15 iterations. In stark contrast, the standard Langevin algorithm diverged, and Gradient Descent required thousands of iterations to reach the same region.
Designed Diffusion vs. Langevin and Gradient Descent
  • Broad Applicability: They proved that their framework recovers known rates for convex problems but extends them to a much wider variety of non-convex, dissipative settings.

Limitations and Future Directions

While a significant step forward, the current theory requires the objective function and the diffusion coefficients to be quite smooth (often requiring up to fourth-order derivatives for the explicit bounds). This might not hold for functions with "kinks," like those using ReLU activations. Additionally, the theoretical step size $\eta$ required to guarantee these bounds can be very small, which might lead to slow practical performance in extremely high-dimensional spaces.

A natural next step for future work is extending these explicit Stein factor bounds to Stochastic Gradient Langevin Dynamics (SGLD), where only noisy estimates of the gradient are available.

Summary updated

BibTeX
@inproceedings{erdogdu2018global,
  author = {Murat A. Erdogdu and Lester Mackey and Ohad Shamir},
  title = {{Global Non-convex Optimization with Discretized Diffusions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=SkZEsPWO-S},
}
Figure