A Comparative Analysis of Early Stopping and Dropout Regularization on ResNet50 for Industrial Image Classification


Creative Commons License

Akçay Ç. N., Avuçlu E.

4th International Conference on Modern and Advanced Research ICMAR 2025 , Konya, Turkey, 6 - 07 November 2025, pp.533-539, (Full Text)

  • Publication Type: Conference Paper / Full Text
  • City: Konya
  • Country: Turkey
  • Page Numbers: pp.533-539
  • Open Archive Collection: AVESIS Open Access Collection
  • Erciyes University Affiliated: No

Abstract

Overfitting is one of the major challenges in deep learning, as it reduces a model’s ability to generalize to unseen data. To mitigate this issue, overfitting prevention strategies such as Dropout Regularization and Early Stopping are widely employed. This study investigates and compares the performance of these two methods on a binary image classification task involving defective and non-defective potato chips using a ResNet50 architecture. The trained dataset consists of 920 images, evenly distributed between the two classes, with 720 for training, 100 for validation, and 100 for testing. Four experiments were conducted: (1) Baseline Model (no overfitting prevention strategy applied), (2) Dropout Regularization only, (3) Early Stopping only, and (4) a combination of both. Performance was assessed using multiple evaluation metrics, including Accuracy, Specificity, Precision, Recall, F1 Score, MCC, and AUC. The test accuracy results were 0.66 for the Baseline Model, 0.89 with Dropout Regularization, 0.95 with Early Stopping, and 0.86 when both methods were combined. The experimental results obtained in this study indicate that the Early Stopping technique achieved the highest generalization performance on our dataset. These findings suggest that early stopping can be an effective standalone strategy for mitigating overfitting in deep learning-based image classification tasks.