Lazifying Conditional Gradient Algorithms

Gábor Braun, Sebastian Pokutta, Daniel Zink

Introduction

In many machine learning and optimization tasks, minimizing a smooth convex function over a complex polytope is a standard challenge. Traditional gradient descent requires a "projection" step back into the feasible region, which can be computationally prohibitive in high dimensions. The Frank-Wolfe (FW) algorithm, or Conditional Gradient method, avoids this by using a Linear Minimization Oracle (LMO) to find a vertex of the polytope that minimizes a linear approximation of the function.

However, solving this linear subproblem can become the primary bottleneck in every iteration. This paper introduces a general framework to "lazify" Frank-Wolfe algorithms. By replacing the expensive linear optimization oracle with a "weak separation oracle" that utilizes caching and early termination, the authors achieve several orders of magnitude speedup in wall-clock time while maintaining the same theoretical convergence rates.

Methods: The Weak Separation Oracle

The core innovation is the Weak Separation Oracle (LPsep). Instead of finding the absolute best vertex in the polytope (which is what a standard LMO does), the LPsep only needs to do one of two things:

  1. Find an improving vertex: Return a vertex that improves the objective by at least a certain threshold ($\Phi/K$).
  2. Provide a certificate: If no such vertex exists, return "false," which provides a dual bound certifying that the current solution is already close to the optimum.

This "lazification" is implemented through two main tricks:

  • Caching: The algorithm maintains a cache of previously discovered vertices. In each step, it first checks if any cached vertex satisfies the improvement condition. If it does, the expensive LMO call is skipped entirely.
  • Early Termination: If the cache fails, the LMO is called, but it can be stopped as soon as it finds any vertex that meets the improvement threshold, rather than waiting for the true optimum.
Impact of caching on loss over wall-clock and oracle time.

Key Insights

  • "Good Enough" is Faster than "Perfect": The most striking insight is that seeking the optimal linear solution in every step is often a waste of time. A "good enough" direction is sufficient to maintain the $1/t$ convergence rate.
  • The Power of Caching: Because Frank-Wolfe solutions are naturally sparse (composed of a few "atoms" or vertices), the algorithm often cycles through a small set of important vertices. Caching these vertices allows the algorithm to skip the LMO in the vast majority of iterations.
  • Dual Bounds for Free: When the weak oracle returns "false," it isn't just a failure to find a point; it's a mathematical guarantee (via convexity) that the current point is near-optimal, providing a robust stopping criterion.

Key Results

The authors evaluated their "Lazy" algorithms on several challenging benchmarks, including video colocalization, matrix completion, and stochastic optimization over cut polytopes.

  • Wall-Clock Speedup: The lazy variants (LCG, LPCG) consistently outperformed their standard counterparts by several orders of magnitude in wall-clock time.
  • Oracle Call Reduction: In complex tasks, the lazy algorithm reached a high-precision solution with roughly 10x fewer calls to the actual Linear Programming solver compared to the standard version.
  • Sparsity: The lazy approach maintains the desirable property of FW algorithms: producing sparse solutions that are convex combinations of a small number of atoms.
Performance comparison showing massive reductions in wall-clock time and LP calls for lazy variants.

Limitations and Future Work

While highly effective, the approach has some limitations. The effectiveness of early termination depends on having an LMO (like a Simplex-based LP solver) that can provide intermediate feasible solutions. Additionally, for extremely complex problems requiring a massive number of atoms, the memory footprint of the cache could become a consideration. Extending this "lazy" logic to more general convex sets, such as the spectrahedron used in semidefinite programming, remains an exciting open area for exploration.

Summary updated

BibTeX
@inproceedings{braun2017lazifying,
  author = {Gábor Braun and Sebastian Pokutta and Daniel Zink},
  title = {{Lazifying Conditional Gradient Algorithms}},
  booktitle = {International Conference on Machine Learning},
  year = {2017},
  url = {https://openreview.net/forum?id=rkbUehbuZH},
}
Figure