HiT-Det: Efficient Target Detection Based on Lightweight Network and Attention Mechanism
Abstract
As the main task in computer vision, object detection is aimed at identifying the object in the image and frame its position. Recently, single-stage detection methods, which are on the basis of deep learning (such as YOLO and SSD), have been widely used in automatic driving, monitoring and other fields due to their high detection speed and real-time performance. However, the balance between accuracy and computing resources of existing mainstream detection models still needs to be optimized, especially in resource constrained scenarios. Therefore, this study proposes an efficient target detection method based on lightweight network and attention mechanism. By using lightweight backbone networks (such as MobileNetV2 and Efficient Net lite) in combination with deep separable convolution (DWConv), the amount of parameters and computation of the model is significantly reduced. At the same time, SE attention mechanism (or CBAM, coordinate attention, etc.) is introduced to dynamically adjust the weight of channel and spatial features, so as to enhance target features and restrain background interference. For the sake of optimizing feature mix, we adopt an improved feature pyramid network (FPN) strategy, which enables features of different scales to be fused more efficiently, thus improving the detection ability of small targets. Experimental results show that this method could not only prominently reduce the complexity of the model but also improve the reasoning speed while ensuring the accuracy, especially in the detection of small targets. Compared with YOLOv5s, SSD300 and other classical models, this method perform better in model volume, speed and accuracy. The experiments further demonstrate the effectiveness of the proposed lightweight design and attention mechanism.
References
- Szeliski R. Computer vision: algorithms and applications [M]. Springer Nature, 2022.
- 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): 53.
- 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.
- Liu W, Anguelov D, Erhan D, et al. Ssd: Single shot multibox detector [C]//European conference on computer vision. Cham: Springer International Publishing, 2016: 21-37.
- Jiang L, Nie W, Zhu J, et al. Lightweight object detection network model suitable for indoor mobile robots [J]. Journal of Mechanical Science and Technology, 2022, 36(2): 907-920.
- Chen Y, Dai X, Chen D, et al. Mobile-former: Bridging mobilenet and transformer [C]//Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2022: 5270-5279.
- Zhang X, Zhou X, Lin M, et al. Shufflenet: An extremely efficient convolutional neural network for mobile devices [C]//Proceedings of the IEEE conference on computer vision and pattern recognition. 2018: 6848-6856. Levine S, Finn C, Darrell T, et al. End-to-end training of deep visuomotor policies [J]. Journal of Machine Learning Research, 2016, 17(39): 1-40.
- Han Q, Fan Z, Dai Q, et al. On the connection between local attention and dynamic depth-wise convolution [J]. arXiv preprint arXiv: 2106.04263, 2021. 2Levine S , Pastor P , Krizhevsky A , et al.Learning Hand-Eye Coordination for Robotic Grasping with Deep Learning and Large-Scale Data Collection [J].International Journal of Robotics Research, 2016, 37(4-5): 421-436.DOI: 10.1007/978-3-319-50115-4_16.
- Ab Wahab M N, Nazir A, Ren A T Z, et al. Efficientnet-lite and hybrid CNN-KNN implementation for facial expression recognition on raspberry pi [J]. IEEE Access, 2021, 9: 134065-134080.
- Woo S, Park J, Lee J Y, et al. Cbam: Convolutional block attention module [C]//Proceedings of the European conference on computer vision (ECCV). 2018: 3-19.
- Ghiasi G, Lin T Y, Le Q V. Nas-fpn: Learning scalable feature pyramid architecture for object detection [C]//Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2019: 7036-7045.
- Xiao L, Li W, Yao S, et al. High-precision and lightweight small-target detection algorithm for low-cost edge intelligence [J]. Scientific Reports, 2024, 14(1): 23542.
- Hu J, Shen L, Sun G. Squeeze-and-excitation networks [C]//Proceedings of the IEEE conference on computer vision and pattern recognition. 2018: 7132-7141.
- Liu Y, Cao S, Lasang P, et al. Modular lightweight network for road object detection using a feature fusion approach [J]. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2019, 51(8): 4716-4728.
- Liu Y, Cao S, Lasang P, et al. Modular lightweight network for road object detection using a feature fusion approach [J]. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2019, 51(8): 4716-4728.