Introduction
Support Vector Machines (SVMs) with Radial Basis Function (RBF) kernels are staple tools in machine learning, yet their performance is heavily dependent on the selection of two hyperparameters: the penalty parameter $C$ and the kernel width $\gamma$. Traditionally, finding the optimal $(C, \gamma)$ pair requires exhaustive k-fold cross-validation (CV). While effective, CV is computationally expensive, requiring $k$ training cycles for every point on a parameter grid. This paper, originally presented at the 2012 Asian Conference on Machine Learning, proposes an alternative: using Information Criteria (AIC and BIC) to estimate optimal parameters in a single training pass.
The Problem: Likelihood and Degrees of Freedom in SVMs
Information criteria like the Akaike Information Criterion (AIC) and the Bayesian Information Criterion (BIC) are designed to balance model fit against model complexity. The general formula follows the structure:
$IC = -2 \ln(\text{Likelihood}) + \text{Penalty}(\text{Complexity})$
Applying this to SVMs is non-trivial because SVMs are not inherently probabilistic models. To use AIC or BIC, two components must be defined:
- Model Likelihood: A measure of how well the model explains the training data.
- Degrees of Freedom: A measure of the model's complexity or "dimensionality."
Proposed Methodology
The authors address these challenges by introducing new definitions for both complexity and likelihood.
Estimating Complexity
For an RBF kernel, the number of parameters is not explicitly defined as it would be in a linear model. The authors propose using the number of margin support vectors ($N_{sv}^m$)—those points that lie exactly on or within the margin—as a proxy for the model's degrees of freedom. This leverages the inherent sparsity of SVMs, where the decision boundary is determined only by a subset of the data.
Likelihood Estimation Approaches
Two distinct strategies for calculating likelihood were developed:
- Margin-based Approach: This links likelihood to the "hinge loss," evaluating how far support vectors reside from the separating hyperplane.
- Density-based Approach: A more sophisticated method that examines misclassified points. It calculates the probability that the SVM’s decision boundary aligns with an "ideal" Bayes classifier by analyzing the local density of classes within a small sphere around the error points.
These definitions result in four tuning algorithms: Margin-AIC, Margin-BIC, Density-AIC, and Density-BIC.
Experimental Evaluation
The researchers evaluated these methods across 12 benchmark datasets from the UCI repository, ranging from low-dimensional sets like Titanic and Banana to high-dimensional sets like Usdigits-0 (256 features).
Performance and Efficiency
The results indicated that Density-AIC was the most robust performer. In statistical comparisons, it outperformed standard hold-out validation in 7 out of 12 cases. Crucially, because these methods require only one training pass per parameter combination, they offer a significant speed advantage over k-fold cross-validation, which scales linearly with $k$.
The "Elbow" Principle
The study confirmed that AIC and BIC curves effectively identify the "elbow" in the training error curve—the point where increasing model complexity (by adjusting $C$ or $\gamma$) no longer provides meaningful gains in generalization. The proposed criteria generally mirrored the shape of the actual test error curves, making them reliable proxies for parameter selection.
Limitations and Future Directions
While the density-based approach showed great promise, it encountered difficulties with specific datasets like Splice and Usdigits-0. These datasets feature high dimensionality but low feature diversity (few unique values per feature), which can cause density estimation to fail.
Future work involves comparing these information criteria against other advanced tuning methods like "span estimation" and further refining the calculation of "effective parameters" within infinite-dimensional kernel spaces.
Conclusion
By providing a mathematically grounded way to apply AIC and BIC to Support Vector Machines, this research offers a path toward faster, more efficient hyperparameter tuning. The Density-AIC approach, in particular, stands out as a viable alternative to computationally intensive cross-validation for RBF kernels.
Summary updated