How Does Momentum Help Frank Wolfe?

Bingcong Li, Mario Coutino, Georgios B. Giannakis, Geert LeusarXiv 2020

Abstract

We unveil the connections between Frank-Wolfe (FW) type algorithms and the momentum in Accelerated Gradient Methods (AGM). On the negative side, these connections illustrate why momentum is unlikely to be effective for FW type algorithms in general. The encouraging message behind this link, on the other hand, is that momentum is useful for FW on a class of problems. In particular, we prove that a momentum variant of FW, termed Accelerated Frank-Wolfe (AFW), converges with a faster rate $\tilde{\cal O}(\frac{1}{k^2})$ on certain constraint sets despite the same ${\cal O}(\frac{1}{k})$ rate as FW on general cases. Given the possible acceleration of AFW at almost no extra cost, it is a competitive alternative to FW. Numerical experiments on benchmarked machine learning tasks further validate our theoretical findings.

Introduction: The Projection-Free Dilemma

In convex optimization for machine learning, practitioners often face a stark trade-off between convergence speed and computational overhead per iteration. Accelerated Gradient Methods (AGM), such as Nesterov’s momentum, offer a fast $O(1/k^2)$ convergence rate but require a projection step at every iteration to ensure the solution remains within the constraint set. For many high-dimensional problems, such as matrix completion involving nuclear norm balls, this projection is computationally prohibitive.

Conversely, the Frank-Wolfe (FW) algorithm is "projection-free," replacing the expensive projection with a simpler linear subproblem. While this makes each iteration significantly cheaper, FW is notoriously slow, typically converging at a rate of $O(1/k)$. This paper addresses a long-standing question: Can we integrate momentum into the Frank-Wolfe framework to achieve acceleration without sacrificing its projection-free benefits?

The Accelerated Frank-Wolfe (AFW) Algorithm

The authors propose Accelerated Frank-Wolfe (AFW), a single-oracle variant that maintains the low per-iteration cost of vanilla FW. The primary innovation lies in the selection of the update direction. While standard FW determines its direction based on the gradient of the current point, $\nabla f(x_k)$, AFW utilizes a momentum-infused gradient vector, $\theta$. This vector acts as a weighted average of all previous gradients, effectively smoothing the optimization path.

Crucially, AFW remains a "single-oracle" algorithm. It only requires solving one linear subproblem per iteration, meaning its computational cost is virtually identical to that of standard Frank-Wolfe. This makes any theoretical or empirical speedup essentially "free."

Theoretical Insights and the Geometry of Acceleration

A key contribution of this work is the discovery of a hidden connection: Nesterov’s momentum update is equivalent to a Frank-Wolfe step performed on a time-varying norm ball. This unification explains why momentum often fails to accelerate FW in general settings—without a regularizer, the linear subproblem can lead to extreme "zig-zagging" behavior.

However, the authors identify that for specific constraint geometries—namely active $\ell_p$ norm balls—the constraint itself provides a natural regularizing effect. In these cases, where the optimal solution lies on the boundary of the set, AFW achieves a faster $\tilde{O}(1/k^2)$ convergence rate. Even when these geometric conditions aren't perfectly met, the momentum in AFW acts as a dampener, reducing oscillations and improving stability compared to vanilla FW.

Empirical Results

Performance in Classification

The researchers evaluated AFW against standard benchmarks including Logistic Regression on datasets like MNIST and LIBSVM. As shown in the convergence plots, AFW consistently outperforms vanilla FW and often rivals the performance of the more computationally expensive AGM.

Convergence performance on the MNIST dataset, showing AFW's competitive edge over standard FW and its proximity to AGM performance.

Matrix Completion and Rank Reduction

In matrix completion tasks using the MovieLens100K dataset, AFW demonstrated a significant advantage. Not only did it achieve lower optimality error (roughly 1.4x better than FW), but it also produced solutions with a much lower rank. This is a critical property for recommender systems, where low-rank solutions are preferred for their interpretability and reduced memory footprint.

Comparison of solution rank over iterations for FW and AFW, highlighting AFW's ability to maintain a lower-rank solution.

Conclusion

Accelerated Frank-Wolfe bridges the gap between projection-free methods and momentum-based acceleration. By leveraging the geometry of specific constraint sets, AFW provides a faster convergence rate at no additional computational cost. While the theoretical acceleration is most pronounced on active constraints, the empirical stability and rank-reduction properties make AFW a robust and superior alternative to standard Frank-Wolfe for a wide range of machine learning applications.

Summary updated

BibTeX
@misc{li2020how,
  author = {Bingcong Li and Mario Coutino and Georgios B. Giannakis and Geert Leus},
  title = {{How Does Momentum Help Frank Wolfe?}},
  year = {2020},
  eprint = {2006.11116},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.11116},
}
Figure