Abstract
This paper introduces a modified training algorithm for Support Vector Machines (SVMs) designed to enhance model sparsity and simplify hyper-parameter tuning. By leveraging the mathematical equivalence between Lasso and SVM, the authors propose a Modified Frank-Wolfe (M-FW) algorithm that incorporates "online weighting" to prune support vectors during training. Experimental results across 12 diverse datasets demonstrate that M-FW reduces the number of support vectors by approximately 70% and accelerates convergence by nearly 75%, all while maintaining competitive classification accuracy and robustness to regularization parameters.
Introduction
In Support Vector Machines, sparsity is a critical feature: a model defined by fewer support vectors is faster to execute and requires less memory. However, standard SVM training algorithms often produce models that are denser than necessary, including patterns that do not significantly improve the decision boundary. Furthermore, SVMs are notoriously sensitive to the regularization parameter $C$, often requiring extensive cross-validation to avoid overfitting or excessive sparsity.
The authors address these challenges by seeking "enhanced sparsity"—achieving high accuracy with a minimal set of support vectors—while making the model less sensitive to hyper-parameter selection.
Methods
The core innovation lies in the Modified Frank-Wolfe (M-FW) algorithm, which bridges the gap between feature-sparse models like the Lasso and data-sparse models like the SVM.
As illustrated in the framework above, the authors adapt the "re-weighted Lasso" technique—which iteratively penalizes small coefficients to push them toward zero—to the SVM framework. Instead of solving a sequence of weighted problems, the M-FW algorithm handles weights "online" during optimization.
The algorithm maintains a working set of active patterns and an idle set. A new point is only added to the working set if its partial derivative is negative, indicating it will materially decrease the objective function. This selective process prevents the inclusion of marginally useful support vectors, effectively pruning the model during training.
Experimental Evaluation
The approach was evaluated on 12 binary classification benchmarks, ranging from large-scale sets like ijcnn and miniboone (up to 100,000 patterns) to standard UCI/LibSVM sets like breast, diabetes, and ionosphere.
Key Results
- Sparsity: On average, the M-FW algorithm reduced the number of support vectors to 30.1% of the baseline required by a standard SVM.
- Efficiency: The number of iterations required for convergence dropped to just 26.5% of the standard Frank-Wolfe baseline.
- Accuracy: Despite the massive reduction in complexity, accuracy remained nearly identical, averaging 99.8% of the standard SVM's performance.
- Stability: A striking finding was the algorithm's stability across different values of $C$. In many cases, accuracy remained nearly optimal even if $C$ varied by several orders of magnitude, suggesting that M-FW can achieve high performance even without exhaustive hyper-parameter tuning.
Discussion and Conclusion
The M-FW algorithm represents a rare "win-win" in machine learning optimization: a more selective constraint leads to both a faster solution and a more efficient final model. By controlling how points enter the working set, the algorithm prunes the model during training rather than as a post-processing step.
While the algorithm's result can depend on the initial starting point (unlike standard convex SVM solvers), the authors demonstrated that performance remains remarkably stable. Future work will explore extending this online weighting logic to other models, such as $\ell_1$-loss SVMs and non-negative Lasso problems, to further push the boundaries of model sparsity.
Reference: Alaíz, C. M., & Suykens, J. A. K. (2018). Modified Frank–Wolfe Algorithm for Enhanced Sparsity in Support Vector Machine Classifiers. arXiv:1706.05928v2.
Summary updated