Performance comparison of different convolutional neural network models and optimizers for dog bread classification
Abstract
This study explores the performance of various deep learning models including ResNet152, VGG16, VGG19 and ResNet256 on the dog breed classification task. During training, observe the loss and accuracy trends. The loss gradually decreases, showing that the model is fitting the training data better. With the improvements of the capacity of the model, the accuracy trend shows a steady increase. These models converge after about 20 epochs and fluctuate little after that. The initial learning rate, adjustment factor and patience parameters play key roles in the convergence process. However, the achieved accuracy is below 90%, suggesting that further optimization or more complex architectures may be beneficial. Among all models, ResNet512 has the highest overall accuracy (83%), followed by ResNet256 (83%), VGG19 256 (79%) and VGG16 256 (78%). The ResNet model outperforms the VGG model in most cases, probably because its network structure reduces computational complexity while maintaining accuracy. Increasing the input size can improve the accuracy of the same network structure, such as ResNet 256 and ResNet 512, while modifying the network structure by adding more layers. Learning rate decay scheduling methods, such as ReduceLROnPlateau and CosineAnnealingLR, and optimizers such as SGD, Adam, and Adagrad, are explored as well.
References
- Ráduly, Z., Sulyok, C., Vadászi, Z., & Zölde, A. (2018). Dog breed identification using deep learning. In 2018 IEEE 16th International Symposium on Intelligent Systems and Informatics (SISY), 000271-000276.
- Borwarnginn, P., Kusakunniran, W., Karnjanapreechakorn, S., & Thongkanchorn, K. (2021). Knowing your dog breed: Identifying a dog breed with deep learning. International Journal of Automation and Computing, 18, 45-54.
- Gu, J., Wang, Z., Kuen, J., Ma, L., Shahroudy, A., Shuai, B., et, al. (2018). Recent advances in convolutional neural networks. Pattern recognition, 77, 354-377.
- Kim, P., & Kim, P. (2017). Convolutional neural network. MATLAB deep learning: with machine learning, neural networks and artificial intelligence, 121-147.
- 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.
- Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., et, al. (2015). Imagenet large scale visual recognition challenge. International journal of computer vision, 115, 211-252.
- Khosla, A., Jayadevaprakash, N., Yao, B., & Li, F. F. (2011). Novel dataset for fine-grained image categorization: Stanford dogs. In Proc. CVPR workshop on fine-grained visual categorization (FGVC), 2(1), 1-2.
- Recht, B., Roelofs, R., Schmidt, L., & Shankar, V. (2019). Do imagenet classifiers generalize to imagenet?. In International conference on machine learning, 5389-5400.
- Woodworth, B., Patel, K. K., Stich, S., Dai, Z., Bullins, B., et, al. (2020). Is local SGD better than minibatch SGD?. In International Conference on Machine Learning, 10334-10343.
- Zhang, Z. (2018). Improved adam optimizer for deep neural networks. In 2018 IEEE/ACM 26th international symposium on quality of service, 1-2.