Welcome to Journal of Graphics share: 

Journal of Graphics ›› 2026, Vol. 47 ›› Issue (1): 99-110.DOI: 10.11996/JG.j.2095-302X.2026010099

• Image Processing and Computer Vision • Previous Articles     Next Articles

BSD-YOLO: a small target vehicle detection method based on dynamic sparse attention and adaptive detection head

YANG Biao, WANG Xue, GUAN Zheng(), LONG Ping   

  1. School of Information Science and Engineering, Yunnan University, Kunming Yunnan 650504, China
  • Received:2025-06-16 Accepted:2025-08-18 Online:2026-02-28 Published:2026-03-16
  • Contact: GUAN Zheng
  • Supported by:
    National Natural Science Foundation of China(61761045);Yunnan Expert Workstation(202305AF150045)

Abstract:

In intelligent traffic monitoring systems, small target vehicle detection in complex scenes faces challenges such as low feature resolution, severe occlusion interference, computational redundancy, and insufficient bounding-box regression accuracy. To balance detection accuracy with deployment efficiency on edge devices, an improved YOLOv8 framework based on dynamic sparse attention and a lightweight dual-branch structure was proposed. The method first introduced a bidirectional routing sparse attention mechanism (ReBiAttention) that enhanced the retention of shallow features for small targets by dynamically filtering key features through a two-level routing strategy. Subsequently, GSConv and VoV-GSCSP modules were integrated to reduce computational cost while dynamically adjusting multi-scale feature weights. An improved DynamicHead was applied for multi-task adaptive optimization, and a modified ShapeIoU loss function with shape- and scale-aware weighting was employed to improve localization accuracy. Experiments on the UA-DETRAC dataset showed that, relative to baseline YOLOv8n, Precision, Recall, and mAP@0.5 increased by 8.739%, 1.685%, and 7.225%, respectively, while the parameter count decreased by 4.3%. This method provided an efficient solution for accurate detection of small-target vehicles in complex traffic scenarios.

Key words: YOLOv8, sparse attention, lightweight, deep learning, small target detection

CLC Number: