A PARTAN-accelerated Frank-Wolfe algorithm for large-scale SVM classification

Emanuele Frandi, Ricardo Ñanculef, Johan A. K. Suykens

Abstract

Frank-Wolfe algorithms have recently regained the attention of the Machine Learning community due to their solid theoretical properties and sparsity guarantees. This paper investigates a Parallel Tangent (PARTAN) variant of the Frank-Wolfe (FW) algorithm specifically for Support Vector Machine (SVM) classification. By incorporating geometric acceleration, the proposed method achieves significant speedups on medium and large-scale benchmark datasets while maintaining model sparsity.

What Problem Does This Paper Address?

Support Vector Machines (SVMs) are fundamental tools for classification, yet training them on massive datasets remains computationally demanding. The Frank-Wolfe (FW) algorithm is a popular choice for these tasks because it is "projection-free"—avoiding the expensive mathematical projections required by other methods—and naturally produces "sparse" solutions that rely on only a small subset of data points (Support Vectors).

However, standard FW suffers from a "stagnation" problem. As the algorithm nears the optimal solution, its search directions become nearly perpendicular to the gradient, leading to a slow "zigzagging" or "sawtooth" trajectory. This paper introduces the PARTAN variant to mitigate this inefficiency, aiming for faster convergence without sacrificing the framework's inherent benefits.

Methods: Breaking the Sawtooth with PARTAN

The researchers implemented and compared several Frank-Wolfe variants, with a focus on PARTAN-FW.

Comparison of the standard Frank-Wolfe zigzagging path (left) versus the accelerated PARTAN-FW trajectory (right).

Unlike the standard baseline, PARTAN-FW utilizes "Parallel Tangents." After taking an intermediate FW step, it performs a second line search along the direction connecting the previous iterate to the new point. As shown in the figure above, this geometric trick allows the algorithm to "cut the corners" of the typical sawtooth path, moving more directly toward the optimum $x_*$.

Crucially, for SVM training on a unit simplex, these extra steps can be computed analytically, ensuring that the acceleration does not add significant computational overhead. The authors also integrated a stochastic speed-up technique, where only a random subset of data is sampled in each iteration to find the descent direction.

Datasets

The study evaluates these algorithms on six diverse benchmark datasets for binary classification, ranging from census data to network intrusion detection.

Characteristics of the benchmark datasets used in the study, including number of training samples (m), test samples (t), and features (n).

Key Insights and Results

  • Geometric Intuition: By looking back at the previous step, PARTAN identifies a direction that smooths out the optimization path. This is particularly effective for "nonlinear" SVMs, where keeping the number of Support Vectors bounded is vital for memory efficiency.
  • Consistent Performance Gains: PARTAN-FW achieved an average 2.52x speedup in CPU time compared to standard FW. On the Web w8a dataset, it found a solution with 2,830 Support Vectors, compared to 6,920 for the standard version, resulting in a much more compact model.
  • Scalability: The combination of PARTAN and stochastic sampling allowed the solvers to handle datasets with hundreds of thousands of examples (like KDD99) efficiently, often with negligible impact on test accuracy.
  • Practicality: While other variants (like MFW or SWAP) might offer better theoretical convergence at extreme precision, PARTAN proved to be the most practical choice for the standard tolerances used in real-world machine learning.

Limitations and Future Work

The benefits of PARTAN are most pronounced when the final solution is sparse. On "dense" datasets like RCV1-binary, where many points become Support Vectors, the advantage over standard FW is minimal. Future work includes applying PARTAN-FW to other sparse optimization problems like Lasso and Matrix Recovery, as well as refining stochastic sampling strategies to better balance speed and convergence reliability.

Summary updated

BibTeX
@inproceedings{frandi2015partan,
  author = {Emanuele Frandi and Ricardo Ñanculef and Johan A. K. Suykens},
  title = {{A PARTAN-accelerated Frank-Wolfe algorithm for large-scale SVM classification}},
  booktitle = {IJCNN},
  year = {2015},
  doi = {10.1109/ijcnn.2015.7280402},
}
Figure