Research Article

Overfitting of CNN model in cifar-10: Problem and solutions

Zhangjie Xia*
New York University Shanghai

* Corresponding author: [email protected]

Abstract

CNN, proposed by Yann LeCun in the 1980s, has gained high attention and extensive research from both the academia and the industry. It has proved to be useful in a wide variety of fields, including image recognition, which aims to enable the computer to identify different objects in digital images. Despite its usefulness, problems like overfitting occur during the training process of a CNN model, which seriously harm the effectiveness of the model. Firstly, an initial CNN model is built to accomplish image recognition based on data from cifar-10. Secondly, after the presence of overfitting during the training and validation of the initial model, 4 methods, including shallower model, L2 regularization, dropout, data augmentation, are proposed to see how they handle overfitting respectively, and comparisons are made between different methods. Thirdly, the last three methods are combined to see how they handle overfitting together. Finally, conclusion and possible future work are presented. As it turns out, L2 regularization, dropout and data augmentation all reduce overfitting with some slight differences, but shallower model and the combined method cause underfitting rather than overfitting.

Keywords: Overfitting; Cifar-10; Image Recognition; Shallower Model; L2 Regularization; Dropout; Data Augmentation
Published: February 7, 2024
DOI: 10.54254/2755-2721/37/20230511
Volume: ACE Vol.37
pp. 212-221
Download PDF

References

  1. Ying X 2019 Journal of physics: Conference series vol 1168 p 1
  2. Bejani M M and Mehdi G 2021 A systematic review on overfitting control in shallow and deep neural networks. Artificial Intelligence Review. 54(2021) 1-48
  3. Li Z, Konstantinos K and Ben G 2020 IEEE transactions on medical imaging vol 40 p 1065-1077
  4. Santos C F G D and João P P 2022 Avoiding overfitting: A survey on regularization methods for convolutional neural networks. ACM Computing Surveys (CSUR). 54.10s (2022) 1-25
  5. Rezaeezade A and Lejla B 2022 Regularizers to the Rescue: Fighting Overfitting in DeepLearning-based Side-channel Analysis
  6. Gupta S et al. 2017 Data Science and Analytics: 4th International Conference on Recent Developments in Science, Engineering and Technology vol 799 p 363-371
  7. Srivastava N et al. 2014 Dropout: a simple way to prevent neural networks from overfitting. The journal of machine learning research. 15.1 (2014)1929-1958
  8. Qian L et al. 2020 IEEE Access vol 8 p 62830-62840
  9. Shorten C and Taghi M K 2019 A survey on image data augmentation for deep learning. Journal of big data 6.1 (2019)1-48
  10. Perez L and Jason W 2017 The effectiveness of data augmentation in image classification using deep learning. arXiv preprint arXiv:1712.04621 (2017)
  11. Zhang H, Lin Z, and Yuan J 2019 11th international conference on wireless communications and signal processing (WCSP) p 1-6
  12. Phaisangittisagul E 2016 7th International Conference on Intelligent Systems, Modelling and Simulation (ISMS) p 174-179
  13. Quinto B 2020 Introduction to Machine Learning. Next-Generation Machine Learning with Spark: Covers XGBoost, LightGBM, Spark NLP, Distributed Deep Learning with Keras, and More. 1-27