Introduction
Support Vector Machines (SVMs) are powerful classifiers, yet in their standard form, they suffer from "permutation invariance." This means they treat input data as a flat vector, ignoring spatial relationships like the proximity of pixels in an image. Consequently, a standard SVM doesn't inherently know that a digit shifted by one pixel is still the same digit. This paper presents a method to incorporate prior knowledge of symmetries—such as translations and rotations—into SVM training, achieving state-of-the-art results on vision benchmarks like MNIST.
The Invariance Problem
A primary challenge in applying SVMs to image recognition is that they lack built-in "vision." While data augmentation (creating shifted or rotated copies of every training image) is a common solution, it is computationally prohibitive for SVMs because training time scales quadratically with the number of examples.
As shown in the figure above, a standard SVM identifies "Support Vectors" (SVs) to define the decision boundary. However, this boundary does not account for local transformations that should not change the class label.
Virtual Support Vectors (VSV)
The authors' key contribution is the Virtual Support Vector (VSV) method. Instead of augmenting the entire dataset, the process involves two stages:
- Train a standard SVM on the original data to identify the Support Vectors.
- Generate transformed "virtual" versions of only these Support Vectors.
- Retrain the SVM on the original SVs plus these new virtual points.
By focusing on the critical examples near the decision boundary, the VSV method captures necessary invariances without the overhead of full data augmentation. This "SV-only heuristic" ensures computational effort is spent where the classifier is most likely to be confused.
Training Efficiency: The Digestion Heuristic
Even with the VSV approach, the increased data volume can strain memory. The authors identified an "intermediate SV bulge" during training, where the number of candidate support vectors grows excessively before the algorithm converges. To mitigate this, they introduced "Digestion," a technique that periodically optimizes and prunes the working set of candidate vectors, leading to training speedups of over 5x.
Results and Impact
The VSV approach, combined with local kernels, yielded a then-world-record 0.6% test error on MNIST. It also significantly improved performance on the USPS dataset and demonstrated increased confidence in detecting volcanoes in NASA satellite imagery. While the resulting models are more complex at test time, the VSV method proved that SVMs could indeed be made "smart" enough for high-performance computer vision.
Summary updated