Research Library · Idea
Support vector machines
A support vector machine (SVM) is a classifier that chooses, among all separating hyperplanes, the one with the largest margin, the distance to the nearest training points. Cortes and Vapnik's 1995 paper calls this the optimal hyperplane and observes that only a few training points, the support vectors, determine it. It shows that for separable data the expected test error is bounded by the expected number of support vectors divided by the number of training vectors, a bound that does not mention the dimension of the space.1
Real data are rarely separable, so the soft-margin version allows slack for each point and penalises the total. In the form used in later texts the objective is half the squared weight length plus C times the sum of slacks; for a given classifier the smallest slack of an example is its hinge loss, max(0, 1 minus the label times the score).12 Smaller C favours a smaller weight norm and tolerates more violations. A nonlinear boundary comes from the kernel trick: the training and prediction computations use only dot products, so a kernel function can replace the dot product and the high-dimensional feature vectors are never built. The paper reports polynomial kernels of degree d on 256-pixel digit images correspond to feature spaces of about 33,000 dimensions for d = 2 and about 10^16 for d = 7.1
On US Postal Service digits the paper reports raw errors of 17% for CART and 16% for C4.5 against 4.7% for a degree-2 support-vector network and 4.2% at degree 6, with 2.5% for humans; on 60,000 NIST training digits a degree-4 network scored 1.1%.1
A kernel SVM has to store its support vectors and evaluate the kernel against each at prediction time. In the XGBoost paper's count of 29 winning Kaggle solutions in 2015, tree boosting appears in 17 and deep networks in 11, with no mention of SVMs, which is a snapshot rather than a trend.3
Source · Support-Vector Networks (opens in a new tab) · Cortes and Vapnik, Machine Learning 20, 1995, doi:10.1007/BF00994018
References
- Support-Vector Networks (opens in a new tab) · Cortes and Vapnik, Machine Learning 20, pp. 273-297 (full-text copy), doi:10.1007/BF00994018 · January 1, 1995 ↩ ↩ ↩ ↩
- An Introduction to Statistical Learning with Applications in R (first edition, seventh printing) (opens in a new tab) · James, Witten, Hastie and Tibshirani, Springer · January 1, 2013 ↩
- XGBoost: A Scalable Tree Boosting System (opens in a new tab) · arXiv 1603.02754 / KDD 2016 · June 10, 2016 ↩
- Support-Vector Networks (archived Springer abstract page) (opens in a new tab) · Springer · January 1, 1995
Research articles
- Before deep learning: a reader in the classical methods behind tabular machine learning, from nearest neighbours to gradient boosting · Machine learning
In the news
See what connects to it on the map of ideas →

SecSIG