Overview
Kernel Support Vector Machines (SVMs) are powerful classification tools, but their "memory footprint" and prediction speed depend entirely on the number of support vectors (SVs) they retain. This paper introduces a simple, two-step method to train kernel SVMs with the minimum possible number of support vectors. By using a novel "slant-loss" function and subgradient descent, the authors achieve state-of-the-art sparsity and generalization without increasing the asymptotic computational cost of training.
The Challenge of Dense SVMs
In a perfect, linearly separable world, SVMs are naturally sparse. However, in the real world—where data is noisy and non-separable—the number of SVs often scales linearly with the size of the training set.
For example, if you have a 10% error rate on a dataset of a million points, a standard SVM will likely store at least 100,000 support vectors. This makes the resulting model too bulky for real-time applications or deployment on low-power mobile devices. The core challenge is finding a predictor that is as accurate as a standard SVM but uses significantly fewer support vectors.
A Two-Stage Approach: Slant-Loss and Sparsification
To solve this, the authors propose a two-stage approach:
- Initial Training: Train a standard (potentially dense) kernel SVM to find a high-quality reference predictor.
- Sparsification via "Slant-Loss": Instead of directly minimizing the 0/1 error (which is NP-hard), the authors introduce the slant-loss function. This function acts as a convex surrogate that "mimics" the behavior of the reference predictor.
The key technical insight is the use of a randomized classification rule. By adding uniform noise to the prediction, the expected 0/1 loss becomes equivalent to the slant-loss. The authors then use a straightforward subgradient descent algorithm to find a sparse predictor that minimizes this slant-loss. Crucially, they prove that this second step is "asymptotically free"—it requires fewer kernel evaluations than the initial training step, meaning you get sparsity without a significant increase in total training time.
Key Insights
- The Theoretical Floor: The authors prove a lower bound showing that for any given error rate and norm, there is a strict mathematical limit to how sparse an SVM can be. Their algorithm is "optimal" because it hits this theoretical limit up to constant factors.
- Randomization as a Bridge: The breakthrough is using randomization to turn a discrete, jumpy error metric (0/1 loss) into a smooth, optimizable one (slant-loss). While they use randomization for the proof, they show that a deterministic version works even better in practice.
- Simplicity Wins: Unlike "reduced set" methods that involve non-convex optimization and complex heuristics, this approach uses simple subgradient descent. This makes it highly robust and scalable.
Experimental Results
The method was evaluated on several standard benchmarks: Adult (income prediction), IJCNN (time-series), Web (page classification), TIMIT (speech corpus), and Forest (Covertype prediction).
- Optimal Sparsity: The algorithm produces predictors supported on at most $O(\|u\|^2)$ vectors, where $u$ is the reference predictor.
- Performance vs. Sparsity: In head-to-head comparisons with other sparse solvers (like SpSVM and CPSP), the "Aggressive" variant of the proposed algorithm consistently achieved a better trade-off between test error and the number of support vectors.
- Computational Efficiency: On the massive Forest dataset (over 500k points), the method successfully found sparse solutions where other state-of-the-art methods failed due to memory limits or excessive runtimes (some taking over a week).
Limitations and Future Directions
While highly effective, the method has a few limitations. On smaller datasets like Adult and TIMIT, the authors noted slight parameter overfitting because the validation sets used to tune the step size and threshold were too small. Additionally, the method strictly requires a good initial dense SVM; if the initial training is poor, the sparsification cannot "fix" it, as it only mimics the quality of the reference. Finally, while the theory relies on randomization, the practical implementation uses a deterministic sign function—bridging this gap more formally remains an open area for future work.
Summary updated