Research Article

Comparative analysis of different model depths on convolutional neural network for handwritten digit recognition

Weitao Deng*
Queen Mary University of London

* Corresponding author: [email protected]

Abstract

In the rapidly advancing field of artificial intelligence, Convolutional Neural Networks (CNNs), as a representative method, have risen to prominence as a pivotal instrument for handling visual data. However, despite their widespread use, the impact of CNN depth on performance remains under-explored. This study delves into this aspect, evaluating the performance of CNN architectures with different depths - two-layer, four-layer, and five-layer - on the MNIST dataset, a version from the National Institute of Standards and Technology, a well-known benchmark dataset for handwritten digit recognition. Experimental results reveal that the four-layer model achieved the highest average accuracy of 99.76%, while the five-layer model, despite its additional complexity, only slightly trailed behind with a 99.73% accuracy rate. However, the five-layer model required a significantly longer training time. In conclusion, while deeper networks can increase accuracy, they can also introduce computational inefficiencies without significant gains in performance. This research provides a better understanding of CNN depth, guiding optimal model selection for image classification tasks.

Keywords: Convolutional Neural Network; MNIST; Handwritten Digit Recognition
Published: March 25, 2024
DOI: 10.54254/2755-2721/51/20241178
Volume: ACE Vol.51
pp. 89-96
Download PDF

References

  1. Ciregan, D., Meier, U., & Schmidhuber, J. (2012). Multi-column deep neural networks for image classification. In 2012 IEEE conference on computer vision and pattern recognition, 3642-3649.
  2. Abbas, A., Abdelsamea, M. M., & Gaber, M. M. (2021). Classification of COVID-19 in chest X-ray images using DeTraC deep convolutional neural network. Applied Intelligence, 51, 854-864.
  3. Yadav, S. S., & Jadhav, S. M. (2019). Deep convolutional neural network based medical image classification for disease diagnosis. Journal of Big data, 6(1), 1-18.
  4. Srinivasu, P. N., SivaSai, J. G., Ijaz, M. F., Bhoi, A. K., Kim, W., & Kang, J. J. (2021). Classification of skin disease using deep learning neural networks with MobileNet V2 and LSTM. Sensors, 21(8), 2852.
  5. He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, 770-778.
  6. Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25, 1-9.
  7. Ioffe, S., & Szegedy, C. (2015). Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International conference on machine learning, 448-456.
  8. Cubuk, E. D., Zoph, B., Mane, D., Vasudevan, V., & Le, Q. V. (2019). Autoaugment: Learning augmentation strategies from data. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 113-123.
  9. Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., & Chen, L. C. (2018). Mobilenetv2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE conference on computer vision and pattern recognition, 4510-4520.
  10. Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I., & Salakhutdinov, R. (2014). Dropout: a simple way to prevent neural networks from overfitting. The journal of machine learning research, 15(1), 1929-1958.
  11. Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., et al. (2015). Imagenet large scale visual recognition challenge. International journal of computer vision, 115, 211-252.
  12. Litjens, G., Kooi, T., Bejnordi, B. E., Setio, A. A. A., Ciompi, F., Ghafoorian, M., et al. (2017). A survey on deep learning in medical image analysis. Medical image analysis, 42, 60-88.
  13. LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. nature, 521(7553), 436-444.