1. Introduction
Accurate traffic object detection is an important component of intelligent transportation systems (ITS), supporting traffic-flow monitoring, pedestrian and vehicle tracking, congestion analysis, autonomous driving, and road-safety management [
1]. With the increasing deployment of roadside cameras, unmanned aerial vehicles, and urban surveillance systems, traffic object detectors must process scenes containing substantial scale variation, complex backgrounds, partial occlusions, and densely distributed objects. These conditions are particularly challenging for small and distant targets because they occupy limited image regions and contain weak texture, boundary, and structural information.
Deep learning has substantially improved object detection performance. Two-stage detectors first generate candidate regions and then perform object classification and bounding-box regression. Faster R-CNN, for example, introduces a region proposal network that shares convolutional features with the detection network [
2]. Although two-stage detectors generally provide reliable localization, their sequential processing procedures may introduce additional inference overhead in real-time traffic-monitoring applications.
One-stage detectors directly predict object categories and bounding boxes from input images and therefore provide a more favorable balance between accuracy and computational efficiency. The YOLO family has progressively improved network architecture, multi-scale prediction, feature aggregation, and training strategies [
3,
4,
5,
6,
7]. YOLOv9 introduces the Generalized Efficient Layer Aggregation Network (GELAN) and Programmable Gradient Information (PGI) to improve feature aggregation and gradient propagation [
8]. These characteristics make YOLOv9 a suitable baseline for examining feature-enhancement strategies in dense traffic scenes.
Nevertheless, three limitations remain relevant to dense small traffic object detection. First, repeated downsampling reduces the spatial resolution of shallow features and may remove the weak textures and boundaries associated with small targets. Convolution operations using a single receptive field may also be insufficient to represent both local object details and surrounding context. Second, densely distributed pedestrians, bicycles, and vehicles frequently overlap or appear close to one another. Feature responses from adjacent objects may therefore become ambiguous, reducing classification and localization reliability. Third, fixed interpolation-based upsampling uses predefined sampling positions that do not adapt to object boundaries or local feature structures. Consequently, spatial information lost during downsampling may not be accurately reconstructed.
To address these limitations, this study proposes GAD-YOLO, a multi-level feature enhancement framework based on YOLOv9. The framework coordinates feature processing at three complementary stages. Ghost-MSConv is introduced into the backbone to extract lightweight multi-scale representations using different receptive fields. Mixed Local Channel Attention (MLCA) [
9] is employed during feature refinement to combine local spatial relationships with global channel dependencies. DySample [
10] replaces fixed upsampling with content-adaptive point sampling to improve spatial-detail reconstruction. Ghost-MSConv is the task-oriented feature-extraction component developed in this study, whereas MLCA and DySample are adopted existing operations. The methodological contribution therefore lies in their stage-specific coordination within the YOLOv9 feature hierarchy rather than in claiming that all three operations are individually new.
The proposed framework is first evaluated through comparative, ablation, class-wise, and qualitative experiments on a six-class traffic object dataset derived from UA-DETRAC. These experiments constitute the primary evaluation of the proposed architecture. To supplement the primary results and improve the public reproducibility of the evaluation, YOLOv9c and the complete GAD-YOLO model are additionally retrained and evaluated on VisDrone2019-DET, a public benchmark containing aerial images with substantial object-scale variation, dense object distributions, occlusion, truncation, and complex urban backgrounds [
11].
In the supplementary VisDrone evaluation, the terms “small” and “dense” are quantitatively defined. Object scales follow the COCO area criteria: objects with areas below pixels are defined as small, objects with areas from to pixels are defined as medium, and objects with areas above pixels are defined as large. Image density is determined from the number of annotated objects per image. Based on the test-dev distribution, images containing no more than 25 objects are treated as sparse, images containing 26–48 objects are treated as moderately dense, and images containing more than 48 objects are treated as dense.
The main contributions of this study are summarized as follows:
A stage-aligned feature enhancement architecture is constructed for dense small traffic object detection. The architecture coordinates lightweight multi-receptive-field extraction, local–global attention refinement, and content-adaptive spatial reconstruction at different positions in the YOLOv9 feature hierarchy.
A multi-scale feature extraction module, termed Ghost-MSConv, is developed for the backbone. It combines inexpensive Ghost feature generation [
12] with parallel receptive fields to preserve local textures and contextual structures before repeated downsampling. MLCA and DySample are subsequently placed at the feature-refinement and upsampling stages according to their respective functional roles.
Primary comparative and ablation experiments on the reannotated UA-DETRAC-derived dataset show that GAD-YOLO achieves an of 82.8% and an of 65.5%, outperforming YOLOv9c by 3.1 and 4.8 percentage points, respectively. Component-level and pairwise ablations further provide empirical evidence regarding the individual and complementary behavior of Ghost-MSConv, MLCA, and DySample under the archived training configurations.
Supplementary experiments on VisDrone2019-DET provide public-benchmark evidence under different categories, aerial viewpoints, object scales, and density distributions. GAD-YOLO improves and by 0.6 percentage points, increases from 6.72% to 7.31%, and increases dense-subset from 13.95% to 14.44%.
A standardized inference benchmark reports FP32 and FP16 latency, throughput, and peak GPU memory under a common RTX 4090 protocol. GAD-YOLO retains approximately 100 FPS under FP32 inference, while the measured results explicitly reveal the accuracy–efficiency trade-off introduced by the feature-enhancement operations.
3. Methodology
YOLOv9 combines the Generalized Efficient Layer Aggregation Network (GELAN) with Programmable Gradient Information (PGI) to improve feature aggregation and gradient propagation [
8]. Although this architecture provides a strong real-time detection baseline, repeated spatial downsampling may weaken the texture and boundary information of small objects, while fixed upsampling operations cannot adapt their sampling positions to local object structures.
GAD-YOLO retains the principal GELAN, PGI, feature-fusion, and detection structures of YOLOv9 and introduces three stage-specific modifications. First, Ghost-MSConv is used in selected early downsampling positions to generate intrinsic features and additional multi-receptive-field features with inexpensive depthwise operations. Second, Mixed Local Channel Attention (MLCA) is applied to the highest-level backbone feature before spatial-pyramid aggregation to combine local spatial responses with global channel dependencies. Third, the two nearest-neighbor upsampling operations in the top-down feature-fusion path are replaced by DySample, which predicts content-dependent sampling offsets.
The three components correspond to feature extraction, feature refinement, and spatial reconstruction, respectively. The original YOLOv9 detection objective is retained so that the architectural comparison is not confounded by changes to the loss formulation. Differences in the archived learning-rate settings are reported separately in
Section 4.1.
4. Experiments and Results
4.1. Primary Dataset and Original Experimental Setup
The primary experiments were conducted using a traffic object detection dataset derived from the UA-DETRAC benchmark [
24]. UA-DETRAC contains traffic-surveillance videos recorded under diverse road, illumination, weather, and traffic-density conditions. To reduce the redundancy of adjacent video frames and support multi-class traffic object detection, 8127 frames were sampled from the original videos and reannotated.
The reannotated dataset contains six traffic object categories: bus, car, bicycle, person, truck, and motorcycle. These images include distant objects, densely distributed targets, partial occlusions, and complex urban road backgrounds. Following the original experimental protocol, the dataset was divided into training, testing, and validation subsets using an approximate ratio of 7:2:1.
The archived materials do not retain sufficiently detailed records regarding the identities of the individual annotators or a formal inter-annotator agreement and annotation-quality verification protocol. Therefore, only the dataset-construction information that can be reliably verified from the archived materials is reported in this study. To reduce the reproducibility limitation associated with this historical reannotated dataset, an additional evaluation on the fully public VisDrone2019-DET benchmark is provided in
Section 4.7.
The validation subset contains 829 images and 13,123 annotated object instances.
Table 1 reports the number of instances in each category. The distribution is highly imbalanced, with cars accounting for most annotated objects, whereas bicycles and motorcycles occur considerably less frequently.
The original experiments were conducted on a Linux server equipped with two NVIDIA GeForce RTX 3090 GPUs (NVIDIA Corporation, Santa Clara, CA, USA), each with 24 GB of video memory. The server used an AMD EPYC 9754 processor (Advanced Micro Devices, Inc., Santa Clara, CA, USA) and 60 GB of system memory. The software environment included Python 3.8, PyTorch 2.0.0, and CUDA 11.8. Although two GPUs were installed on the server, the archived training configurations assigned each recorded run to a single GPU (
device=0). Therefore, the reported primary results correspond to single-GPU training rather than distributed two-GPU training. The hardware, software, and principal training configuration used in the primary experiments are summarized in
Table 2.
The archived experiments used the same dataset configuration, input resolution, training duration, batch size, optimizer type, data-augmentation configuration, loss weights, and random seed. The initial learning rate was set to 0.03 for the YOLOv9c baseline and the single-module configurations, 0.027 for the pairwise module combinations, and 0.025 for the complete GAD-YOLO model. In all cases, the learning rate was linearly reduced to 0.01 of its initial value by the end of training.
The common data-augmentation configuration included HSV perturbation with hue, saturation, and value factors of 0.015, 0.7, and 0.4, respectively; a translation factor of 0.1; a scale factor of 0.9; and a horizontal-flip probability of 0.5. Mosaic, MixUp, and Copy-Paste were applied with probabilities of 1.0, 0.15, and 0.30, respectively. Rotation, shear, perspective transformation, and vertical flipping were disabled. Mosaic augmentation was closed during the final 15 epochs.
The bounding-box regression, classification, and Distribution Focal Loss weights were set to 7.5, 0.5, and 1.5, respectively. All archived runs used a fixed random seed of 0. Consequently, the reported primary results represent the corresponding archived configurations rather than averages over repeated random seeds.
4.4. Ablation Study
Ablation experiments were conducted on the primary dataset to evaluate the individual and combined effects of Ghost-MSConv, MLCA, and DySample. Ghost-MSConv, MLCA, and the LP configuration of DySample are denoted by G, A, and D, respectively. In addition to the single-module experiments, all pairwise combinations and the complete three-module configuration were evaluated.
The principal training settings were shared across the ablation runs. However, the archived configurations used initial learning rates of 0.03 for the baseline and single-module models, 0.027 for the pairwise combinations, and 0.025 for the complete model. Therefore, the ablation results provide empirical evidence for the behavior of the architectural configurations under their archived training settings, rather than a strict architecture-only comparison with an identical initial learning rate. The detailed ablation results are summarized in
Table 4.
Ghost-MSConv increases from 79.7% to 80.5% and from 60.7% to 62.3%. It also increases precision from 73.5% to 77.3%. The parameter count decreases by 0.019 M, and the computational cost decreases by 1.0 GFLOPs. These results show that the proposed multi-receptive-field feature extraction improves detection performance without increasing model complexity.
The block-wise results show that MLCA has a context-dependent effect. When MLCA is introduced alone, precision increases from 73.5% to 77.7% and increases from 79.7% to 80.5%; however, recall decreases from 75.9% to 71.4%, and changes from 60.7% to 60.6%. When MLCA is combined with Ghost-MSConv, the G+A configuration reaches 82.3% and 64.2% , while the A + D configuration reaches 82.4% and 63.9%, respectively. The complete G + A + D configuration further increases these metrics to 82.8% and 65.5%. These results indicate that MLCA provides limited benefit as an isolated replacement but contributes more effectively when operating within the coordinated feature-extraction and reconstruction pipeline.
Among the individual modules, DySample produces the largest improvement in , increasing it from 79.7% to 81.6%. Its also increases by 1.9 percentage points. The parameter count increases by only 0.033 M, while the reported computational cost remains unchanged. These results support the use of content-adaptive sampling for recovering spatial information during feature upsampling.
The pairwise experiments reveal complementary performance characteristics. The combination of Ghost-MSConv and MLCA achieves the highest recall of 76.7%, indicating improved target coverage. The combination of Ghost-MSConv and DySample produces the highest precision of 81.5%, although its recall decreases to 73.2%.
The complete GAD-YOLO model achieves the highest of 82.8% and the highest of 65.5%. Compared with the baseline, the parameter count increases by only 0.013 M, whereas the reported computational cost decreases by 0.8 GFLOPs. The full model therefore provides the best overall balance among precision, recall, localization quality, and model complexity.
4.7. Supplementary Evaluation on VisDrone2019-DET
The primary comparative, ablation, and class-wise experiments were conducted on the reannotated UA-DETRAC-derived dataset. To examine the behavior of the complete GAD-YOLO architecture on a public benchmark with different categories, aerial viewpoints, object scales, and density distributions, an additional controlled experiment was conducted on VisDrone2019-DET [
11].
This experiment is intended as supplementary cross-dataset evidence rather than a replacement for the primary experiments. YOLOv9c and the complete GAD-YOLO model were retrained from scratch under the same VisDrone protocol. The individual modules were not separately retrained in this supplementary experiment.
4.7.1. Dataset and Additional Experimental Setup
VisDrone2019-DET contains ten valid detection categories: pedestrian, people, bicycle, car, van, truck, tricycle, awning-tricycle, bus, and motor. During preprocessing, these categories were mapped to class indices from 0 to 9. Annotations corresponding to ignored regions and the “others” category were excluded.
The official training, validation, and test-dev partitions were retained. The converted dataset contains 6471 training images, 548 validation images, and 1610 test-dev images. The corresponding numbers of retained object instances are 343,204, 38,759, and 75,102, respectively. The image and object-instance statistics of the three official subsets are summarized in
Table 6.
According to the COCO object-area criteria, the test-dev subset contains 50,816 small objects, 21,876 medium objects, and 2410 large objects. Small objects account for 67.66% of all test-dev instances. The corresponding object-size distribution is summarized in
Table 7.
Among the 75,102 test-dev objects, 42,219 are labeled as unoccluded, 25,894 as partially occluded, and 6989 as heavily occluded. In addition, 3269 objects are marked as truncated.
The additional experiments were performed on an Ubuntu Linux server equipped with one NVIDIA GeForce RTX 4090 GPU (NVIDIA Corporation, Santa Clara, CA, USA). The software environment consisted of Python 3.10.20, PyTorch 2.2.2, and CUDA 12.1. YOLOv9c and GAD-YOLO were trained from scratch for 220 epochs using an input resolution of , a batch size of 8, the Adam optimizer, an initial learning rate of 0.03, and a fixed random seed of 0. No pretrained weights were used. Mosaic augmentation was disabled during the final 15 epochs.
Because repeated VisDrone experiments with multiple random seeds were not conducted, the supplementary results represent performance under the fixed experimental configuration and are not used to claim statistical significance.
5. Discussion
5.6. Limitations
Several limitations should be considered when interpreting the results. The primary experiments were conducted on a six-class reannotated subset derived from UA-DETRAC. Although the original UA-DETRAC benchmark is publicly available and the archived model configurations, trained weights, training records, and experimental results have been retained, the exact historical image subset, source-video mapping, and complete split manifest are no longer available. Consequently, strict video-sequence-level independence among the archived training, validation, and test subsets cannot be retrospectively verified. To provide additional publicly reproducible evidence independent of this historical split, the present study includes supplementary experiments on VisDrone2019-DET using its official data partitions and a fully specified training and evaluation protocol.
The archived primary experiments were conducted using a fixed random seed of 0, and repeated multi-seed training was not available. Deep-learning training can nevertheless be affected by stochastic and configuration-dependent factors, including data splitting, weight initialization, data ordering, data augmentation, and optimization-related variations. Therefore, the present single-seed results do not permit the variance or statistical significance of the reported performance differences to be quantified. The reported improvements are consequently interpreted as empirical observations under the fixed experimental configuration rather than as statistically significant effects.
Previous empirical studies have also demonstrated that deep-learning performance can vary with labeled-data availability, class distribution, training conditions, and data augmentation strategies [
29,
30,
31]. These findings further support a cautious interpretation of results obtained from a single training configuration. In particular, the comparatively large improvement for the bicycle category should not be interpreted as a statistically stable minority-class advantage without repeated multi-seed evaluation.
Finally, the current supplementary evaluation is limited to VisDrone2019-DET and does not establish universal generalization across all traffic-monitoring domains. Other detector families, including Transformer-based and two-stage detectors, were not retrained under the same supplementary protocol. Moreover, the standardized runtime evaluation was conducted on a single NVIDIA GeForce RTX 4090 GPU using PyTorch 2.2.2 and should therefore be regarded as hardware- and framework-specific.
These limitations define the scope within which the present results should be interpreted. In particular, no claim of statistical significance is made from the current fixed-seed experiments. Multi-seed evaluation on fully reproducible datasets, broader cross-family comparisons, and deployment-oriented evaluation on embedded or edge-computing platforms would provide additional validation beyond the evidence reported in the present study.
6. Conclusions
This study proposes GAD-YOLO, a stage-aligned feature-enhancement framework for dense small traffic object detection. The architecture introduces Ghost-MSConv into early feature extraction, MLCA into high-level feature refinement, and DySample into top-down feature reconstruction.
In the primary experiments on a six-class traffic object dataset derived from UA-DETRAC, GAD-YOLO achieved a precision of 78.9%, a recall of 76.4%, an of 82.8%, and an of 65.5%. Compared with YOLOv9c, these metrics increased by 5.4, 0.5, 3.1, and 4.8 percentage points, respectively. The primary ablation experiments further provided empirical evidence of complementary behavior among Ghost-MSConv, MLCA, and DySample under the archived training configurations, with the complete model achieving the strongest overall AP results.
Supplementary experiments on VisDrone2019-DET produced modest positive performance differences under the fixed experimental setting. increased from 26.5% to 27.1%, while increased from 15.7% to 16.3%. The COCO-style evaluation showed that increased from 6.72% to 7.31%, and the dense-subset increased from 13.95% to 14.44%.
These supplementary results should be interpreted cautiously. Only one training seed was evaluated, large-object AP decreased, the truck category did not improve, and the magnitude of the VisDrone gain was smaller than that observed on the primary dataset. The current evidence therefore supports dataset-specific performance improvements under the evaluated configurations, rather than a universal advantage for dense small- object detection.
Under FP32 inference on an RTX 4090, GAD-YOLO achieved a mean forward-pass latency of 9.98 ms and a throughput of 100.20 FPS. Although the model is slower than YOLOv9c in the standardized benchmark, it retains real-time inference capability.
The current results support the effectiveness of GAD-YOLO under the evaluated UA-DETRAC-derived and VisDrone2019-DET settings, but they do not establish universal effectiveness across dense small-object detection tasks. The conclusions are therefore restricted to the fixed-seed and dataset-specific experimental conditions reported in this study. Further validation using multi-seed experiments, additional public benchmarks, broader detector families, and embedded or edge-computing platforms would help determine the stability and generalization scope of the observed improvements.