Abstract
Standard Support Vector Machines (SVMs) often struggle in semi-supervised learning (SSL) scenarios where labeled data is scarce. This paper introduces the Responsibility Weighted Mahalanobis (RWM) kernel, a novel approach that incorporates unsupervised density modeling into the kernel function. By utilizing Gaussian Mixture Models (GMMs) to capture data structure, the RWM kernel adapts similarity measures based on local data density and cluster shapes. Experimental results on synthetic and real-world benchmarks demonstrate that the RWM kernel significantly outperforms standard Radial Basis Function (RBF) kernels and existing SSL methods like Laplacian SVMs, particularly when labeled samples are extremely limited.
Introduction
SVMs are powerful discriminative classifiers, but their performance is heavily dependent on the choice of kernel. The standard RBF kernel treats the feature space uniformly, ignoring the underlying distribution of data. In semi-supervised learning, where unlabeled data is abundant, leveraging this distribution is crucial. Existing SSL methods often involve complex solvers or graph-based kernels that are computationally expensive. The authors propose the RWM kernel as a "plug-and-play" solution that integrates generative modeling into the standard SVM framework.
Methodology
The RWM kernel construction follows a three-step process:
- Unsupervised Density Modeling: A GMM is fitted to the entire dataset (labeled and unlabeled) using Variational Bayesian Inference. This automatically determines the optimal number of clusters without manual tuning.
- Responsibility Weighting: For each data point, the "responsibility" of each Gaussian component is calculated, representing the probability that a specific component generated that point.
- Kernel Definition: The RWM similarity measure weights the Mahalanobis distance (adjusted by cluster covariance) by the average responsibility of the points for each cluster. This measure is then used in an exponential kernel function.
This approach allows the kernel to "stretch" or "compress" the feature space according to the discovered clusters, making points within the same dense region more similar than points separated by low-density regions.
Results and Discussion
The RWM kernel was evaluated against RBF kernels, GMM-only models, and Laplacian SVMs (LapSVM) across 20 real-world datasets and several synthetic benchmarks, including "Two Moons," "Clouds," and custom sets like "Adidas."
Key findings include:
- Superior Sparse Label Performance: In scenarios with very few labeled points, the RWM kernel consistently achieved higher accuracy. As shown in the figure above, on a toy dataset with only two labeled points, RWM reached 90.62% accuracy compared to 60.00% for RBF.
- Efficiency and Compatibility: Since the RWM approach is encapsulated within the kernel matrix, it can be used with standard SVM solvers like
libsvm, making it more accessible than specialized SSL algorithms. - Robustness: The method proved resilient to over-clustering in the GMM phase and maintained stable performance across diverse datasets.
Conclusion
The Responsibility Weighted Mahalanobis kernel provides a robust and efficient way to incorporate data structure into SVM classification. By bridging generative and discriminative models, it offers a significant performance boost in semi-supervised settings without requiring specialized solvers. Future work may extend this kernel to other tasks like regression or anomaly detection.
References
Reitmaier, T., & Sick, B. (2015). The Responsibility Weighted Mahalanobis Kernel for Semi-Supervised Training of Support Vector Machines for Classification. arXiv:1502.04033v2 [cs.LG].
Summary updated