Abstract
Non-convex optimization landscapes in machine learning often present significant challenges, including local minima, plateaus, and saddle points, which frequently lead to sublinear convergence and high initialization sensitivity for standard Stochastic Gradient Descent (SGD). This paper introduces Homotopy-Stochastic Gradient Descent (H-SGD), an algorithm that leverages continuation methods to navigate these complex landscapes. By gradually transforming a simplified, tractable problem into the target non-convex objective, H-SGD achieves a global linear convergence rate to a neighborhood of the minimum. Experimental results across synthetic regression and deep learning tasks demonstrate that H-SGD significantly outperforms standard SGD in both convergence speed and robustness.
Introduction
In the field of machine learning, the optimization of non-convex functions is a fundamental hurdle. While standard SGD is the primary tool for training large-scale models, it often struggles with the "messy" global landscapes of real-world problems. Although many non-convex functions satisfy favorable conditions—such as the Polyak-Łojasiewicz (PL) condition—locally near an optimum, they rarely satisfy them globally. This discrepancy often forces practitioners to rely on careful initialization or heuristic "tricks" to ensure convergence.
This research addresses the challenge of efficiently navigating global landscapes to reach these "nice" local regions. The authors propose H-SGD, a framework that "moves the goalposts" by starting with an easy version of the problem and morphing it into the target objective, ensuring the optimizer stays on a path toward the global minimum.
The H-SGD Framework
1. The Homotopy Map
The core of the approach is the definition of a homotopy map $f(w, \lambda)$. This map is parameterized by $\lambda \in [0, 1]$, where:
- $f(w, 0)$ represents a simplified, "easy" version of the problem (e.g., a convex approximation or a smoothed landscape).
- $f(w, 1)$ represents the original, difficult non-convex problem.
2. Two-Loop Optimization Structure
H-SGD operates via a nested loop structure:
- Outer Loop: This loop gradually increases the homotopy parameter $\lambda$ from 0 to 1 according to a specific schedule.
- Inner Loop: For each fixed $\lambda$, the algorithm executes a set number of SGD iterations ($k$). The solution obtained at the previous $\lambda$ step serves as a "warm start" for the current step, ensuring the iterates track the moving optimum.
3. Exponential Schedule and Expected PL Condition
A key theoretical contribution of this work is the derivation of an exponentially decreasing schedule for the increments in $\lambda$. The authors prove that following this schedule allows the algorithm to maintain a global linear convergence rate. Furthermore, the analysis utilizes an Expected PL Condition, a relaxed version of the standard PL condition that only needs to hold in expectation. This makes the theoretical guarantees more applicable to the stochastic nature of neural network training.
Experimental Evaluation
The researchers evaluated the performance of H-SGD against standard SGD across three distinct benchmarks:
- Toy 1D Regression: Using a synthetic dataset ($N=100$), the authors visualized how H-SGD successfully tracks the global minimum as the landscape shifts, whereas standard SGD frequently becomes trapped in flat regions with vanishing gradients.
- Sinusoidal Wave Regression: In a deep learning context, a feedforward neural network was tasked with fitting a noisy sine wave ($N=500$). H-SGD reached target loss levels 4x faster than standard SGD and achieved final convergence more than 2x faster.
- Moon-Shaped Classification: On a non-linear binary classification task ($N=1000$) using cubic logistic regression, H-SGD reached a benchmark error rate of 0.1 more than twice as fast as its standard counterpart.
Key Insights
Path-Following as Regularization
By starting with a simplified version of the objective, H-SGD acts as a form of implicit regularization. It prevents the model parameters from wandering into poor local minima early in the training process, effectively "tracking" the optimal solution as the problem complexity increases.
Recovering Linear Convergence
While standard SGD is typically limited to sublinear convergence in non-convex settings, H-SGD demonstrates that a strategic, staged approach can recover the fast linear convergence rates usually reserved for convex optimization. This provides a rigorous mathematical foundation for existing heuristics like curriculum learning and graduated optimization.
Limitations and Future Work
The primary bottleneck for H-SGD is the requirement for a manually designed homotopy map $f(w, \lambda)$. Currently, there is no universal, automated method for generating these maps for arbitrary problems. Future research directions include the development of automated homotopy map design and the derivation of tighter theoretical bounds on the quality of solutions tracked during intermediate stages of the algorithm.
Conclusion
H-SGD represents a significant step forward in making non-convex optimization more reliable and efficient. By combining the theoretical rigor of homotopy methods with the computational efficiency of SGD, the authors provide a robust framework that outperforms standard methods in both speed and stability, offering a promising path for training complex machine learning models.
Summary updated