Open AccessOpen Access


An Optimization Approach for Convolutional Neural Network Using Non-Dominated Sorted Genetic Algorithm-II

Afia Zafar1, Muhammad Aamir2, Nazri Mohd Nawi1, Ali Arshad3, Saman Riaz3, Abdulrahman Alruban4,*, Ashit Kumar Dutta5, Badr Almutairi6, Sultan Almotairi7,8

1 Faculty of Computer Science and Information Technology, Universiti Tun Hussein Onn Malaysia, Malaysia
2 School of Electronics, Computing and Mathematics, University of Derby, UK
3 Department of Computer Science, National University of Technology, Islamabad, Pakistan
4 Department of Information Technology, College of Computer and Information Sciences, Majmaah University, Al Majmaah, 11952, Saudi Arabia
5 Department of Computer Science and Information Systems, College of Applied Sciences, AlMaarefa University, Riyadh, 13713, Kingdom of Saudi Arabia
6 Department of Information Technology, College of Computer Sciences and Information Technology College, Majmaah University, Al-Majmaah, 11952, Saudi Arabia
7 Department of Natural and Applied Sciences, Faculty of Community College, Majmaah University, Majmaah, 11952, Saudi Arabia
8 Department of Information Systems, Faculty of Computer and Information Sciences, Islamic University of Madinah, Madinah, 42351, Saudi Arabia

* Corresponding Author: Abdulrahman Alruban. Email:

Computers, Materials & Continua 2023, 74(3), 5641-5661.


In computer vision, convolutional neural networks have a wide range of uses. Images represent most of today’s data, so it’s important to know how to handle these large amounts of data efficiently. Convolutional neural networks have been shown to solve image processing problems effectively. However, when designing the network structure for a particular problem, you need to adjust the hyperparameters for higher accuracy. This technique is time consuming and requires a lot of work and domain knowledge. Designing a convolutional neural network architecture is a classic NP-hard optimization challenge. On the other hand, different datasets require different combinations of models or hyperparameters, which can be time consuming and inconvenient. Various approaches have been proposed to overcome this problem, such as grid search limited to low-dimensional space and queuing by random selection. To address this issue, we propose an evolutionary algorithm-based approach that dynamically enhances the structure of Convolution Neural Networks (CNNs) using optimized hyperparameters. This study proposes a method using Non-dominated sorted genetic algorithms (NSGA) to improve the hyperparameters of the CNN model. In addition, different types and parameter ranges of existing genetic algorithms are used. A comparative study was conducted with various state-of-the-art methodologies and algorithms. Experiments have shown that our proposed approach is superior to previous methods in terms of classification accuracy, and the results are published in modern computing literature.


Cite This Article

A. Zafar, M. Aamir, N. M. Nawi, A. Arshad, S. Riaz et al., "An optimization approach for convolutional neural network using non-dominated sorted genetic algorithm-ii," Computers, Materials & Continua, vol. 74, no.3, pp. 5641–5661, 2023.

This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 291


  • 112


  • 0


Share Link

WeChat scan