Stochastic Variance-Reduced Prox-Linear Algorithms for Nonconvex Composite Optimization

Junyu Zhang, Lin XiaoMath. Program 2020

TL;DR

This paper introduces a new class of algorithms called "stochastic variance-reduced prox-linear algorithms" for a challenging type of optimization problem. These algorithms significantly improve the efficiency of finding solutions, especially for large-scale problems common in machine learning, by reducing the number of data samples needed.

What Problem Does This Paper Address?

The paper tackles a specific type of optimization problem known as "nonconvex composite optimization." This arises when you want to minimize a function that's a combination of two other functions, like $f(g(x)) + h(x)$. The challenge is that even if $f$ and $h$ are "nice" (convex), the overall function can be "nasty" (nonconvex) due to the composition with $g$. Many real-world problems, such as those in machine learning (e.g., policy evaluation in reinforcement learning) and operations research, fall into this category. A key difficulty is that $g(x)$ is often an average or expectation over many component functions, making it computationally expensive to evaluate precisely. The goal is to find a "good enough" solution (an $\epsilon$-stationary point) efficiently, meaning we want to minimize the number of times we need to access the data (sample complexity).

Methods

The authors propose a family of "stochastic variance-reduced prox-linear algorithms." The core idea builds upon the "prox-linear algorithm," which approximates the objective function with a simpler model at each step. The "stochastic" part means they use random subsets of data to estimate components of this model, making it computationally feasible. The "variance-reduced" aspect is crucial: they employ techniques like SVRG and SARAH/SPIDER to ensure that these random estimates are not too noisy, even with smaller data subsets. This allows them to achieve better sample complexity than simpler mini-batching approaches. They develop specific estimators for the gradient and Jacobian of the composite function, tailored to whether $f$ is nonsmooth or smooth, and whether $g$ is a finite average or a general expectation.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and algorithm design, with numerical experiments presented in Section 7.

Key Insights and Ideas

  • Prox-linear for Nonsmoothness: The paper shows that the prox-linear framework can effectively handle nonsmooth composite functions, which is a significant advantage over methods that rely on gradients and struggle with nonsmoothness.
  • Variance Reduction is Key: The success hinges on carefully applying variance reduction techniques (SVRG, SARAH/SPIDER) to the prox-linear updates, leading to substantial improvements in sample complexity.
  • Imbalanced Accuracy Needs: For nonsmooth problems, the paper highlights that the estimates for the function's gradient ($\tilde{g}$) need to be much more accurate than those for the Jacobian ($\tilde{J}$) to achieve optimal sample complexity. This is a departure from smooth optimization where their accuracy needs are often similar.
  • Proximal Mapping Advantage: Even when $f$ is smooth, using proximal mappings in the prox-linear framework can be more efficient in practice than gradient-based methods, despite having similar theoretical sample complexities.

Key Results

The paper establishes theoretical guarantees for their algorithms, providing sample complexity bounds for finding $\epsilon$-stationary points. Key results include:

  • Nonsmooth $f$, Finite Average $g$: Sample complexity of $O(N + N^{4/5}\epsilon^{-1})$ for both function and Jacobian evaluations.
  • Nonsmooth $f$, Expectation $g$: Sample complexity of $O(\epsilon^{-5/2})$ for function evaluations and $O(\epsilon^{-3/2})$ for Jacobian evaluations.
  • Smooth $f$, Finite Average $g$: Sample complexity of $O(N + \sqrt{N}\epsilon^{-1})$.
  • Smooth $f$, Expectation $g$: Sample complexity of $O(\epsilon^{-3/2})$.

These bounds are shown to be state-of-the-art or improve upon existing results in the literature. Numerical experiments demonstrate that their stochastic methods significantly outperform deterministic approaches in terms of sample complexity.

Limitations and Future Work

  • Constant Batch Sizes: The theoretical analysis for some algorithms assumes batch sizes that depend on the desired accuracy $\epsilon$, which can be hard to set in practice. The paper suggests that adaptive batch size selection would be desirable.
  • Constant Mini-Batch Size: The paper notes that extending their variance reduction techniques to algorithms that use constant small mini-batches per iteration (like STORM) for nonsmooth $f$ remains an open problem.
  • Weakly Convex Functions: The paper mentions that their results can be extended to weakly convex functions with minor modifications, but the presentation is kept simpler for clarity.

Summary updated

Abstract

We consider minimization of composite functions of the form $f(g(x))+h(x)$, where $f$ and $h$ are convex functions (which can be nonsmooth) and $g$ is a smooth vector mapping. In addition, we assume that $g$ is the average of finite number of component mappings or the expectation over a family of random component mappings. We propose a class of stochastic variance-reduced prox-linear algorithms for solving such problems and bound their sample complexities for finding an $ε$-stationary point in terms of the total number of evaluations of the component mappings and their Jacobians. When $g$ is a finite average of $N$ components, we obtain sample complexity $\mathcal{O}(N+ N^{4/5}ε^{-1})$ for both mapping and Jacobian evaluations. When $g$ is a general expectation, we obtain sample complexities of $\mathcal{O}(ε^{-5/2})$ and $\mathcal{O}(ε^{-3/2})$ for component mappings and their Jacobians respectively. If in addition $f$ is smooth, then improved sample complexities of $\mathcal{O}(N+N^{1/2}ε^{-1})$ and $\mathcal{O}(ε^{-3/2})$ are derived for $g$ being a finite average and a general expectation respectively, for both component mapping and Jacobian evaluations.
BibTeX
@article{zhang2020stochastic,
  author = {Junyu Zhang and Lin Xiao},
  title = {{Stochastic Variance-Reduced Prox-Linear Algorithms for Nonconvex Composite Optimization}},
  journal = {Math. Program},
  year = {2020},
}
Figure