Abstract
This paper introduces a method to train powerful additive classifiers, such as those utilizing the histogram intersection kernel, with the computational efficiency of linear SVMs. By employing specialized feature embeddings based on penalized splines (P-splines) and orthogonal polynomials, the author "linearizes" the optimization problem. This approach achieves the predictive accuracy of non-parametric kernel methods at a fraction of the computational and memory cost typically associated with kernel SVMs.
Introduction: The Speed-Accuracy Trade-off
In machine learning, practitioners often face a choice between the speed of Linear SVMs and the accuracy of Kernel SVMs. Linear SVMs are highly efficient but struggle with non-linear data. Conversely, Kernel SVMs handle complex data well—particularly through "additive kernels" like histogram intersection or $\chi^2$—but scale poorly, often requiring significant time and memory to process large datasets.
This research addresses this gap by focusing on Additive Models, which decompose complex functions into a sum of simpler one-dimensional functions: $f(x) = \sum f_i(x_i)$. The goal is to achieve the high accuracy of additive kernels while maintaining the performance of linear solvers.
Methodology
The paper proposes three primary embedding techniques to transform raw data into a space where linear classifiers can approximate complex additive functions.
Linearized P-Splines
The core technique involves adapting "Penalized Splines" (P-splines). Each dimension of the data is represented using a set of B-spline basis functions. The key innovation is a re-parameterization trick: by using an invertible difference matrix to enforce smoothness, the complex spline optimization is transformed into a standard linear SVM problem.
Generalized Fourier and Hermite Embeddings
Beyond splines, the paper explores:
- Fourier Embeddings: Utilizing sine and cosine basis functions. The orthogonality of their derivatives simplifies the "smoothness" penalty into a squared norm, facilitating linear solving.
- Hermite Basis Embeddings: Using Hermite polynomials, which are particularly effective for data with extended support, such as Gaussian-distributed features.
Optimization and Efficiency
To ensure scalability, the author introduces an $O(dn)$ algorithm (where $d$ is the regularization order and $n$ is the number of bins) for weight updates. This enables "online" training, where features are computed on the fly, avoiding the memory bottleneck of storing transformed datasets.
Experimental Results
The proposed methods were evaluated on the MNIST digit dataset and the Daimler Chrysler (DC) Pedestrian Classification dataset.
- Speed: Linearized additive classifiers were approximately 50x faster to train than standard kernel SVMs (e.g., LIBSVM).
- Accuracy: The models matched the accuracy of slower kernel SVMs. On the pedestrian dataset, the B-Spline version achieved ~89.5% accuracy, significantly outperforming a standard linear SVM (~81.5%) and matching the performance of expensive min-kernel SVMs.
- Comparison to LIBLINEAR: The method is only 5–6x slower than the fastest linear solvers while providing a substantial boost in predictive power.
Discussion and Insights
A critical finding is the mathematical connection between B-splines with first-order regularization and the Histogram Intersection Kernel. This explains the method's efficacy in computer vision tasks. Furthermore, P-splines allow for the independent selection of spline degree (expressiveness) and regularization order (smoothness), offering more flexibility than traditional kernel methods.
Conclusion
Linearized additive classifiers provide a robust middle ground for large-scale machine learning. While they require careful selection of basis functions and hyperparameters (like the number of bins), they offer a scalable path toward high-accuracy classification without the prohibitive costs of traditional kernel methods.
Summary updated