[Paper Review] Compressed Support Vector Machines
This paper proposes Compressed Vector Machines (CVM), a post-processing method that reduces SVM test-time cost by learning a small set of optimized, artificial support vectors in continuous space to approximate the original decision boundary. The approach achieves near-full-model accuracy with up to several orders of magnitude faster inference, outperforming prior methods like Reduced-SVM and LARS-SVM in accuracy vs. complexity trade-offs.
Support vector machines (SVM) can classify data sets along highly non-linear decision boundaries because of the kernel-trick. This expressiveness comes at a price: During test-time, the SVM classifier needs to compute the kernel inner-product between a test sample and all support vectors. With large training data sets, the time required for this computation can be substantial. In this paper, we introduce a post-processing algorithm, which compresses the learned SVM model by reducing and optimizing support vectors. We evaluate our algorithm on several medium-scaled real-world data sets, demonstrating that it maintains high test accuracy while reducing the test-time evaluation cost by several orders of magnitude---in some cases from hours to seconds. It is fair to say that most of the work in this paper was previously been invented by Burges and Schölkopf almost 20 years ago. For most of the time during which we conducted this research, we were unaware of this prior work. However, in the past two decades, computing power has increased drastically, and we can therefore provide empirical insights that were not possible in their original paper.
Motivation & Objective
- To reduce the test-time computational cost of kernel SVMs, which scales linearly with the number of support vectors.
- To maintain high classification accuracy while drastically reducing the number of support vectors used during inference.
- To develop a post-processing compression technique that learns artificial support vectors in continuous space, rather than selecting from training data.
- To outperform existing methods such as Reduced-SVM and LARS-SVM in accuracy and efficiency trade-offs on real-world datasets.
- To provide empirical validation of a previously theoretical approach (Burges and Schölkopf, 1999) using modern computational resources.
Proposed method
- The method begins with a trained full SVM model and uses LARS-SVM to select an initial subset of support vectors from the original set.
- It then performs gradient descent on both the support vector locations and their corresponding dual variables (Lagrange multipliers) to optimize a continuous-space basis for the decision boundary.
- The optimization objective (Equation 10) minimizes the difference between the compressed model’s decision function and the original SVM’s decision function.
- The resulting compressed model is a standard SVM with fewer, learned support vectors that can be saved in LibSVM-compatible format.
- The method is applied in two stages: initial subset selection via LARS, followed by continuous optimization of support vector positions.
- The approach is extended to multi-class problems using one-vs-one, one-vs-all, or DAG schemes.
Experimental results
Research questions
- RQ1Can a small set of learned, continuous-space support vectors approximate the decision boundary of a full SVM with minimal accuracy loss?
- RQ2How does the performance of CVM compare to existing compression methods like Reduced-SVM and LARS-SVM in terms of accuracy and inference cost?
- RQ3To what extent can test-time evaluation cost be reduced while preserving high classification accuracy?
- RQ4Does post-processing compression via continuous optimization of support vectors yield better approximation than discrete selection from training data?
- RQ5Can the theoretical framework of Compressed Vector Machines (Burges & Schölkopf, 1999) be empirically validated and improved with modern computational power?
Key findings
- CVM achieves classification accuracy within 1% of the full SVM model even with only 10% of the original number of support vectors across all evaluated datasets.
- On the MNIST dataset, CVM maintains over 95% accuracy with just 10 support vectors, reducing test-time cost by several orders of magnitude.
- CVM outperforms Reduced-SVM and LARS-SVM in accuracy for the same number of support vectors, particularly at low compression ratios.
- The gradient-based optimization of support vector positions in continuous space significantly improves approximation quality compared to discrete selection from training data.
- On large-scale datasets like 20news and MNIST, CVM reduces inference time from hours to seconds while preserving high accuracy.
- The method demonstrates robustness across diverse data types, including image, text, and tabular data, with consistent performance gains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.