Comparison among search algorithms for hyperparameter of support vector machine optimization

Nguyen Ba Nghien, Cuong Nguyen Cong, Nhung Nguyen Thi, Vuong Quoc Dung

Abstract


Support vector machine (SVM) is widely used in machine learning for classification and regression tasks, but its performance is highly dependent on hyperparameter tuning. Therefore, fine-tuning these parameters is key to improving accuracy and generality. Recently, many researchers have focused only on applying different algorithms to optimize these parameters. There is a shortage of studies that compare the performance of these methods. Hence, research is needed to compare the performance of these algorithms for the hyperparameters of the SVM optimization problem. This paper compares five optimization algorithms for tuning SVM hyperparameters: grid search (GS), random search (RS), Bayesian optimization (BO), genetic algorithm (GA), and the novel chemical reaction optimization (CRO) algorithm. Experimental results on benchmark datasets such as iris, digits, wine, breast cancer Wisconsin, and credit card fraud demonstrate that CRO consistently outperforms other methods in terms of classification scoring metrics and computational time. It achieves improvements in accuracy, precision, recall, and F1-score of up to 1% on balanced datasets and up to 10% on highly imbalanced datasets such as credit card fraud. It also reduces computation time by up to 50% compared to GS, BO, and RS. These findings suggest that CRO is a promising approach for hyperparameter optimization (HPO) of SVM models.

Keywords


Chemical reaction optimization; Genetic algorithm; Grid search; Random search; Support vector machine

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v14.i5.pp%25p

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Nguyen Ba Nghien, Cuong Nguyen Cong, Nhung Nguyen Thi, Vuong Quoc Dung

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES).

View IJAI Stats