Research Article

Comparison of Different Object Detection and Classification Models

Qian Shan1,*, Qun Yang2, Jinjiang Ding3, Yanbin Hou4, Kaiming Gu5, Zitong Sun6, Jiahui Zhou7
1. School of Letter and Science, University of California, Davis, US
2. Yangzhou High School, Yangzhou, China
3. North London Collegiate School Singapore, Singapore
4. Department of Automatic Control and Systems Engineering, University of Sheffield, Sheffield, UK
5. International Institute of Technology, Xi'an University of Technology, Xi'an, China
6. Department of Statistical Science, University College London, London, UK
7. Computer Science, Shandong University, TsingTao, China

* Corresponding author: [email protected]

Abstract

Object detection has become an important task in the field of computer vision, where the goal is to recognize and classify objects in images or videos. This paper presents a comparative analysis of different object detection models, focusing on convolutional neural networks (CNN) and transformer-based architectures. CNN-based models (e.g., the YOLO family) have made significant progress in real-time object detection by efficiently extracting local features via convolutional operations. In contrast, transformer-based models, such as the Visual Transformer (ViT), use self-attention mechanisms to capture global dependencies, improving performance on large-scale datasets. This research explores the evolution of these models and examines their foundations, strengths, and weaknesses. Through experimental evaluations, we show that CNNs continue to dominate when data and computational power are limited, while Transformers exhibit superior scalability and accuracy in complex environments. Our results highlight the complementary nature of these approaches and emphasize the need for hybrid models to achieve optimal performance in different object detection tasks.

Keywords: Transformer; Convolutional Neural Network; Object Detection; Image Classification
Published: April 21, 2025
DOI: 10.54254/2755-2721/2025.22252
Volume: ACE Vol.134
pp. 89-101
Download PDF

References

  1. Hou-I Liu, Yu-Wen Tseng, and Kai-Cheng Chang, et al. (2024), A DeNoising FPN With Transformer R-CNN for Tiny Object Detection. DOI: https://doi.org/10.48550/arXiv.2406.05755
  2. Lecun, Y. et al. (1998) ‘Gradient-based learning applied to document recognition’, Proceedings of the IEEE, 86(11), pp. 2278–2324. doi: 10.1109/5.726791.
  3. Krizhevsky, A., Sutskever, I. and Hinton, G. E. (2017) ImageNet classification with deep convolutional neural networks, Communications of the ACM. New York: Association for Computing Machinery, pp. 84–90. doi: 10.1145/3065386.
  4. Simonyan, K. and Zisserman, A. (2015) ‘Very Deep Convolutional Networks for Large-Scale Image Recognition’, arXiv.org. doi: 10.48550/arxiv.1409.1556.
  5. Szegedy, C. et al. (2014) ‘Going Deeper with Convolutions’, arXiv.org. doi: 10.48550/arxiv.1409.4842.
  6. Kaiming He et al. (2016) ‘Deep Residual Learning for Image Recognition’, in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, pp. 770–778. doi: 10.1109/CVPR.2016.90.
  7. Redmon, J., Divvala, S., Girshick, R. and Farhadi, A., 2016. You only look once: Unified, real-time object detection. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 779-788).
  8. Redmon, J. and Farhadi, A., 2017. YOLO9000: better, faster, stronger. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 7263-7271).
  9. Redmon, J. and Farhadi, A., 2018. Yolov3: An incremental improvement. arXiv preprint arXiv:1804.02767.
  10. BochNovsNiy, A., Wang, C.Y. and Liao, H.Y.M., 2020. Yolov4: Optimal speed and accuracy of object detection. arXiv preprint arXiv:2004.10934, pp.5-10.
  11. Huang, G. et al. (2018) ‘Densely Connected Convolutional Networks’, arXiv.org. doi: 10.48550/arxiv.1608.06993.
  12. Howard, A. G. et al. (2017) ‘MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications’, arXiv.org. doi: 10.48550/arxiv.1704.04861.
  13. Vaswani, A. et al. (2023) ‘Attention Is All You Need’, arXiv.org. doi: 10.48550/arxiv.1706.03762.
  14. Devlin, J. et al. (2019) ‘BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding’, arXiv.org. doi: 10.48550/arxiv.1810.04805.
  15. Radford, A., Narasimhan, K., Salimans, T. and Sutskever, I., 2018. Improving language understanding by generative pre-training.
  16. Radford, A., Wu, J., Child, R., Luan, D., Amodei, D. and Sutskever, I., 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8), p.9.
  17. Brown, T.B., 2020. Language models are few-shot learners. arXiv preprint ArXiv:2005.14165.
  18. Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W. and Liu, P.J., 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21(140), pp.1-67.
  19. X. Chu et al., “Conditional positional encodings for vision trans[1]formers,” 2021, arXiv:2102.10882.
  20. H. Wu et al., "CVT: Introducing convolutions to vision trans[1]formers," 2021, arXiv:2103.15808
  21. Dosovitskiy, A. et al. (2020) An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale. DOI: https://doi.org/10.48550/arXiv.2010.11929.
  22. Alzubaidi L, Zhang J, Humaidi A J, et al. Review of deep learning: concepts, CNN architectures, challenges, applications, future directions[J]. Journal of Big Data, 2021, 8: 1-74. DOI: https://doi.org/10.1186/s40537-021-00444-8
  23. Terven J, Córdova-Esparza D M, Romero-González J A. A comprehensive review of yolo architectures in computer vision: From yolov1 to yolov8 and yolo-nas[J]. Machine Learning and Knowledge Extraction, 2023, 5(4): 1680-1716.DOI: https://doi.org/10.3390/make5040083
  24. Zhang, Lin, et al. "Research on improved YOLOv8 algorithm for insulator defect detection." Journal of Real-Time Image Processing 21.1 (2024): 22.
  25. Li, Xin, et al. "Coal mine belt conveyor foreign object detection based on improved yolov8." 2023 IEEE 11th Joint International Information Technology and Artificial Intelligence Conference (ITAIC). Vol. 11. IEEE, 2023.
  26. Wang, Yan, et al. "An improved YOLOv8 algorithm for rail surface defect detection." IEEE Access (2024).
  27. Dosovitskiy, A. et al. (2021) ‘An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale’, arXiv.org. doi: 10.48550/arxiv.2010.11929.