Abstract
Support Vector Machines (SVMs) are highly sensitive to hyper-parameter configurations, specifically the cost ($C$) and kernel width ($\gamma$). While practitioners often rely on library defaults or expensive optimization techniques, this paper proposes a meta-learning middle ground. We introduce a two-stage approach: first, identifying a globally optimized set of default values via Particle Swarm Optimization (PSO), and second, training a meta-model to predict when these optimized defaults should be preferred over standard library settings. Our results demonstrate that optimized defaults significantly outperform standard library defaults across 124 datasets, and meta-learning provides a computationally efficient path to near-optimal performance.
Introduction
The performance of SVMs is heavily dependent on the selection of hyper-parameters. Standard libraries like Weka and LibSVM provide default values, but these are often arbitrary and may lead to suboptimal results. Conversely, full hyper-parameter optimization (HPO) through grid search or evolutionary algorithms is computationally prohibitive for large-scale applications. This study addresses the "cold-start" problem by investigating whether a universal set of "better" defaults exists and if dataset characteristics can guide the selection between standard and optimized configurations.
Methodology
The proposed framework consists of two primary phases: global optimization and meta-model induction.
Global Optimization
In the first phase, Particle Swarm Optimization (PSO) was employed to search for a single pair of $(C, \gamma)$ values that maximize predictive accuracy across a diverse set of 21 training datasets. This process identifies "Optimized Defaults" that serve as a robust alternative to library-specific settings.
Meta-Learning System
The second phase involves building a meta-model to recommend the appropriate hyper-parameter set for a new, unseen dataset. We extracted 81 meta-features—including statistical measures, information-theoretic properties, and landmarking performance—from 124 datasets. The meta-learning task is framed as a binary classification problem: predicting whether the "Optimized Defaults" (OPTM) will significantly outperform "Standard Defaults" (DF).
Experimental Setup and Datasets
A total of 145 classification datasets from UCI and OpenML were utilized. After the initial optimization on 21 datasets, the remaining 124 were used for meta-learning evaluation. All data were standardized to ensure consistency. We evaluated several meta-learners, including J48 Decision Trees and Random Forests, to determine the most effective mapping from dataset characteristics to hyper-parameter recommendations.
Results and Discussion
The empirical evaluation revealed that the PSO-optimized defaults ($C \approx 49.78, \gamma \approx 0.0033$) are substantially more effective than those provided by common machine learning libraries.
As shown in the results, the optimized approach achieved 84 wins compared to only 13 for Weka and 6 for LibSVM. Furthermore, the J48 meta-learner achieved a balanced accuracy of 0.847, indicating that dataset features—most notably the dimensionality ratio (attributes to samples)—are strong predictors of hyper-parameter requirements. When the number of samples vastly exceeds the number of features, standard defaults often suffice; otherwise, optimized values provide a significant performance boost.
Conclusion
This research demonstrates that a meta-learning approach can effectively mitigate the computational costs of SVM tuning. By recommending optimized default values based on dataset meta-features, we achieve high predictive accuracy with the cost of a single training run. Future work will explore expanding the meta-dataset and investigating "local" defaults through dataset clustering to further refine recommendations for specific domains.
Summary updated