EUVIMEDScopri EUVIMED
Open access · CC BY 4.0

Hyperparameter Tuning of Inception CNNs Using Genetic Algorithms for Automatic Defect Detection

Ambra Korra, Anduel Kuqi, Indrit Enesi

Computers · 2026-05-13 · 15 (5) · 309

DOI: 10.3390/computers15050309 ↗

At a glance

Journal article in Computers, published online on 2026-05-13. Written by Ambra Korra and 2 co-authors. 22 references. The full text is freely available (open access, CC BY 4.0).

AbstractDati bibliograficiCiteRelated studies

Abstract (original language)

Automated defect detection in industrial casting processes is important for improving product quality while reducing the cost of manual inspection. In this work, two deep convolutional neural network (CNN) architectures, InceptionV3 and InceptionResNetV2, are evaluated for the binary classification of defects in submersible pump impellers. A genetic algorithm (GA) is used to optimize key hyperparameters, including dropout rate, learning rate, and dense layer configuration, while model complexity is assessed through Pareto-based analysis. Single-run optimization results show that InceptionV3 achieves high classification accuracy (99.0%) with lower model complexity than InceptionResNetV2 (98.75%). Repeated experiments using different random seeds demonstrate relatively stable performance across runs, with InceptionV3 achieving an accuracy of 0.9913 ± 0.003 and InceptionResNetV2 achieving 0.9860 ± 0.0076. Additional experiments were conducted using random-search baselines and classification-head ablation studies (Flatten vs. Global Average Pooling). These experiments showed that optimization strategy and architectural design choices influence both predictive performance and computational complexity. The environmental impact of the training process is evaluated using CodeCarbon, with energy consumption ranging from 0.083 to 0.098 kWh and carbon emissions ranging from 2.008 to 2.401 g CO2eq for InceptionV3 and InceptionResNetV2, respectively. Overall, the results suggest that the most effective configuration depends on the evaluated architecture and experimental setting, highlighting the importance of balancing accuracy, model complexity, and computational efficiency in industrial defect detection systems.

Cite

APA

Korra, A., Kuqi, A., & Enesi, I. (2026). Hyperparameter Tuning of Inception CNNs Using Genetic Algorithms for Automatic Defect Detection. Computers, 15(5), 309. https://doi.org/10.3390/computers15050309

Vancouver

Korra A, Kuqi A, Enesi I. Hyperparameter Tuning of Inception CNNs Using Genetic Algorithms for Automatic Defect Detection. Computers. 2026;15(5):309. doi:10.3390/computers15050309

BibTeX
@article{Korra2026,
  author = {Korra, Ambra and Kuqi, Anduel and Enesi, Indrit},
  title = {Hyperparameter Tuning of Inception CNNs Using Genetic Algorithms for Automatic Defect Detection},
  journal = {Computers},
  year = {2026},
  volume = {15},
  number = {5},
  pages = {309},
  doi = {10.3390/computers15050309}
}
Start for free →