Hyperparameter Optimization for Problem-Based Custom CNN Architectures Using a Smart Grid Search Method

Recent advancements in deep learning architectures have made it possible to solve a wide range of classification problems present in industrial applications. However, many CNN architectures are complex, with large model sizes and high inference times, making them less suitable for deployment in resource-constrained environments. This study proposes an improved grid search based hyperparameter optimization method to design lightweight CNN architectures for task-specific classification problems. In order to test the performance of the proposed algorithm, a dataset of ripe and unripe pistachios was used. To classify the ripe and unripe pistachios with a small-sized and high test accuracy model , a two-layer CNN architecture’s hyperparameters were optimized with the proposed algorithm. The implementation of the proposed algorithm took 14 hours and 17 minutes, and the algorithm calculated 173 different CNN architectures with different parameters. Among these 173 CNN architectures, the model with higher test accuracy than the literature and the smallest size was determined to have a size of 4.74 MB and achieve 98.70% test accuracy. When compared to the literature, this model shows 0.26% improvement in test accuracy and 36.6 times smaller than the AlexNet model. The proposed method was also compared with Bayesian optimization using a similar search space. While Bayesian optimization achieved the same highest test accuracy (99.22%), it produced a model that was 3.7 times larger. Moreover, when small-sized CNN architectures with identical accuracies (98.19%) were compared, the proposed method produced a model that was 2.5 times smaller than the Bayesian result in terms of model size. These results demonstrate the success of the method in efficiently discovering lightweight, high-accuracy CNN architectures.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3594212
Citations
1
Primary Topic
Advanced Multi-Objective Optimization Algorithms
Type
article
Field-Weighted Citation Impact
1.50

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hyperparameter Optimization for Problem-Based Custom CNN Architectures Using a Smart Grid Search Method

Hakan Aktaş
1 citations
IEEE Access
Advanced Multi-Objective Optimization Algorithms
1.50
article

Hyperparameter Optimization for Problem-Based Custom CNN Architectures Using a Smart Grid Search Method

Hakan Aktaş
article en
1 citations

Abstract

Recent advancements in deep learning architectures have made it possible to solve a wide range of classification problems present in industrial applications. However, many CNN architectures are complex, with large model sizes and high inference times, making them less suitable for deployment in resource-constrained environments. This study proposes an improved grid search based hyperparameter optimization method to design lightweight CNN architectures for task-specific classification problems. In order to test the performance of the proposed algorithm, a dataset of ripe and unripe pistachios was used. To classify the ripe and unripe pistachios with a small-sized and high test accuracy model , a two-layer CNN architecture’s hyperparameters were optimized with the proposed algorithm. The implementation of the proposed algorithm took 14 hours and 17 minutes, and the algorithm calculated 173 different CNN architectures with different parameters. Among these 173 CNN architectures, the model with higher test accuracy than the literature and the smallest size was determined to have a size of 4.74 MB and achieve 98.70% test accuracy. When compared to the literature, this model shows 0.26% improvement in test accuracy and 36.6 times smaller than the AlexNet model. The proposed method was also compared with Bayesian optimization using a similar search space. While Bayesian optimization achieved the same highest test accuracy (99.22%), it produced a model that was 3.7 times larger. Moreover, when small-sized CNN architectures with identical accuracies (98.19%) were compared, the proposed method produced a model that was 2.5 times smaller than the Bayesian result in terms of model size. These results demonstrate the success of the method in efficiently discovering lightweight, high-accuracy CNN architectures.

IEEE AccessVol. 13
Xerox (France) (FR)
Niğde Üniversitesi
Openalex Percentile: Top 15%
Advanced Multi-Objective Optimization Algorithms
1.50
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.