[Paper Review] Radial basis function kernel optimization for Support Vector Machine classifiers
This paper proposes OKSVM, an algorithm that jointly optimizes the radial basis function (RBF) kernel hyperparameter and SVM dual weights via alternating gradient descent. It outperforms standard SVM across synthetic and real datasets regardless of initial γ values, demonstrating robust, automated hyperparameter tuning with superior classification accuracy and F1 scores.
Support Vector Machines (SVMs) are still one of the most popular and precise classifiers. The Radial Basis Function (RBF) kernel has been used in SVMs to separate among classes with considerable success. However, there is an intrinsic dependence on the initial value of the kernel hyperparameter. In this work, we propose OKSVM, an algorithm that automatically learns the RBF kernel hyperparameter and adjusts the SVM weights simultaneously. The proposed optimization technique is based on a gradient descent method. We analyze the performance of our approach with respect to the classical SVM for classification on synthetic and real data. Experimental results show that OKSVM performs better irrespective of the initial values of the RBF hyperparameter.
Motivation & Objective
- Address the sensitivity of SVM performance to initial RBF kernel hyperparameter (γ) values.
- Develop an automated method to jointly optimize the RBF kernel parameter and SVM dual weights.
- Overcome the limitations of grid search and uninformed hyperparameter tuning in SVMs.
- Ensure stable and reliable convergence during joint optimization of kernel and model parameters.
- Demonstrate superior performance across diverse synthetic and real-world datasets compared to standard SVM.
Proposed method
- Formulate the SVM dual optimization problem with the RBF kernel, where the kernel parameter γ is treated as a learnable hyperparameter.
- Alternate between two gradient descent steps: first optimizing the Lagrange multipliers (α) while fixing γ, then optimizing γ while fixing α.
- Use gradient descent with controlled step sizes to ensure convergence and stability during hyperparameter updates.
- Derive gradients of the dual Lagrangian with respect to γ to enable end-to-end optimization of the RBF kernel parameter.
- Implement safeguards to prevent divergence during γ optimization, particularly when the kernel matrix becomes ill-conditioned.
- Integrate the method into a standard SVM pipeline, enabling automatic tuning without grid search or cross-validation loops.
Experimental results
Research questions
- RQ1Can joint optimization of the RBF kernel hyperparameter γ and SVM dual weights improve classification performance compared to standard SVM?
- RQ2How robust is the proposed method to different initial values of γ across various datasets?
- RQ3Does the alternating gradient descent approach for γ and α lead to stable and convergent optimization?
- RQ4Can the method outperform traditional grid search-based tuning in terms of accuracy, F1 score, and AUC?
- RQ5Is the proposed method suitable for automated, reliable hyperparameter tuning in real-world classification applications?
Key findings
- OKSVM achieves higher F1 scores than standard SVM across all synthetic datasets, regardless of the initial γ value, demonstrating robustness to initialization.
- On the Wisconsin Breast Cancer dataset, OKSVM achieves a mean F1 score of 0.947, outperforming standard SVM’s 0.951 only when γ is optimally tuned.
- For the Banknote Authentication dataset, OKSVM achieves perfect F1 and AUC scores (1.000) across all runs, while standard SVM reaches 0.991 F1 with optimal tuning.
- In 5-fold cross-validation on real datasets, OKSVM outperforms standard SVM in at least one metric (F1, AUC, or accuracy) for all datasets except breast-cancer-wisconsin, where SVM slightly outperforms when hyperparameters are manually tuned.
- The heatmap results show that OKSVM maintains high performance across a wide range of C and γ values, indicating insensitivity to initial hyperparameter settings.
- OKSVM consistently achieves higher AUC and F1 scores than standard SVM on the Wine Quality (red) dataset, with AUC of 0.785 vs. 0.788 for SVM, and F1 of 0.750 vs. 0.749, respectively.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.