Abstract
The Frank-Wolfe (FW) algorithm, or conditional gradient method, is widely used in constrained optimization due to its projection-free nature. However, it is a common belief that incorporating momentum does not improve its theoretical convergence rate. This paper challenges this notion by demonstrating that "Heavy Ball" momentum significantly tightens the primal-dual (PD) error bound, providing a more reliable stopping criterion. We introduce the Heavy Ball Frank-Wolfe (HFW) algorithm, which employs a weighted average of gradients and an optional restart mechanism. Our theoretical analysis shows that HFW achieves a Type II PD convergence rate, and empirical results across various machine learning benchmarks confirm its superior performance compared to vanilla FW.
Introduction
The Frank-Wolfe (FW) algorithm is a staple in optimization because it is "projection-free." Instead of performing expensive projections onto complex constraint sets—such as nuclear norm balls in matrix completion—it solves a simple linear subproblem at each iteration. Despite its popularity, FW has a known limitation: unlike gradient descent, adding "momentum" (incorporating past gradient information) generally does not improve its worst-case primal convergence rate of $O(1/k)$.
This theoretical bottleneck has led many researchers to view momentum as a dead end for FW. This work shifts the focus from the primal error (the difference between the current objective value and the minimum) to the primal-dual (PD) error. The PD error serves as a tighter bound and a more practical stopping criterion. We show that while momentum might not break the primal convergence lower bound, it makes the certificate of convergence significantly tighter and more stable.
Methods: Heavy Ball Frank-Wolfe (HFW)
The proposed HFW algorithm introduces several key innovations to the standard FW framework:
- Heavy Ball Momentum: Rather than relying solely on the instantaneous gradient $\nabla f(x_k)$, HFW maintains a momentum term $g_{k+1}$, which is a weighted average of all past gradients. This smoothing effect helps the algorithm navigate the optimization landscape more effectively.
- Generalized FW Gap: We define a new "generalized" gap $\mathcal{G}_k$ based on the momentum term. This gap provides a "Type II" guarantee, meaning it converges at a rate of $O(1/k)$. This is a stronger result than the standard FW gap, which often exhibits oscillatory behavior.
- Restart Mechanism: To prevent momentum from negatively impacting performance in the later stages of optimization, we introduce a version that "restarts" the momentum whenever the standard FW gap becomes smaller than the generalized one.
- Directional Smooth Step Size: We derive a local Lipschitz constant that considers only the direction of the current update. This allows for larger, more efficient step sizes compared to using a global constant, leading to significant practical speedups.
Theoretical Analysis
The primary theoretical contribution is the improvement of the primal-dual convergence rate. As shown in the table below, HFW (Algorithm 2) achieves a PD error rate of $\frac{2LD^2}{k+1}$ with only one subproblem per iteration.
This rate matches the best-known primal error rate for vanilla FW but provides it as a dual guarantee. This is a much stronger result because the dual gap acts as a verifiable certificate of optimality, allowing practitioners to stop the algorithm with high confidence in the solution's accuracy.
Empirical Results
We evaluated HFW on several standard benchmarks, including binary classification (using LIBSVM datasets like w7a, realsim, mushroom, and ijcnn1) and matrix completion (using MovieLens100K).
In binary classification tasks, the weighted version of HFW (WFW) consistently outperformed both vanilla FW and the uniform momentum version (UFW) across various constraint sets, including $\ell_1$, $\ell_2$, and $n$-support norm balls.
For matrix completion, HFW demonstrated the ability to reach lower objective values faster while maintaining lower-rank solutions. This is particularly valuable for recommender systems where model interpretability and memory efficiency are critical.
Key Insights
- Weighting Matters: Our experiments suggest that Weighted FW (WFW), which prioritizes recent gradients, generally performs better than Uniform FW (UFW). This indicates that "forgetting" very old gradient information is beneficial for convergence.
- Geometric Preservation: HFW maintains the intuitive geometric interpretation of vanilla FW. It still essentially minimizes a supporting hyperplane, but one informed by the historical trajectory of the gradients.
- Local vs. Global Constants: The use of a "Directional Smooth Step Size" is a major practical takeaway. Calculating a local Lipschitz constant is computationally inexpensive for common loss functions and can lead to an order-of-magnitude increase in convergence speed.
Conclusion
This work demonstrates that momentum is far from a dead end for the Frank-Wolfe algorithm. By focusing on the primal-dual error bound, we show that Heavy Ball momentum provides both theoretical tightness and empirical efficiency. HFW offers a more robust and faster alternative to vanilla FW, especially when a reliable stopping criterion is required. Future work may explore the application of HFW to complex constraints in fairness-aware machine learning and other projection-free optimization domains.
Summary updated