Introduction
Scaling online learning to massive datasets requires algorithms that are not only statistically efficient but also computationally lightweight. In the framework of Online Convex Optimization (OCO), the standard approach is Online Gradient Descent (OGD). While OGD offers optimal regret bounds, it suffers from a significant computational bottleneck: the projection step. This paper, originally presented at ICML 2012, introduces the Online Frank-Wolfe (OFW) algorithm to circumvent this hurdle by replacing expensive quadratic projections with efficient linear optimization.
The Computational Bottleneck of Projections
In OCO, a learner iteratively selects a point within a convex domain to minimize a sequence of loss functions. OGD updates the current point by moving in the direction of the negative gradient. However, this update often results in a point outside the feasible domain, necessitating a "projection" back to the nearest point within the set.
For many high-dimensional problems, this projection is a quadratic programming task. In applications like matrix completion or collaborative filtering, the domain is often the set of positive semidefinite matrices with a bounded trace norm. Projecting onto this set requires a full Singular Value Decomposition (SVD), an $O(n^3)$ operation that becomes prohibitive as the matrix size $n$ grows. The authors propose a "projection-free" alternative that relies solely on linear optimization—finding the point in the domain that minimizes a linear objective—which for matrices only requires finding the top singular vector ($O(n^2)$ or less with power iteration).
The Online Frank-Wolfe (OFW) Algorithm
The Online Frank-Wolfe algorithm adapts the classic conditional gradient method to the online setting. Instead of projecting, OFW performs the following steps at each iteration:
- Gradient Computation: Calculate the gradient of the average of all loss functions encountered so far.
- Linear Optimization: Find a vertex or boundary point of the domain that minimizes the inner product with this average gradient.
- Update: Move the current estimate a small step toward this optimal vertex.
This approach offers several advantages. First, it is naturally sparse: the solution at any time $t$ is a convex combination of at most $t$ boundary points. This provides a recipe for sampling valid decisions, which is useful for problems like online shortest paths. Second, for stochastic learning, the algorithm can be made parameter-free, removing the need for manual learning rate tuning. Finally, for non-smooth costs, the authors employ randomized smoothing to maintain the algorithm's viability.
Theoretical Performance
The authors establish that OFW achieves sublinear regret across various settings. While OGD typically achieves $O(\sqrt{T})$ regret, OFW's performance depends on the nature of the cost functions and the learning environment.
As shown in the table above, OFW matches the optimal $\tilde{O}(\sqrt{T})$ rate in the stochastic smooth case. In adversarial settings, the regret bound is $O(T^{3/4})$. Although theoretically higher than OGD's $O(\sqrt{T})$, the massive reduction in per-iteration cost often makes OFW the superior choice in practice.
Empirical Results
The algorithm was evaluated on online collaborative filtering tasks (predicting user ratings) using the MovieLens100K and Jester1 datasets, as well as dense synthetic matrices.
The results demonstrate significant practical gains:
- Speed: On MovieLens100K, OFW was approximately 35 times faster than OGD per iteration. On dense synthetic data, this speedup reached 150x.
- Convergence: When plotted against wall-clock time, OFW reduces the average squared loss much faster than OGD. Interestingly, it often converges faster even in terms of the number of iterations, likely because it avoids the oscillatory "zig-zagging" behavior common in projection-based methods.
Conclusion
The Online Frank-Wolfe algorithm provides a powerful alternative for large-scale online learning where projections are computationally expensive. By leveraging linear optimization, OFW achieves dramatic speedups while maintaining provable regret guarantees. Future work remains to determine if a projection-free algorithm can achieve $O(\sqrt{T})$ regret in adversarial settings with only a single linear optimization per step.
Summary updated