Stochastic Frank-Wolfe Methods for Nonconvex Optimization

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

Abstract

We study Frank-Wolfe methods for nonconvex stochastic and finite-sum optimization problems. Frank-Wolfe methods (in the convex case) have gained tremendous recent interest in machine learning and optimization communities due to their projection-free property and their ability to exploit structured constraints. However, our understanding of these algorithms in the nonconvex setting is fairly limited. In this paper, we propose nonconvex stochastic Frank-Wolfe methods and analyze their convergence properties. For objective functions that decompose into a finite-sum, we leverage ideas from variance reduction techniques for convex optimization to obtain new variance reduced nonconvex Frank-Wolfe methods that have provably faster convergence than the classical Frank-Wolfe method. Finally, we show that the faster convergence rates of our variance reduced methods also translate into improved convergence rates for the stochastic setting.

Introduction

In modern machine learning, optimization often involves minimizing a loss function subject to specific constraints, such as trace-norm constraints for matrix completion or sparsity constraints for high-dimensional vectors. The standard approach, Projected Stochastic Gradient Descent (SGD), faces a significant bottleneck: the requirement to "project" the solution back into the constraint set at every iteration. For complex constraints, this projection can be computationally prohibitive or mathematically intractable.

The Frank-Wolfe (FW) algorithm, also known as the Conditional Gradient method, offers a "projection-free" alternative. Instead of projecting, it solves a simpler linear optimization subproblem at each step. While FW is well-established for convex problems, its application to nonconvex models—like deep neural networks—has remained under-explored. This paper bridges that gap by introducing and analyzing stochastic and variance-reduced versions of FW for nonconvex optimization.

Proposed Methods

The authors introduce several variants of the Frank-Wolfe algorithm to handle nonconvexity in stochastic and finite-sum settings. The foundation of these methods is the classic FW update rule, which replaces projections with a linear oracle.

The classic Frank-Wolfe (FW) algorithm.

Building on this, the paper proposes:

  1. SFW (Stochastic Frank-Wolfe): A basic stochastic version using minibatches to estimate gradients.
  2. SVFW (Stochastic Variance Reduced Frank-Wolfe): Adapts the SVRG technique by using periodic full-gradient computations to "anchor" estimates, significantly reducing update noise.
  3. SAGA-FW: An incremental version based on the SAGA algorithm, designed for streaming or very large finite-sum datasets without requiring periodic full-gradient passes.

Key Insights

  • The Projection-Free Advantage: In high-dimensional settings, a Linear Optimization Oracle (LO) is often much cheaper than a projection. For instance, finding the top eigenvector of a matrix is significantly faster than the full Singular Value Decomposition (SVD) required for trace-norm projection.
  • Variance Reduction as a Catalyst: The primary obstacle to fast convergence in nonconvex FW is the noise in stochastic gradients. By integrating SVRG and SAGA techniques, the authors demonstrate that one can achieve a much better dependence on the number of data points ($n$).
  • Efficiency Gains: For finite-sum problems, SVFW and SAGA-FW outperform the deterministic Frank-Wolfe method by factors of $n^{1/3}$ and $n^{2/3}$, respectively, representing a major theoretical advancement for large-scale optimization.

Theoretical Results

The paper's core contribution lies in its complexity analysis, measuring the number of data accesses (SFO/IFO) and linear oracle calls (LO) required to reach a solution of accuracy $\epsilon$.

Comparison of SFO/IFO and LO complexity for various Frank-Wolfe variants.

As shown in the table above, while the basic SFW has a poor dependence on $\epsilon$ ($1/\epsilon^4$), the variance-reduced versions (SVFW and SAGA-FW) match the $1/\epsilon^2$ rate of the deterministic version while being significantly more efficient regarding the dataset size $n$. This makes them highly suitable for large-scale nonconvex problems.

Limitations and Future Work

Despite the theoretical breakthroughs, several challenges remain. The proposed algorithms require knowledge of constants like the Lipschitz constant ($L$) and the constraint set diameter ($D$) to set step sizes, which are often unknown in practice. Additionally, while the Frank-Wolfe gap is a standard metric, its precise relationship to the gradient-norm criteria used in unconstrained nonconvex optimization warrants further study. Finally, the authors suggest that the performance gap between SVFW and SAGA-FW might be an artifact of the analysis, leaving room for future work to tighten these theoretical bounds.

Summary updated

BibTeX
@inproceedings{reddi2016stochastic,
  author = {Sashank J. Reddi and Suvrit Sra and Barnabás Póczos and Alexander J. Smola},
  title = {{Stochastic Frank-Wolfe Methods for Nonconvex Optimization}},
  booktitle = {Allerton},
  year = {2016},
  url = {https://openreview.net/forum?id=E_hkN1U4lUo},
}
Figure