Research Article

Improved YOLO Method Based on Attention Mechanism

Yizhe Zheng*
City University of Hong Kong, College of Computing, Hongkong, China

* Corresponding author: [email protected]

Abstract

Object detection, as one of the core tasks of computer vision, possesses extensive implications in domains such as autonomous driving and video surveillance. Single stage detectors represented by the YOLO series have attracted attention for their efficient inference speed, but their detection accuracy still faces challenges in complex scenarios. The traditional YOLO model extracts feature through stacked convolutional layers, but lacks explicit modeling of inter channel dependencies, resulting in insufficient ability to distinguish key features. Attention mechanisms have significantly improved model performance by dynamically adjusting feature weights. The SE module proposed by SENet enhances the response of important channels through channel recalibration, but existing works often embed it directly into the Backbone network, which may cause redundant calculations due to module stacking and affect real-time performance. In addition, YOLO's Neck part is responsible for multi-scale feature fusion, and its optimization is crucial for detection performance, but there is little research on attention design for this region. This article proposes a lightweight SE-YOLO model that integrates the SE module into the Neck section of YOLO. Specifically, a channel attention mechanism is introduced after the SPP layer to capture channel level statistical information through global average pooling, and adaptive weights are generated using fully connected layers to enhance target related features while suppressing background noise. Experiments on the PASCAL VOC dataset show that the improved model performs well [email protected] By improving the indicators by 1%, This research offers fresh concepts for the lightweight improvement of object detection models.

Keywords: YOLO; Attention mechanism; Deep learning
Published: May 30, 2025
DOI: 10.54254/2755-2721/2025.TJ23482
Volume: ACE Vol.158
pp. 197-202
Download PDF

References

  1. Li, W., Feng, X. S., Zha, K., et al. (2021). Summary of target detection algorithms. In Journal of Physics: Conference Series (Vol. 1757, No. 1, p. 012003). IOP Publishing.
  2. Suzuki, K. (2017). Overview of deep learning in medical imaging. Radiological Physics and Technology, 10(3), 257–273.
  3. Vaswani, A., Shazeer, N., Parmar, N., et al. (2017). Attention is all you need. In Advances in Neural Information Processing Systems (Vol. 30).
  4. Hu, J., Shen, L., & Sun, G. (2018). Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 7132–7141).
  5. Woo, S., Park, J., Lee, J. Y., & Kweon, I. S. (2018). CBAM: Convolutional block attention module. In Proceedings of the European Conference on Computer Vision (ECCV) (pp. 3–19).
  6. Terven, J., Córdova-Esparza, D. M., & Romero-González, J. A. (2023). A comprehensive review of YOLO architectures in computer vision: From YOLOv1 to YOLOv8 and YOLO-NAS. Machine Learning and Knowledge Extraction, 5(4), 1680–1716.
  7. Redmon, J., & Farhadi, A. (2018). YOLOv3: An incremental improvement. arXiv preprint arXiv:1804.02767.
  8. Redmon, J., Divvala, S., Girshick, R., & 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).
  9. 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 (pp. 770–778).
  10. Gao, C., Meng, D., Yang, Y., Wang, Y., Zhou, X., & Hauptmann, A. G. (2013). Infrared patch-image model for small target detection in a single image. IEEE Transactions on Image Processing, 22(12), 4996–5009.