Exploring the Impact of Architectural Variations in ResNet on CIFAR-100 Performance: An Investigation on Fully Connected Layers, Residual Blocks, and Kernel Size

Authors

  • Rensi Deng

DOI:

https://doi.org/10.61173/t3hwnp29

Keywords:

Artificial intelligence, image classification, CIFAR-100, ResNet

Abstract

ResNet is one of the leading neutral networks that has been widely applied in image classification. This study built a simple baseline network based on the concept of ResNet and then examines how variations in ResNet’s architecture affect its model performance to provide insights for optimizing network design. Firstly, this study investigates the number of fully connected layers, the results show that by reducing the number of fully connected layers significantly decreases the total number of trainable parameters, which in turn reduces the training time. However, this reduction does not lead to a noticeable improvement in the accuracy after convergence. In addition, increasing the number of fully connected layers not only greatly increases the training time but also leads to overfitting on the CIFAR-100 dataset, slightly reducing the training performance. Secondly, this study also analyzes the influence of reducing number of residual basic block. Analysis suggests that reducing the use of Residual Blocks has significantly negatively impacted both accuracy and training time. This may be because the use of Residual Blocks positively affects the network’s ability to learn features from the CIFAR-100 dataset. Finally, this study explores the effect of bigger kernel size of convolution layer in Residual Basic Block. The outcome demonstrates increasing the kernel size in the Residual Blocks significantly improves both training time and accuracy. Additionally, it was observed that in this variant experiment, a definitive convergence has not yet been clearly established, leaving the possibility that accuracy might continue to improve with more training epochs.

References

[1] Krizhevsky A, Hinton G. Learning multiple layers of features from tiny images, cs.utoronto.ca, 2009.

[2] LeCun Y, Bottou L, Bengio Y, Haffner P. Gradient-based learning applied to document recognition. Proceedings of the IEEE. 1998 Nov;86(11):2278-324.

[3] Krizhevsky A, Sutskever I, Hinton GE. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems. 2012;25.

[4] Simonyan K, Zisserman A. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556. 2014 Sep 4.

[5] He K, Zhang X, Ren S, Sun J. Deep residual learning for image recognition. InProceedings of the IEEE conference on computer vision and pattern recognition 2016 (pp. 770-778).

[6] Gudhe NR, Behravan H, Sudah M, Okuma H, Vanninen R, Kosma VM, Mannermaa A. Multi-level dilated residual network for biomedical image segmentation. Scientific Reports. 2021 Jul 8;11(1):14105.

[7] Li G, Li L, Zhu H, Liu X, Jiao L. Adaptive multiscale deep fusion residual network for remote sensing image classification. IEEE Transactions on Geoscience and Remote Sensing. 2019 Jun 26;57(11):8506-21.

[8] Zhang N, Liu J, Wang K, Zeng D, Mei T. Robust visual Dean&Francis object tracking with two-stream residual convolutional networks. In2020 25th International Conference on Pattern Recognition (ICPR) 2021 Jan 10 (pp. 4123-4130). IEEE.

[9] Kocić J, Jovičić N, Drndarević V. An end-to-end deep neural network for autonomous driving designed for embedded automotive platforms. Sensors. 2019 May 3;19(9):2064.

[10] Mumuni A, Mumuni F. Data augmentation: A comprehensive survey of modern approaches. Array. 2022 Dec 1;16:100258.

Downloads

Published

2024-10-29