Research Article

Exploring the effect of depth and width of CNN models on binary classification of dogs and cats

Xu Li*
Northeastern university

* Corresponding author: [email protected]

Abstract

Convolutional neural networks (CNNs), one of the trendiest study areas in recent years, have garnered a lot of interest. Their performance is particularly notable in speech recognition, target identification, and picture recognition. The performance of a convolutional neural network model is particularly crucial because convolutional neural networks deal with problems that demand enormous amounts of data and have strict standards for result correctness. The convolutional neural network model's depth and width are the first two parameters that are examined in this paper, which is built on the Tensorflow framework. Next, the impact of depth on the accuracy of model's prediction is examined. The model's accuracy and loss are then used as a benchmark to assess its quality; at the same time, the performance of the model can be discussed in relation to the impact of width by selecting a different number of neurons with various convolutional kernel sizes; Finally, A combinational convolutional, the experiments' result show that, with a classification accuracy of up to 95.4%, the combinatorial convolutional neural network outperforms a model with single depth or width.

Keywords: Image Classification; Convolutional Neural Networks; Model Architecture
Published: March 15, 2024
DOI: 10.54254/2755-2721/47/20241274
Volume: ACE Vol.47
pp. 147-158
Download PDF

References

  1. Fukushima, K. (1980). Neocognitron: A self-organizing neural network model for a mechanism of pattern recognition unaffected by shift in position. Biological cybernetics, 36(4), 193-202.
  2. LeCun, Y., Boser, B., Denker, J. S., Henderson, D., Howard, R. E., Hubbard, W., & Jackel, L. D. (1989). Backpropagation applied to handwritten zip code recognition. Neural computation, 1(4), 541-551.
  3. Li, Q., Cai, W., Wang, X., Zhou, Y., Feng, D. D., & Chen, M. (2014). Medical image classification with convolutional neural network. In 2014 13th international conference on control automation robotics & vision, 844-848.
  4. Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25, 1-8.
  5. Wang, W., Zhu, M., Wang, J., Zeng, X., & Yang, Z. (2017). End-to-end encrypted traffic classification with one-dimensional convolution neural networks. In 2017 IEEE international conference on intelligence and security informatics, 43-48.
  6. Aloysius, N., & Geetha, M. (2017). A review on deep convolutional neural networks. In 2017 international conference on communication and signal processing, 0588-0592.
  7. Lee, J. H., Delbruck, T., & Pfeiffer, M. (2016). Training deep spiking neural networks using backpropagation. Frontiers in neuroscience, 10, 508.
  8. Parkhi, O. M., Vedaldi, A., Zisserman, A., & Jawahar, C. V. (2012). Cats and dogs. In 2012 IEEE conference on computer vision and pattern recognition, 3498-3505.
  9. Chen, H., Engkvist, O., Wang, Y., Olivecrona, M., & Blaschke, T. (2018). The rise of deep learning in drug discovery. Drug discovery today, 23(6), 1241-1250.
  10. Bengio, Y., & LeCun, Y. (2007). Scaling learning algorithms towards AI. Large-scale kernel machines, 34(5), 1-41.
  11. Loukas, A. (2019). What graph neural networks cannot learn: depth vs width. arXiv preprint arXiv:1907.03199.
  12. Kaggle. dogs vs. cats. URL: https://www.kaggle.com/c/dogs-vs-cats/data. Last Accessed: 2023/09/27
  13. Gao, Y., Liu, W., & Lombardi, F. (2020). Design and implementation of an approximate softmax layer for deep neural networks. In 2020 IEEE international symposium on circuits and systems, 1-5.
  14. Mu, R., & Zeng, X. (2019). A review of deep learning research. KSII Transactions on Internet and Information Systems, 13(4), 1738-1764.