# How to tune the RBF SVM hyperparameters?: An empirical evaluation of 18 search algorithms

arXiv: https://arxiv.org/abs/2008.11655 · HTML: https://mlsanity.com/paper/2008.11655/

## Key facts

- Cited by 7 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 26 Aug 2020.

## Built on by (most cited first, 7 of 7)

- [A Bayesian Bradley-Terry model to compare multiple ML algorithms on multiple data sets](https://mlsanity.com/paper/2208.04935/) (2022)
- [Data Distribution-based Curriculum Learning](https://mlsanity.com/paper/2402.07352/) (2024)
- [Feature subset selection for kernel SVM classification via mixed-integer optimization](https://mlsanity.com/paper/2205.14325/) (2022)
- [Data structure > labels? Unsupervised heuristics for SVM hyperparameter estimation](https://mlsanity.com/paper/2111.02164/) (2021)
- [Machine Learning in the Quantum Age: Quantum vs. Classical Support Vector Machines](https://mlsanity.com/paper/2310.10910/) (2023)
- [Deep-ICE: the first globally optimal algorithm for minimizing 0-1 loss in two-layer ReLU and maxout networks](https://mlsanity.com/paper/2505.05740/) (2025)
- [Deep kernel hedging](https://mlsanity.com/paper/2609.34474/) (2026)

## Abstract (arXiv)

SVM with an RBF kernel is usually one of the best classification algorithms for most data sets, but it is important to tune the two hyperparameters C and γ to the data itself. In general, the selection of the hyperparameters is a non-convex optimization problem and thus many algorithms have been proposed to solve it, among them: grid search, random search, Bayesian optimization, simulated annealing, particle swarm optimization, Nelder Mead, and others. There have also been proposals to decouple the selection of γ and C. We empirically compare 18 of these proposed search algorithms (with different parameterizations for a total of 47 combinations) on 115 real-life binary data sets. We find (among other things) that trees of Parzen estimators and particle swarm optimization select better hyperparameters with only a slight increase in computation time with respect to a grid search with the same number of evaluations. We also find that spending too much computational effort searching the hyperparameters will not likely result in better performance for future data and that there are no significant differences among the different procedures to select the best set of hyperparameters when more than one is found by the search algorithms.
