Research Article

A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models

Volume: 14 Number: 4 December 30, 2025
EN TR

A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models

Abstract

Hyperparameter tuning is crucial for improving the performance of machine learning models, especially in high-dimensional and complex parameter spaces where traditional methods (Grid Search(GS) and Random Search (RS) fall short. This work introduces a parallelized Particle Swarm Optimization(P-PSO) approach for hyperparameter optimization, which is evaluated on three benchmark datasets (Iris, Breast Cancer, Red Wine Quality) across three models (Logistic Regression (LR), Random Forest (RF), and Support Vector Classifier (SVC)). Experimental results show that P-PSO achieves superior weighted F1-scores in most cases; for example, it reaches 0.96 on the Iris dataset across all models, 0.88 for RF on Breast Cancer, and 0.69 for RF on the particularly challenging Red Wine Quality dataset, outperforming other optimization techniques by margins of up to 0.02-0.05. Despite longer execution times, especially on complex models (up to 43 seconds for RF on Red Wine Quality), P-PSO offers more consistency and higher accuracy. These results confirm that P-PSO is an effective, scalable, and robust alternative for hyperparameter tuning, especially in cases where maximizing model performance rather than computational cost is prioritized.

Keywords

References

  1. C. Barut, G. Yildirim, and Y. Tatar, “An intelligent and interpretable rule-based metaheuristic approach to task scheduling in cloud systems,” KNOWLEDGE-BASED Syst., vol. 284, 2024.
  2. M. Das, O. Pektezel, C. Barut, G. Yildirim, and B. Alatas, “Case Studies in Thermal Engineering Explainable artificial intelligence for energy efficiency in experimental refrigeration Systems : Advanced cutting-edge sunflower optimization,” Case Stud. Therm. Eng., vol. 73, no. May, p. 106581, 2025.
  3. C. Barut, S. Yildirim, B. Alatas, and G. Yildirim, “Innovative multi objective optimization based automatic fake news detection,” pp. 1–39, 2025.
  4. Risvanli, A., Tanyeri, B., Yildirim, G., Tatar, Y., Gedikpinar, M., Kalender, H., ... & Kilinc, M. A.. Interpretable Artificial Intelligence for Analysing Changes in Gases in the Uterine Environment of Cows According to Physiological Structures in the Ovary. Veterinary Medicine and Science, 2025;11(2), e70252.
  5. H. Ulutas, R. B. Günay, and M. E. Sahin, “Detecting diabetes in an ensemble model using a unique PSO-GWO hybrid approach to hyperparameter optimization,” Neural Comput. Appl., vol. 36, no. 29, pp. 18313–18341, 2024.
  6. A. Pranolo, Y. Mao, A. P. Wibawa, A. B. P. Utama, and F. A. Dwiyanto, “Optimized Three Deep Learning Models Based-PSO Hyperparameters for Beijing PM2.5 Prediction,” Knowl. Eng. Data Sci., vol. 5, no. 1, p. 53, 2022.
  7. M. Açıkkar and Y. Altunkol, “A novel hybrid PSO- and GS-based hyperparameter optimization algorithm for support vector regression,” Neural Comput. Appl., vol. 35, no. 27, pp. 19961–19977, 2023.
  8. K. Aguerchi, Y. Jabrane, M. Habba, and A. H. El Hassani, “A CNN Hyperparameters Optimization Based on Particle Swarm Optimization for Mammography Breast Cancer Classification,” J. Imaging, vol. 10, no. 2, 2024.

Details

Primary Language

English

Subjects

Information Systems (Other)

Journal Section

Research Article

Publication Date

December 30, 2025

Submission Date

August 12, 2025

Acceptance Date

November 3, 2025

Published in Issue

Year 2025 Volume: 14 Number: 4

APA
Barut, C., & Bingöl, H. (2025). A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models. Türk Doğa Ve Fen Dergisi, 14(4), 112-120. https://doi.org/10.46810/tdfd.1763151
AMA
1.Barut C, Bingöl H. A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models. TJNS. 2025;14(4):112-120. doi:10.46810/tdfd.1763151
Chicago
Barut, Cebrail, and Harun Bingöl. 2025. “A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models”. Türk Doğa Ve Fen Dergisi 14 (4): 112-20. https://doi.org/10.46810/tdfd.1763151.
EndNote
Barut C, Bingöl H (December 1, 2025) A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models. Türk Doğa ve Fen Dergisi 14 4 112–120.
IEEE
[1]C. Barut and H. Bingöl, “A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models”, TJNS, vol. 14, no. 4, pp. 112–120, Dec. 2025, doi: 10.46810/tdfd.1763151.
ISNAD
Barut, Cebrail - Bingöl, Harun. “A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models”. Türk Doğa ve Fen Dergisi 14/4 (December 1, 2025): 112-120. https://doi.org/10.46810/tdfd.1763151.
JAMA
1.Barut C, Bingöl H. A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models. TJNS. 2025;14:112–120.
MLA
Barut, Cebrail, and Harun Bingöl. “A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models”. Türk Doğa Ve Fen Dergisi, vol. 14, no. 4, Dec. 2025, pp. 112-20, doi:10.46810/tdfd.1763151.
Vancouver
1.Cebrail Barut, Harun Bingöl. A Parallel PSO Approach for Hyperparameter Optimization in Machine Learning Models. TJNS. 2025 Dec. 1;14(4):112-20. doi:10.46810/tdfd.1763151

This work is licensed under the Creative Commons Attribution-Non-Commercial-Non-Derivable 4.0 International License.