Catalyst Acceleration for Gradient-Based Non-Convex Optimization

Courtney Paquette, Hongzhou Lin, Dmitriy Drusvyatskiy, Julien Mairal, Zaïd HarchaouiarXiv 2017 · DOI · arXiv

Abstract

We introduce a generic scheme to solve nonconvex optimization problems using gradient-based algorithms originally designed for minimizing convex functions. Even though these methods may originally require convexity to operate, the proposed approach allows one to use them on weakly convex objectives, which covers a large class of non-convex functions typically appearing in machine learning and signal processing. In general, the scheme is guaranteed to produce a stationary point with a worst-case efficiency typical of first-order methods, and when the objective turns out to be convex, it automatically accelerates in the sense of Nesterov and achieves near-optimal convergence rate in function values. These properties are achieved without assuming any knowledge about the convexity of the objective, by automatically adapting to the unknown weak convexity constant. We conclude the paper by showing promising experimental results obtained by applying our approach to incremental algorithms such as SVRG and SAGA for sparse matrix factorization and for learning neural networks.

Introduction

In the landscape of machine learning optimization, a significant gap exists between theory and practice. Highly efficient "incremental" algorithms like SVRG and SAGA have set benchmarks for convex problems by effectively reducing gradient variance. However, many modern challenges—ranging from training deep neural networks to matrix factorization—are inherently non-convex.

Standard non-convex solvers often revert to basic gradient descent logic, sacrificing the speedups found in convex settings. While some accelerated non-convex methods exist, they frequently require prior knowledge of specific mathematical properties, such as the "weak convexity" constant, or they fail to provide optimal speedups when the problem happens to be convex. This paper introduces 4WD-Catalyst, a universal meta-algorithm designed to handle both convex and non-convex terrains gracefully and automatically.

The 4WD-Catalyst Framework

The "4-Wheel Drive" philosophy behind 4WD-Catalyst is simple: an optimization algorithm should be as versatile as an off-road vehicle, handling both smooth "convex" roads and rocky "non-convex" trails. The framework focuses on weakly convex functions—a broad class of smooth non-convex problems that can be regularized into a convex form.

Figure 1: Comparison of non-convex (left) and convex (right) optimization landscapes. 4WD-Catalyst is designed to navigate both terrains by adaptively switching between stable descent and aggressive acceleration.

At its core, 4WD-Catalyst wraps an inner solver (like SVRG) and performs two sub-problem steps in each iteration:

  1. A Proximal Point step to ensure stability and guaranteed descent.
  2. An Accelerated Proximal Point step using Nesterov-style extrapolation to seek faster convergence.

By evaluating both results and selecting the one with the better objective value, the algorithm "shifts gears" between cautious progress and aggressive acceleration. Crucially, it uses an auto-adaptive "doubling trick" to estimate the necessary regularization strength, removing the need for manual tuning of the weak convexity constant.

Theoretical Guarantees and Key Results

The theoretical analysis of 4WD-Catalyst reveals its dual-nature efficiency. In the worst-case non-convex setting, it maintains the standard $O(1/\epsilon^2)$ complexity of standard gradient descent. However, when the function is convex, it automatically achieves near-optimal convergence rates.

Table 1: Complexity comparison of SVRG variants across different problem types. 4WD-Catalyst-SVRG provides a robust theoretical stepsize and superior convergence rates in both non-convex and convex settings.

Empirical evaluations on standard benchmarks, including sparse matrix factorization (dictionary learning) and two-layer neural network training using the alpha and covtype datasets, confirm these theoretical benefits:

  • Dictionary Learning: 4WD-Catalyst variants significantly outperformed traditional non-convex SVRG methods, which are often hampered by small theoretical stepsizes.
  • Neural Networks: The framework reached lower objective values faster than popular adaptive methods like Adam and AdaGrad.
  • Acceleration Preference: In practice, the accelerated step was almost always preferred, suggesting that Nesterov-style extrapolation is highly beneficial even in non-convex landscapes and may assist in escaping saddle points.

Conclusion

4WD-Catalyst offers a practical and theoretically sound "wrapper" for bringing the benefits of accelerated convex optimization to the non-convex world. By being agnostic to the problem's convexity parameters and providing robust convergence guarantees, it simplifies the deployment of advanced incremental algorithms for complex machine learning tasks. Future research will focus on scaling these benefits to deeper architectures and formalizing the framework's behavior around saddle points.

Summary updated

Abstract

We introduce a generic scheme to solve nonconvex optimization problems using gradient-based algorithms originally designed for minimizing convex functions. Even though these methods may originally require convexity to operate, the proposed approach allows one to use them on weakly convex objectives, which covers a large class of non-convex functions typically appearing in machine learning and signal processing. In general, the scheme is guaranteed to produce a stationary point with a worst-case efficiency typical of first-order methods, and when the objective turns out to be convex, it automatically accelerates in the sense of Nesterov and achieves near-optimal convergence rate in function values. These properties are achieved without assuming any knowledge about the convexity of the objective, by automatically adapting to the unknown weak convexity constant. We conclude the paper by showing promising experimental results obtained by applying our approach to incremental algorithms such as SVRG and SAGA for sparse matrix factorization and for learning neural networks.
BibTeX
@misc{paquette2017catalyst,
  author = {Courtney Paquette and Hongzhou Lin and Dmitriy Drusvyatskiy and Julien Mairal and Zaïd Harchaoui},
  title = {{Catalyst Acceleration for Gradient-Based Non-Convex Optimization}},
  year = {2017},
  eprint = {1703.10993},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.10993},
}
Figure