-
摘要:
小目标检测旨在解决传统目标检测算法处理微小目标时的困难。小目标检测需要克服目标尺寸小、像素少、目标与背景之间差异小导致难以检测的问题,对目标检测算法的鲁棒性、准确性提出更高的要求。基于此,设计了一种基于状态空间模型的小目标检测算法,探索状态空间模型在目标检测领域的应用。设计了滑动窗口扫描机制以将二维图像转换为一维序列,更适用于小目标检测任务;设计了空间信息聚合模块,通过双分支结构分别计算全局和局部注意力,抑制无关背景信息;针对传统交并比损失进行改进,关注边界框形状和尺度对检测性能的影响,并使用辅助框加速模型收敛。在公开数据集VisDrone2019上进行了充分的实验,论证了所提算法的有效性。
Abstract:Small object detection aims to solve the difficulties of traditional target detection algorithms in dealing with tiny objects. Small object detection needs to overcome the problems of small object size, few pixels, and a small difference between the target and background, which makes it difficult to detect. It puts higher requirements on the robustness and accuracy of object detection algorithms. A small object detection algorithm based on a state space model is designed to explore the application of the state space model in the field of object detection. A sliding window scanning mechanism is designed to convert two-dimensional images into one-dimensional sequences, which is more suitable for small object detection tasks. In order to suppress irrelevant background information, a dual-branch structure is used in a spatial information aggregation module to calculate global and local attention, respectively. Improvements are made to the traditional IoU loss, focusing on the influence of bounding box shape and scale on detection performance, and auxiliary boxes are used to accelerate model convergence. Sufficient experiments are carried out on the public dataset VisDrone2019 to demonstrate the effectiveness of the proposed method.
-
表 1 消融实验结果
Table 1. Ablation experiment results
SSMFormer SIAM Inner-Shape-IoU 输入图像尺寸/(像素×像素) P/% R/% mAP0.5/% mAP0.5∶0.95/% 参数量 浮点运算量/109次 640×640 59.55 44.30 46.11 27.68 1.988×107 57.0 √ 640×640 61.89 44.70 46.95 28.13 2.018×107 57.3 √ 640×640 61.15 44.77 46.89 28.91 2.196×107 63.7 √ 640×640 61.63 45.08 47.19 29.04 1.988×107 57.0 √ √ 640×640 61.42 45.66 47.69 29.27 2.227×107 64.0 √ √ 640×640 61.10 45.67 47.31 29.14 2.018×107 57.3 √ √ 640×640 60.68 45.27 47.50 29.36 2.196×107 63.7 √ √ √ 640×640 61.07 45.37 47.71 29.57 2.227×107 64.0 √ √ √ 960×960 66.60 52.66 54.71 34.81 2.227×107 64.0 表 2 对比实验结果
Table 2. Contrast experiment results
-
[1] Girshick R, Donahue J, Darrell T, et al. Rich feature hierarchies for accurate object detection and semantic segmentation[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2014: 580-587. [2] Girshick R. Fast R-CNN[C]//Proceedings of the IEEE International Conference on Computer Vision. New York: ACM, 2015: 1440-1448. [3] Ren S Q, He K M, Girshick R, et al. Faster R-CNN: towards real-time object detection with region proposal networks[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017, 39(6): 1137-1149. [4] Redmon J, Divvala S, Girshick R, et al. You only look once: unified, real-time object detection[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2016: 779-788. [5] Liu W, Anguelov D, Erhan D, et al. SSD: single shot multibox detector[C]//Proceedings of the Computer Vision-ECCV 2016. Berlin: Springer, 2016: 21-37. [6] Lin T Y, Goyal P, Girshick R, et al. Focal loss for dense object detection[C]//Proceedings of the IEEE International Conference on Computer Vision. Piscataway: IEEE Press, 2017: 2999-3007. [7] Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need[C]//Proceedings of the Advances in Neural Information Processing Systems 30. Red Hook: Curran Associates, Inc. , 2017: 6000-6010. [8] Carion N, Massa F, Synnaeve G, et al. End-to-end object detection with Transformers[C]//Proceedings of the Computer Vision-ECCV 2020. Berlin: Springer, 2020: 213-229. [9] Zhu X Z, Su W J, Lu L W, et al. Deformable DETR: deformable Transformers for end-to-end object detection[EB/OL]. (2021-03-18)[2024-06-15]. https://arxiv.org/abs/2010.04159. [10] Gao P, Zheng M H, Wang X G, et al. Fast convergence of DETR with spatially modulated co-attention[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision. Piscataway: IEEE Press, 2022: 3601-3610. [11] Chen Z, Zhang J, Tao D C. Recurrent glimpse-based decoder for detection with Transformer[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2022: 5250-5259. [12] Zhang H, Li F, Liu S L, et al. DINO: DETR with improved denoising anchor boxes for end-to-end object detection[EB/OL]. (2022-07-11)[2024-06-15]. https://arxiv.org/abs/2203.03605. [13] Zhao Y A, Lv W Y, Xu S L, et al. DETRs beat YOLOs on real-time object detection[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2024: 16965-16974. [14] Kim J, Cho H, Kim J, et al. SDDGR: stable diffusion-based deep generative replay for class incremental object detection[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2024: 28772-28781. [15] Hou X Q, Liu M Q, Zhang S L, et al. Salience DETR: enhancing detection Transformer with hierarchical salience filtering refinement[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2024: 17574-17583. [16] Dosovitskiy A, Beyer L, Kolesnikov A, et al. An image is worth 16×16 words: Transformers for image recognition at scale[EB/OL]. (2021-06-03)[2024-06-15]. https://arxiv.org/abs/2010.11929. [17] Gu A, Dao T. Mamba: linear-time sequence modeling with selective state spaces[EB/OL]. (2024-05-31)[2024-06-15]. https://arxiv.org/abs/2312.00752. [18] Baccus S, Dao T, Downs G, et al. S4ND: modeling images and videos as multidimensional signals with state spaces[C]//Proceedings of the Advances in Neural Information Processing Systems 35. Red Hook: Curran Associates, Inc. , 2022: 2846-2861. [19] Smith J T H, Warrington A, Linderman S W. Simplified state space layers for sequence modeling[EB/OL]. (2023-03-03)[2024-06-15]. https://arxiv.org/abs/2208.04933. [20] Zhu L H, Liao B C, Zhang Q, et al. Vision Mamba: efficient visual representation learning with bidirectional state space model[EB/OL]. (2024-01-17)[2024-06-15]. https://arxiv.org/abs/2401.09417. [21] Touvron H, Cord M, Douze M, et al. Training data-efficient image Transformers & distillation through attention[EB/OL]. (2021-01-15)[2024-06-15]. https://arxiv.org/abs/2012.12877. [22] Liu Y, Tian Y J, Zhao Y Z, et al. VMamba: visual state space model[EB/OL]. (2024-01-18)[2024-06-15]. https://arxiv.org/abs/2401.10166. [23] He K M, Zhang X Y, Ren S Q, et al. Deep residual learning for image recognition[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2016: 770-778. [24] Liu Z, Lin Y T, Cao Y, et al. Swin Transformer: hierarchical vision Transformer using shifted windows[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision. Piscataway: IEEE Press, 2022: 9992-10002. [25] Ma J, Li F F, Wang B. U-Mamba: enhancing long-range dependency for biomedical image segmentation[EB/OL]. (2024-01-09)[2024-06-15]. https://arxiv.org/abs/2401.04722. [26] Yu W H, Luo M, Zhou P, et al. MetaFormer is actually what you need for vision[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2022: 10809-10819. [27] Zhang H, Zhang S J. Shape-IoU: more accurate metric considering bounding box shape and scale[EB/OL]. (2024-01-12)[2024-06-15]. https://arxiv.org/abs/2312.17663. [28] Zhang H, Xu C, Zhang S J. Inner-IoU: more effective intersection over union loss with auxiliary bounding box[EB/OL]. (2023-11-14)[2024-06-15]. https://arxiv.org/abs/2311.02877. [29] Rukhovich D, Sofiiuk K, Galeev D, et al. IterDet: iterative scheme for object detection in crowded environments[C]//Proceedings of the Structural, Syntactic, and Statistical Pattern Recognition. Berlin: Springer, 2021: 344-354. [30] Cai Z W, Vasconcelos N. Cascade R-CNN: delving into high quality object detection[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2018: 6154-6162. [31] Li Z M, Peng C, Yu G, et al. Light-head R-CNN: in defense of two-stage object detector[EB/OL]. (2017-11-23)[2024-06-15]. https://arxiv.org/abs/1711.07264. [32] Xu S L, Wang X X, Lv W Y, et al. PP-YOLOE: an evolved version of YOLO[EB/OL]. (2022-12-12)[2024-06-15]. https://arxiv.org/abs/2203.16250. [33] Ge Z, Liu S T, Wang F, et al. YOLOX: exceeding YOLO series in 2021[EB/OL]. (2021-08-06)[2024-06-15]. https://arxiv.org/abs/2107.08430. [34] Zhu X K, Lyu S C, Wang X, et al. TPH-YOLOv5: improved YOLOv5 based on Transformer prediction head for object detection on drone-captured scenarios[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops. Piscataway: IEEE Press, 2021: 2778-2788. -


下载: