Abstract
The Frank-Wolfe (FW) algorithm is a popular choice for constrained convex optimization due to its projection-free nature. However, scaling FW to massive datasets remains a challenge. This paper identifies key structural properties that allow FW to be parallelized using the Map-Reduce framework. By leveraging a "common information" abstraction, the authors demonstrate that high-dimensional problems with 20 million variables can be solved in 79 minutes on a distributed system, compared to 165 hours on a single machine.
Introduction
Many machine learning tasks, such as experimental design, AdaBoost, and training Support Vector Machines (SVMs), involve optimizing convex functions over high-dimensional simplices. While the Frank-Wolfe algorithm is computationally efficient for these problems, standard parallelization techniques often fail when the objective function is not a simple sum of independent terms. This research bridges the gap between theoretical optimization and practical, large-scale distributed computing using frameworks like Apache Spark.
Methodology
The proposed distributed Frank-Wolfe algorithm relies on two fundamental mathematical properties identified by the authors:
- Gradient via Common Information: The gradient of the objective function must be computable using local data and a compact "common information" vector ($h$) that summarizes the global state of the system.
- Efficient Updates: The common information $h$ must be updatable without re-scanning the entire dataset when a single variable is modified (a natural characteristic of FW updates).
The Map-Reduce Flow
- Map: Each processor calculates partial derivatives for its local data chunk using the current global state $h$.
- Reduce: The system aggregates these results to identify the optimal descent direction and calculates the duality gap to monitor convergence.
- Update: The master node updates the common information $h$ based on the sparse FW step, and the cycle repeats.
Experimental Evaluation
The framework was evaluated on synthetic datasets (up to 20 million variables) and real-world datasets including Movielens, HEPMASS, the Million Song Dataset (MSD), and YAHOO.
Performance and Scalability
The distributed implementation achieved a 125x speedup on a 20-million variable problem, finishing in 79 minutes using 350 cores versus 165 hours for the serial version. The experiments demonstrated near-linear scaling, with convergence times dropping consistently as more cores were added across various problem types.
Comparison with Standard Solvers
A key finding is the superiority of the Frank-Wolfe approach over traditional interior-point methods. Even in serial mode, FW converged significantly faster to high-quality solutions than specialized solvers like CVXOPT.
Discussion and Future Work
The "common information" abstraction successfully decouples massive data storage from global optimization decisions. While the current framework is optimized for simplex constraints, it provides a generic template for any problem where the gradient and global state updates can be defined efficiently.
Limitations include the current focus on simplex constraints and the reliance on specific properties for efficient line searches. Future research could explore extending this Map-Reduce approach to non-convex and combinatorial optimization problems.
Summary updated