Abstract
Stochastic gradient descent (SGD) method is popular for solving non-convex optimization problems in machine learning. This work investigates SGD from a viewpoint of graduated optimization, which is a widely applied approach for non-convex optimization problems. Instead of the actual optimization problem, a series of smoothed optimization problems that can be achieved in various ways are solved in the graduated optimization approach. In this work, a formal formulation of the graduated optimization is provided based on the nonnegative approximate identity, which generalizes the idea of Gaussian smoothing. Also, an asymptotic convergence result is achieved with the techniques in variational analysis. Then, we show that the traditional SGD method can be applied to solve the smoothed optimization problem. The Monte Carlo integration is used to achieve the gradient in the smoothed problem, which may be consistent with distributed computing schemes in real-life applications. From the assumptions on the actual optimization problem, the convergence results of SGD for the smoothed problem can be derived straightforwardly. Numerical examples show evidence that the graduated optimization approach may provide more accurate training results in certain cases.
Introduction
Optimizing non-convex functions remains a fundamental challenge in deep learning. While Gradient Descent (GD) often becomes trapped in local minima, Stochastic Gradient Descent (SGD) has demonstrated a remarkable ability to find high-quality solutions. This success is frequently attributed to the "noise" inherent in stochastic gradients. However, a more structured explanation may lie in graduated optimization (also known as the continuation method).
Graduated optimization addresses non-convexity by solving a sequence of increasingly complex optimization problems. By initially "blurring" the loss landscape, the algorithm can identify the region containing the global minimum and refine its position as the smoothing is gradually removed. This paper formalizes the connection between SGD and graduated optimization, proposing that the stochasticity in SGD implicitly performs this smoothing process.
Theoretical Framework: Convolutional Smoothing
The core of the proposed framework is the use of a nonnegative approximate identity to define a sequence of smoothed objective functions. By convolving the original non-convex function $f$ with a kernel $\phi_\nu$, we obtain a smoothed version $f^\nu$:
$$f^\nu(x) = (f * \phi_\nu)(x) = \int_{\mathbb{R}^d} f(x - y) \phi_\nu(y) dy$$
As the parameter $\nu$ increases, the kernel $\phi_\nu$ becomes more concentrated, and $f^\nu$ converges to the original function $f$. This process effectively "fills in" local minima, creating a simpler landscape for optimization.
The authors prove that if the original function $f$ possesses a Lipschitz continuous gradient, the smoothed functions $f^\nu$ inherit this property. This ensures that each subproblem in the sequence is well-behaved and amenable to standard optimization techniques.
The Multi-Layer SGD (ML-SGD) Algorithm
To leverage this theoretical insight, the authors propose the Multi-Layer SGD (ML-SGD) scheme. Instead of optimizing the original function directly, ML-SGD solves a series of subproblems $P^\nu$ sequentially. The solution to a highly smoothed version of the problem serves as the initialization for the next, less-smoothed iteration.
A critical component of this approach is Monte Carlo Gradient Estimation. The gradient of the smoothed function $f^\nu$ can be expressed as an expectation: $$\nabla f^\nu(x) = \mathbb{E}_{Y \sim \phi_\nu} [\nabla f(x - Y)]$$ By sampling from the kernel $\phi_\nu$, we can compute an unbiased estimate of the smoothed gradient. This reveals a profound connection: the randomness typically viewed as "noise" in SGD is mathematically equivalent to sampling from a smoothing kernel, thereby performing graduated optimization implicitly.
Experimental Validation
The effectiveness of the ML-SGD approach was evaluated using synthetic non-convex benchmarks:
- 1D Non-convex Function: Using $f_1(x) = x^2 + 10x \sin(x)$, which contains numerous local minima, standard GD failed to find the global minimum in most trials. In contrast, the graduated approach (ML-GD) consistently converged to the global optimum regardless of initialization.
- 2D Rastrigin-like Problem: In a more complex 2D landscape, standard SGD resulted in a wide variance of final solutions. ML-SGD produced results tightly clustered at the global minimum $(0,0)$, demonstrating significantly higher robustness to initial conditions.
Conclusion and Future Directions
This work provides a rigorous mathematical foundation for viewing SGD through the lens of graduated optimization. By formalizing the smoothing process via approximate identities and variational analysis, the authors offer a new perspective on why stochastic methods excel in non-convex landscapes.
While promising, several challenges remain. Determining the optimal "annealing schedule" for the smoothing parameter $\nu$ and the choice of kernel $\phi$ currently relies on heuristics. Furthermore, while the theory scales to high dimensions, the computational cost of solving multiple subproblems must be balanced against the gains in accuracy. Future research will likely focus on automating these hyperparameter choices and applying ML-SGD to large-scale deep learning architectures.
Summary updated