Fast Stochastic Methods for Nonsmooth Nonconvex Optimization

Sashank J. Reddi, Suvrit Sra, Barnabás Póczos, Alexander J. SmolaarXiv 2016

TL;DR

This paper bridges a critical gap in optimization by developing the first stochastic algorithms that provably converge to a stationary point for nonsmooth, nonconvex finite-sum problems, even with constant minibatch sizes. These new methods, PROXSVRG and PROXSAGA, offer faster convergence than standard batch methods and achieve linear convergence rates for a specific class of functions.

What Problem Does This Paper Address?

Many real-world problems in machine learning and statistics involve optimizing functions that are a sum of many individual (smooth but potentially nonconvex) functions, plus a nonsmooth but convex regularization term. Think of training deep neural networks with L1 regularization, or solving problems with sparsity constraints. While we have good methods for optimizing smooth nonconvex functions, or for optimizing nonsmooth convex functions, the combination of nonsmooth and nonconvex has been a major stumbling block.

Specifically, existing stochastic methods like Proximal Stochastic Gradient Descent (PROXSGD) struggle with convergence guarantees when using small, constant-sized minibatches (which are practical for large datasets). It was even unclear if PROXSGD would converge at all in this scenario. This paper tackles this fundamental challenge, aiming to provide reliable and efficient optimization tools for this important class of problems.

Methods

The authors introduce novel variants of two popular variance-reduction techniques, SVRG and SAGA, adapted for nonsmooth nonconvex optimization. These are named PROXSVRG and PROXSAGA. The core innovation lies in their theoretical analysis, which proves convergence for these algorithms under conditions where previous methods failed.

Key methodological contributions include:

  • Provable Convergence with Constant Minibatches: Unlike PROXSGD, PROXSVRG and PROXSAGA are shown to converge to a stationary point even when the minibatch size is fixed and independent of the dataset size or desired accuracy. This is a significant theoretical breakthrough for practical large-scale optimization.
  • Faster Convergence: By carefully tuning the minibatch size (to be sublinear in the number of data points but independent of the desired accuracy), the authors demonstrate that PROXSVRG and PROXSAGA can achieve faster convergence rates than standard proximal gradient descent.
  • Linear Convergence for a Special Class: For a subclass of nonsmooth nonconvex functions satisfying a generalized Polyak-Łojasiewicz (PL) inequality, the paper proves global linear convergence rates for PROXSVRG and PROXSAGA. This is a strong theoretical guarantee, often sought after in optimization.
  • Novel Analysis: The analysis builds upon existing work for smooth nonconvex optimization but introduces new techniques to handle the nonsmooth component, particularly through the use of proximal operators.

Datasets

The paper uses standard machine learning datasets from LIBSVM for empirical evaluation: 'rcv1', 'a9a', 'mnist', and 'aloi'. They also introduce a non-negative principal component analysis (NN-PCA) problem as a benchmark, which is a variant of the standard PCA problem with L1 regularization and non-negativity constraints.

Key Insights and Ideas

  • The "Constant Minibatch" Hurdle: The paper highlights a critical gap: while smooth nonconvex optimization and nonsmooth convex optimization have well-understood stochastic methods, the combination of nonsmoothness and nonconvexity with constant minibatches was a major open problem. This work directly addresses and resolves this.
  • Minibatches as a Theoretical Tool: While minibatches are typically used for variance reduction and parallelism, this paper demonstrates their power as a theoretical tool to improve convergence rates by carefully selecting their size.
  • Bridging Theory and Practice: The development of algorithms that provably converge with constant minibatches is crucial for practical applications, as fixed-size minibatches are often the only feasible option for massive datasets.

Key Results

  • PROXSVRG and PROXSAGA: These algorithms are shown to converge to a stationary point for nonsmooth nonconvex finite-sum problems with constant minibatches.
  • Improved IFO/PO Complexity: For certain parameter settings, PROXSVRG and PROXSAGA achieve IFO (Incremental First-Order Oracle) and PO (Proximal Oracle) complexities of $O(n + n^{2/3}/\epsilon)$ and $O(1/\epsilon)$ respectively, which is better than the $O(n/\epsilon)$ IFO complexity of proximal gradient descent.
  • Linear Convergence: For functions satisfying a generalized Polyak-Łojasiewicz (PL) inequality, PROXSVRG and PROXSAGA achieve global linear convergence rates, outperforming proximal gradient descent in terms of IFO complexity.
  • Empirical Validation: Experiments on NN-PCA and standard datasets show that PROXSVRG and PROXSAGA consistently outperform PROXSGD in terms of objective function value, supporting their theoretical findings.

Limitations and Future Work

  • Parameter Tuning: While the theoretical analysis provides optimal parameter choices, practical implementation might still require careful tuning. The paper notes that step size selection was simpler for PROXSVRG/PROXSAGA than for PROXSGD in their experiments.
  • Open Problem: The paper concludes by posing an important open problem: developing stochastic methods with provably better performance than proximal gradient descent even with constant minibatches. While their methods achieve convergence, the "better performance" aspect (e.g., faster rates) for constant minibatches remains an active research area.
  • Generalization: The authors mention that their results can be generalized to non-uniform sampling, which is useful when individual functions have different Lipschitz constants. This suggests avenues for further research.

Summary updated

BibTeX
@misc{reddi2016fast,
  author = {Sashank J. Reddi and Suvrit Sra and Barnabás Póczos and Alexander J. Smola},
  title = {{Fast Stochastic Methods for Nonsmooth Nonconvex Optimization}},
  year = {2016},
  eprint = {1605.06900},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1605.06900},
}
Figure