Introduction
In the late 1990s, Support Vector Machines (SVMs) became a cornerstone of classification due to their "sparseness" property: the final decision boundary is determined by only a small subset of the training data, known as support vectors. While powerful, standard SVMs require solving complex Quadratic Programming (QP) problems, which can be computationally intensive.
Least Squares Support Vector Machines (LS-SVMs) emerged as a faster alternative, replacing QP with a system of linear equations—effectively performing ridge regression in a high-dimensional feature space. However, this efficiency came at a cost: LS-SVMs lost the sparseness property. Because they employ a squared error (2-norm) in their optimization, every training point receives a non-zero weight. This leads to "dense" models that are slow during inference, as every new prediction requires a comparison against the entire original training set. This paper addresses this limitation by introducing a systematic pruning method to restore sparseness in LS-SVMs.
Methodology: Pruning the Support Value Spectrum
The authors propose an iterative pruning algorithm that leverages a key property of LS-SVMs: the support values ($\alpha_k$) are directly proportional to the errors ($e_k$) at each data point ($\alpha_k = \gamma e_k$). This relationship allows the support values to serve as a direct measure of a point's importance to the model.
The algorithm follows these steps:
- Initial Training: Solve the LS-SVM linear system for the full dataset of $N$ points.
- Spectrum Analysis: Sort the absolute support values $|\alpha_k|$ to generate a "support value spectrum."
- Iterative Pruning: Remove a small percentage (e.g., 5%) of points with the smallest support values. These points represent data that the model already classifies with low error and are thus considered redundant.
- Re-training: Re-solve the system on the reduced dataset.
- Termination: Repeat the process until a predefined performance index (e.g., validation accuracy) begins to degrade.
Unlike pruning techniques in neural networks, such as Optimal Brain Damage, which require calculating the Hessian matrix, the importance of a point in an LS-SVM is immediately available from the solution vector $\alpha$.
Experimental Setup
The method was evaluated using synthetic 2D datasets of 500 points drawn from Gaussian distributions. Three primary scenarios were tested:
- Small Overlap: Mostly separable classes.
- Misclassifications: A separable case with 10 points intentionally flipped to introduce noise.
- Large Overlap: Classes with significant statistical overlap, representing a more complex decision boundary.
Results and Discussion
The pruning method successfully identified redundant points while maintaining classification accuracy. In the "Small Overlap" case, the model was compressed from 500 support vectors down to 100—an 80% reduction—without any loss in performance.
Key insights from the experiments include:
- Boundary vs. Outliers: The pruning process naturally retains points near the decision boundary (which define the classifier's shape) and outliers (which have high error and thus high support values).
- Computational Efficiency: Because LS-SVMs rely on linear systems, the iterative re-training is significantly faster than re-optimizing a standard SVM.
- Robustness: Even with forced misclassifications, the method correctly identifies critical points, though the final support vector count is slightly higher to accommodate the noise.
Conclusion and Future Work
This research demonstrates that sparseness can be "carved out" of a dense LS-SVM model through a simple, error-based pruning heuristic. This approach combines the training speed of LS-SVMs with the inference efficiency of traditional SVMs.
Future work could explore dynamic adjustment of hyperparameters (like the regularization parameter $\gamma$ and kernel bandwidth $\sigma$) during the pruning process. Additionally, scaling this iterative approach to massive real-world datasets and developing more automated stopping criteria remain open challenges.
Summary updated