journal article·2025-01-29Open access

Multiscale Dynamic Attention and Hierarchical Spatial Aggregation for Few-Shot Object Detection

Yining An, Chunlin Song

Applied Sciences· Volume 15· Issue 3

Abstract

Few-shot object detection (FSOD) remains a critical challenge in computer vision, where the limited training data significantly hinder model performance. Existing methods suffer from poor robustness and accuracy, primarily due to scale sparsity and inadequate feature extraction. In this paper, we propose MDA-HAPP, a novel framework built on a transfer learning architecture and a two-stage object detection approach, specifically designed to address these issues. The key innovations of MDA-HAPP include 1. MultiScale-DynaAttention, a novel attention module that enhances feature extraction by integrating multi scale convolutions into channel attention and applying a dynamic pooling ratio to spatial attention, with residual connections to improve robustness; 2. hierarchical adaptive-pyramid pooling, designed based on a spatial pyramid pooling (SPP) structure, extracts multiscale features from intermediate layers and dynamically adjusts pooling strategies. These features are then fed into a dual-branch detection head for comprehensive results.The experimental results on the PASCAL VOC and COCO datasets show that MDA-HAPP achieves significant improvements across different K-shot settings. Specifically, the model demonstrates an up to 9.8% gain in AP75 on PASCAL VOC for K-shot values of 10 and an up to 3.7% improvement on COCO for K-shot values of 30. These results confirm its superior performance in FSOD and highlight its potential for real-world applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Neural Network Applications · Infrared Target Detection Methodologies · Industrial Vision Systems and Defect Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Electronic and Information Engineering, Tongji University, Shanghai 201804, China

References (35)

Show source-provided references
1. Agrawal, P., Bose, R., Gupta, G.K., Kaur, G., Paliwal, S., and Raut, A. (2024, January 7–8). Advancements in Computer Vision: A Comprehensive Review. Proceedings of the 2024 International Conference on Innovations and Challenges in Emerging Technologies (ICICET), Nagpur, India.10.1109/ICICET59348.2024.10616321 ↗
2. What neural networks memorize and why: Discovering the long tail via influence estimation
3. Few-shot object detection: A comprehensive survey
4. Chudasama, V., Sarkar, H., Wasnik, P., Balasubramanian, V.N., and Kalla, J. (2024). Beyond Few-shot Object Detection: A Detailed Survey. arXiv.
5. A comprehensive survey of few-shot learning: Evolution, applications, challenges, and opportunities10.1145/3582688 ↗
6. Few-shot object detection: Research advances and challenges10.1016/j.inffus.2024.102307 ↗
7. Wang, X., Huang, T.E., Darrell, T., Gonzalez, J.E., and Yu, F. (2020). Frustratingly simple few-shot object detection. arXiv.
8. Sun, B., Li, B., Cai, S., Yuan, Y., and Zhang, C. (2021, January 20–25). Fsce: Few-shot object detection via contrastive proposal encoding. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00727 ↗
9. Wu, J., Liu, S., Huang, D., and Wang, Y. (2020). Multiscale positive sample refinement for few-shot object detection. Proceedings of the Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, 23–28 August 2020, Proceedings, Part XVI 16, Springer.
10. Wu, X., Sahoo, D., and Hoi, S. (2020, January 12–16). Meta-rcnn: Meta learning for few-shot object detection. Proceedings of the 28th ACM International Conference on Multimedia, Seattle, WA, USA.10.1145/3394171.3413832 ↗
11. Fan, Q., Zhuo, W., Tang, C.K., and Tai, Y.W. (2020, January 13–19). Few-shot object detection with attention-RPN and multi-relation detector. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00407 ↗
12. Few-shot object detection and viewpoint estimation for objects in the wild
13. Few-shot learning for structural health diagnosis of civil infrastructure10.1016/j.aei.2024.102650 ↗
14. Few-shot learning based on hierarchical feature fusion via relation networks10.1016/j.ijar.2024.109186 ↗
15. Debiased contrastive learning
16. Woo, S., Park, J., Lee, J.Y., and Kweon, I.S. (2018, January 8–14). Cbam: Convolutional block attention module. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01234-2_1 ↗
17. Spatial pyramid pooling in deep convolutional networks for visual recognition10.1109/TPAMI.2015.2389824 ↗
18. Gao, Y., Lin, K.Y., Yan, J., Wang, Y., and Zheng, W.S. (2023, January 17–24). AsyFOD: An asymmetric adaptation paradigm for few-shot domain adaptive object detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00318 ↗
19. Wang, Z., Gao, Y., Liu, Q., and Wang, Y. (2024). Semantic Enhanced Few-shot Object Detection. arXiv.10.1109/ICIP51287.2024.10647133 ↗
20. Lu, X., Diao, W., Mao, Y., Li, J., Wang, P., Sun, X., and Fu, K. (2023, January 7–14). Breaking immutable: Information-coupled prototype elaboration for few-shot object detection. Proceedings of the AAAI Conference on Artificial Intelligence, Washington, DC, USA.10.1609/aaai.v37i2.25274 ↗
21. Wang, Z., Yang, B., Yue, H., and Ma, Z. (2024, January 20–27). Fine-Grained Prototypes Distillation for Few-Shot Object Detection. Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada.10.1609/aaai.v38i6.28399 ↗
22. Object detection in 20 years: A survey10.1109/JPROC.2023.3238524 ↗
23. Redmon, J. (2016, January 27–30). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
24. Faster R-CNN: Towards real-time object detection with region proposal networks10.1109/TPAMI.2016.2577031 ↗
25. A small-sized object detection oriented multiscale feature fusion approach with application to defect detection
26. Zhang, G., Luo, Z., Cui, K., and Lu, S. (2021). Meta-detr: Few-shot object detection via unified image-level meta-learning. arXiv.
27. Ghiasi, G., Lin, T.Y., and Le, Q.V. (2019, January 15–20). Nas-fpn: Learning scalable feature pyramid architecture for object detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00720 ↗
28. Yin, R., Zhao, W., Fan, X., and Yin, Y. (2020). AF-SSD: An accurate and fast single shot detector for high spatial remote sensing imagery. Sensors, 20.10.3390/s20226530 ↗
29. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
30. Generalized cross entropy loss for training deep neural networks with noisy labels
31. Feng, Z.H., Kittler, J., Awais, M., Huber, P., and Wu, X.J. (2018, January 18–23). Wing loss for robust facial landmark localisation with convolutional neural networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00238 ↗
32. The pascal visual object classes (voc) challenge10.1007/s11263-009-0275-4 ↗
33. Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C.L. (2014). Microsoft coco: Common objects in context. Proceedings of the Computer Vision–ECCV 2014: 13th European Conference, Zurich, Switzerland, 6–12 September 2014, Proceedings, Part V 13, Springer.
34. Improved mosaic: Algorithms for more complex images10.1088/1742-6596/1684/1/012094 ↗
35. Padilla, R., Netto, S.L., and Da Silva, E.A. (2020, January 1–3). A survey on performance metrics for object-detection algorithms. Proceedings of the 2020 International Conference on Systems, Signals and Image Processing (IWSSIP), Niteroi, Brazil.10.1109/IWSSIP48289.2020.9145130 ↗