EN
THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM
Abstract
In this study, the hyperparameters of Convolutional Neural Networks (CNNs) have been optimized with the newly proposed Starfish Optimization Algorithm (SFOA) in recent years. CNN has complex hyperparameters due to its structure. In the literature, the values of hyperparameters are mostly tried to be determined with combinatorial methods. The success of metaheuristic algorithms in optimizing the variables of different problems has inspired this study. Thus, four different numbers of channel values (8, 16, 32, and 64), five different kernel size values (1×1, 3×3, 5×5, 7×7, and 9×9), four different batch size values (32, 64, 128, and 256), twenty different values randomly generated between 0 and 0.05 for the learning rate, three different optimizer types (sgdm, adam, and rmsprop), and four different epoch values (5, 10, 15, and 20), which are the most critical hyperparameters in CNN, have been determined. A 6-dimensional solution space was determined with SFOA, and these hyperparameter values were placed in discretely defined dimensions. SFOA tried to determine the most appropriate hyperparameter values for the CNN model in each iteration. In this study, two different image datasets (MNIST and Kuzushiji-MNIST) were selected for CNN classification. Due to the hyperparameter optimization carried out with the SFOA algorithm, an accuracy of 99.52% for the MNIST dataset and 97.91% for the Kuzushiji-MNIST dataset was achieved. Comparisons with existing literature demonstrate that the proposed model showcases successful and competitive performance. Finally, the proposed CNN models are evaluated on a different image dataset, EMNIST (Extended MNIST). EMNIST is a more comprehensive version of MNIST developed for classifying handwritten letters and numbers. The accuracy results on the EMNIST dataset were 88.65% (the proposed CNN model with similar hyperparameter settings as MNIST) and 88.73% (the proposed CNN model with similar hyperparameter settings as Kuzushiji-MNIST), respectively. Additionally, hyperparameters for the EMNIST dataset were determined using SFOA, achieving an accuracy of 88.71%. Analyzing the hyperparameters of three different CNN models, it was observed that similar optimizer types, epoch numbers, kernel sizes, and channel numbers were preferred. This demonstrates that SFOA can produce reliable and effective settings across different datasets.
Keywords
References
- A. Gülcü, Z. Kuş, “Konvolüsyonel sinir ağlarında hiper-parametre optimizasyonu yöntemlerinin incelenmesi,” Gazi University Journal of Science Part C: Design and Technology, 7(2), 503-522, 2019.
- E. Öztemel, Yapay Sinir Ağları. Istanbul: Papatya Yayincilik, 2003.
- J. Bergstra, R. Bardenet, Y. Bengio, B. Kégl, (2011). “Algorithms for hyper-parameter optimization,” in Proceedings of the 24th International Conference on Neural Information Processing Systems NIPS 2011, 2546–2554.
- M. Lindauer, K. Eggensperger, M. Feurer, A. Biedenkapp, D. Deng, C. Benjamins, T. Ruhkopf, R. Sass, and F. Hutter, “SMAC3: A Versatile Bayesian Optimization Package for Hyperparameter Optimization,” The Journal of Machine Learning Research., 23(1), 2022.
- L. Li, K. Jamieson, A. Rostamizadeh, and A. Talwalkar, “Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimization,” Journal of Machine Learning Research, 18(1), 6765–6816, 2017.
- O.M. Khanday, S. Dadvandipour, M.A. Lone, “Effect of filter sizes on image classification in CNN: A case study on CFIR10 and fashion-MNIST datasets,” IAES International Journal of Artificial Intelligence, 10 (4), 872–878, 2021.
- H. Shao, E. Ma, M. Zhu, X. Deng, S. Zhai, “MNIST Handwritten Digit Classification Based on Convolutional Neural Network with Hyperparameter Optimization,” Intelligent Automation & Soft Computing, 36(3), 2023.
- B. Bischl, M. Binder, M. Lang, T. Pielok, J. Richter, S. Coors, J. Thomas, T. Ullmann, M. Becker, A. Boulesteix, D. Deng, M. Lindauer, “Hyperparameter optimization: Foundations, algorithms, best practices, and open challenges,” Wiley Interdiscip. Rev. Data Min. Knowl. Discov., vol. 13, 2023.
Details
Primary Language
English
Subjects
Control Engineering, Mechatronics and Robotics (Other)
Journal Section
Research Article
Publication Date
December 1, 2025
Submission Date
April 18, 2025
Acceptance Date
July 25, 2025
Published in Issue
Year 2025 Volume: 13 Number: 4
APA
Yıldızdan, G., & Baş, E. (2025). THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM. Konya Journal of Engineering Sciences, 13(4), 1137-1157. https://doi.org/10.36306/konjes.1679144
AMA
1.Yıldızdan G, Baş E. THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM. KONJES. 2025;13(4):1137-1157. doi:10.36306/konjes.1679144
Chicago
Yıldızdan, Gülnur, and Emine Baş. 2025. “THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM”. Konya Journal of Engineering Sciences 13 (4): 1137-57. https://doi.org/10.36306/konjes.1679144.
EndNote
Yıldızdan G, Baş E (December 1, 2025) THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM. Konya Journal of Engineering Sciences 13 4 1137–1157.
IEEE
[1]G. Yıldızdan and E. Baş, “THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM”, KONJES, vol. 13, no. 4, pp. 1137–1157, Dec. 2025, doi: 10.36306/konjes.1679144.
ISNAD
Yıldızdan, Gülnur - Baş, Emine. “THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM”. Konya Journal of Engineering Sciences 13/4 (December 1, 2025): 1137-1157. https://doi.org/10.36306/konjes.1679144.
JAMA
1.Yıldızdan G, Baş E. THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM. KONJES. 2025;13:1137–1157.
MLA
Yıldızdan, Gülnur, and Emine Baş. “THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM”. Konya Journal of Engineering Sciences, vol. 13, no. 4, Dec. 2025, pp. 1137-5, doi:10.36306/konjes.1679144.
Vancouver
1.Gülnur Yıldızdan, Emine Baş. THE STUDY OF THE HYPERPARAMETER OPTIMIZATION ANALYSIS IN THE CONVOLUTIONAL NEURAL NETWORKS MODEL WITH STARFISH OPTIMIZATION ALGORITHM. KONJES. 2025 Dec. 1;13(4):1137-5. doi:10.36306/konjes.1679144