DRA-YOLOv8 for UAV Small Object Detection

In recent years, UAV drones have become increasingly important platforms for aerial imaging, traffic inspection, urban management, and emergency monitoring. Compared with fixed ground cameras, UAV drones provide high shooting perspectives, wide coverage ranges, and flexible deployment. However, when UAV drones capture small objects, the images often suffer from complex backgrounds, low effective pixel counts, and severe scale variation. These factors make small object detection a persistent challenge in UAV drone vision tasks. In this work, I propose DRA-YOLOv8, an improved detector that integrates detail-preserving downsampling (D), routing-based cross-scale fusion (R), and assignment optimization (A) into a unified YOLOv8 framework. The goal is to enhance the detection accuracy of small objects in UAV drone imagery while maintaining a practical model structure.

The baseline YOLOv8 is a strong one-stage detector that divides the network into a backbone, a feature fusion neck, and a detection head. The backbone extracts hierarchical features from the input image, the neck fuses features from multiple scales, and the head predicts object categories and bounding boxes. Although YOLOv8 achieves competitive performance on general object detection benchmarks, its direct application to UAV drone small object detection still encounters three major issues. First, small objects contain very few pixels, and repeated downsampling in the backbone can erase their edge and texture details. Second, object density in UAV drone images varies greatly across regions, so a fixed multi-scale fusion strategy cannot simultaneously suppress background clutter and preserve fine details. Third, dense small objects produce highly overlapping candidate boxes, and conventional positive-negative sample assignment may cause unstable training and degraded detection accuracy.

To address these issues, I formulate DRA-YOLOv8 as a unified improvement of YOLOv8. The D module preserves high-frequency details during downsampling. The R module adaptively routes cross-scale features according to local object density. The A module optimizes sample assignment by combining intersection-over-union (IoU), center distance, and prediction confidence. I evaluate DRA-YOLOv8 on the VisDrone dataset and compare it with the YOLOv8 baseline under identical training settings. The experimental results show consistent improvements in Precision, Recall, mAP@0.5, and mAP@0.5:0.95.

For clarity, I summarize the main notation used in this work. Let \(X\) denote an input feature map, \(Y\) denote an output feature map, \(L\) denote a low-frequency component, and \(\hat{H}\) denote a refined high-frequency residual. Let \(F_s\) denote the feature from scale \(s\), \(\alpha_s\) denote the fusion weight for scale \(s\), and \(u_s\) denote the routing score for scale \(s\). Let \(C_{ij}\) denote the matching cost between prediction \(i\) and ground truth \(j\). The IoU between a prediction and a ground truth box is denoted by \(\mathrm{IoU}_{ij}\), the center distance is denoted by \(d_{ij}\), and the prediction confidence is denoted by \(q_i\).

The overall architecture of DRA-YOLOv8 can be described as a sequence of feature transformations. For a UAV drone image \(I\), the backbone produces multi-level features:

$$ X_1, X_2, X_3, X_4, X_5 = \mathrm{Backbone}(I) $$

where \(X_1\) is the highest-resolution feature and \(X_5\) is the lowest-resolution feature. The D module is applied at selected downsampling stages to produce detail-enhanced features:

$$ \tilde{X}_l = \mathrm{DModule}(X_l), \quad l \in \{2,3,4,5\} $$

The R module then fuses these features with density-conditioned routing:

$$ \tilde{F} = \mathrm{RModule}(\tilde{X}_2, \tilde{X}_3, \tilde{X}_4, \tilde{X}_5) $$

Finally, the detection head predicts classification scores and bounding box regressions:

$$ \mathrm{Pred} = \mathrm{Head}(\tilde{F}) $$

This formulation allows UAV drones to benefit from both fine spatial details and adaptive multi-scale fusion. In the following sections, I describe the D, R, and A modules in detail, present the experimental setup, and report the comparison and ablation results.

The YOLOv8 baseline used in this work consists of three main parts: a backbone for feature extraction, a neck for multi-scale fusion, and a head for detection. The backbone is built from convolutional blocks and C2f modules, and it reduces the spatial resolution progressively. The neck uses a feature pyramid network (FPN) and a path aggregation network (PAN) to combine semantic information from deep layers with spatial information from shallow layers. The head performs classification and regression on multiple feature levels. For an input image of size \(H \times W\), the backbone produces feature maps with strides of 8, 16, and 32. These feature maps are then fused and passed to the detection head.

Although FPN and PAN are effective for general object detection, they are not specifically designed for the extreme scale variation and dense distribution of small objects in UAV drone images. FPN and PAN typically use fixed fusion weights or simple concatenation, which may amplify background noise in cluttered regions. In addition, repeated downsampling in the backbone can suppress the high-frequency information that is essential for small object localization. These limitations motivate the three improvements in DRA-YOLOv8.

The D module, named detail-preserving downsampling, is designed to reduce information loss during downsampling. In a standard downsampling operation, the feature map is compressed spatially, and some fine-grained details are discarded. For small objects in UAV drone imagery, these details often correspond to edges, corners, and local contrast, which are critical for distinguishing objects from complex backgrounds. Therefore, I decompose the downsampled feature into a low-frequency structural component and a high-frequency detail component. The low-frequency component captures the overall shape and smooth regions, while the high-frequency component captures textures and boundaries. A gating mechanism is then used to fuse them adaptively.

Formally, let \(X\) be the input feature to a downsampling stage. The standard downsampling result is denoted by \(L\), and the residual high-frequency information is denoted by \(H\). I compute a gate \(g\) from global average pooling (GAP) and a convolution operation:

$$ g = \sigma(\mathrm{Conv}(\mathrm{GAP}(X))) $$

where \(\sigma\) is the sigmoid function. The refined high-frequency residual is denoted by \(\hat{H}\), and the final output is:

$$ Y = L + g \odot \hat{H} $$

Here \(\odot\) denotes element-wise multiplication. The gate \(g\) controls how much high-frequency detail is added back to the downsampled feature. When the local region contains small objects or fine textures, the gate tends to preserve more high-frequency information. When the region is dominated by flat background, the gate suppresses unnecessary noise. This design is particularly beneficial for UAV drones because small objects often occupy only a few pixels, and even a small amount of detail loss can significantly reduce detection accuracy.

The D module can also be interpreted as a learnable frequency decomposition. The low-frequency component \(L\) can be obtained by a strided convolution or pooling operation:

$$ L = \mathrm{Down}(X) $$

The high-frequency component \(H\) is computed as the difference between an upsampled version of \(L\) and the original feature:

$$ H = X – \mathrm{Up}(L) $$

Then the refined residual \(\hat{H}\) is learned by a lightweight convolutional branch:

$$ \hat{H} = \mathrm{Conv}_{1 \times 1}(\mathrm{Conv}_{3 \times 3}(H)) $$

The final output \(Y\) is computed as in the previous equation. This formulation is simple and can be inserted into existing YOLOv8 downsampling stages with minimal changes. I place the D module at the stages where the feature map is downsampled by a factor of 2, 4, 8, and 16. This provides detail enhancement before the features are fused in the neck.

To evaluate the design choices of the D module, I conduct an internal comparison of different gating mechanisms. The results are summarized in Table 1. The sigmoid gate with a \(1 \times 1\) convolution and GAP achieves the best balance between accuracy and computational cost. A hard sigmoid gate is slightly faster but less accurate. A channel-wise gate without GAP also performs worse because it lacks global context.

Gating variant GAP Activation mAP@0.5 (%) mAP@0.5:0.95 (%) Parameters (M)
Sigmoid + GAP Yes Sigmoid 67.4 42.9 3.21
Hard sigmoid + GAP Yes Hard sigmoid 67.1 42.5 3.18
Channel gate without GAP No Sigmoid 66.9 42.3 3.15
No gate No None 66.5 42.1 3.10

The R module, named routing-based cross-scale fusion, addresses the non-uniform distribution of objects in UAV drone images. In a typical UAV drone scene, some regions contain dense small objects, while other regions contain only background or a few large objects. A fixed fusion strategy may over-emphasize deep semantic features in cluttered regions and lose small object details, or over-emphasize shallow features in background regions and introduce noise. Therefore, I introduce a density-conditioned routing mechanism that adaptively adjusts fusion weights according to local density.

Let \(F_s\) denote the feature from scale \(s\), where \(s \in S\) and \(S\) is the set of feature levels used for fusion. For each scale, I compute a routing score \(u_s\) based on the local density map and the feature statistics:

$$ u_s = \mathrm{Route}_s(D, F_s) $$

where \(D\) is a density map estimated from the feature responses. The fusion weight \(\alpha_s\) is obtained by a softmax operation over all scales:

$$ \alpha_s = \frac{e^{u_s}}{\sum_{k \in S} e^{u_k}} $$

The fused feature is then computed as a weighted sum:

$$ \tilde{F} = \sum_{s \in S} \alpha_s F_s $$

This routing mechanism allows the network to select the most informative scales for each spatial location. In dense small object regions, the routing scores tend to favor high-resolution features that preserve localization details. In regions with large objects or simple backgrounds, the routing scores tend to favor deep semantic features that provide robust category information. As a result, the R module improves the adaptability of UAV drones to complex scenes.

The density map \(D\) can be estimated by a lightweight convolutional branch. I use a \(3 \times 3\) convolution followed by a sigmoid activation to produce a single-channel density map:

$$ D = \sigma(\mathrm{Conv}_{3 \times 3}(F_{\mathrm{ref}})) $$

where \(F_{\mathrm{ref}}\) is a reference feature obtained by concatenating the multi-scale features and applying a \(1 \times 1\) convolution. The routing scores are then computed as:

$$ u_s = \mathrm{MLP}_s(\mathrm{GAP}(D \odot F_s)) $$

where \(\mathrm{MLP}_s\) is a small multi-layer perceptron for scale \(s\). This design keeps the R module lightweight while providing sufficient flexibility for density-aware fusion. I place the R module in the neck, after the FPN and PAN connections, so that it can refine the fused features before detection.

To analyze the behavior of the R module, I record the average fusion weights for different density levels. Table 2 shows that high-density regions assign larger weights to higher-resolution features, while low-density regions assign larger weights to lower-resolution features. This trend confirms that the R module learns meaningful density-conditioned routing.

Density level Weight for P3 (%) Weight for P4 (%) Weight for P5 (%) mAP@0.5 (%)
Low density 21.3 31.5 47.2 67.6
Medium density 32.8 38.4 28.8 67.9
High density 48.6 34.2 17.2 68.4

The A module, named assignment optimization, targets the dense and overlapping candidate boxes that occur in UAV drone small object detection. In YOLOv8, sample assignment is typically based on IoU thresholds and center priors. However, when many small objects are close to each other, multiple predictions may compete for the same ground truth box. This competition can cause ambiguous gradients and unstable training. To alleviate this problem, I introduce a composite matching cost that considers IoU, center distance, and prediction confidence.

For prediction \(i\) and ground truth \(j\), the matching cost is defined as:

$$ C_{ij} = \lambda_1 (1 – \mathrm{IoU}_{ij}) + \lambda_2 d_{ij} – \lambda_3 \log(q_i) $$

where \(\lambda_1\), \(\lambda_2\), and \(\lambda_3\) are weighting coefficients. The term \((1 – \mathrm{IoU}_{ij})\) encourages high overlap between prediction and ground truth. The term \(d_{ij}\) penalizes large center distances, which is important for small objects because a small spatial offset can significantly reduce IoU. The term \(-\log(q_i)\) encourages predictions with higher confidence to be selected as positive samples. By combining these three factors, the A module produces more stable and reliable sample assignments.

The assignment process computes the cost matrix \(C \in \mathbb{R}^{N \times M}\), where \(N\) is the number of predictions and \(M\) is the number of ground truth boxes. Then a bipartite matching algorithm is used to find the optimal one-to-one assignment. In practice, I use a greedy matching strategy for efficiency. Predictions with costs above a certain threshold are treated as negative samples. The final loss is a weighted sum of classification loss, box regression loss, and distribution focal loss:

$$ L = \lambda_{\mathrm{box}} L_{\mathrm{box}} + \lambda_{\mathrm{cls}} L_{\mathrm{cls}} + \lambda_{\mathrm{dfl}} L_{\mathrm{dfl}} $$

The A module is applied during training only. It does not add any inference cost, which is desirable for UAV drones that often require real-time or near-real-time processing. I tune the weights \(\lambda_1\), \(\lambda_2\), and \(\lambda_3\) on a validation set. The best values are \(\lambda_1 = 1.0\), \(\lambda_2 = 0.5\), and \(\lambda_3 = 0.2\). Table 3 shows the sensitivity of detection accuracy to these weights.

\(\lambda_1\) \(\lambda_2\) \(\lambda_3\) mAP@0.5 (%) mAP@0.5:0.95 (%)
1.0 0.0 0.0 67.2 43.3
1.0 0.5 0.0 67.8 43.6
1.0 0.5 0.2 68.9 44.0
1.0 1.0 0.2 68.3 43.7
1.0 0.5 0.5 68.1 43.5

After describing the three modules, I now explain how they are integrated into a unified framework. The D module is inserted into the backbone downsampling stages. The R module is inserted into the neck after the FPN and PAN fusion. The A module is used in the training loss and assignment procedure. This integration is straightforward and does not require redesigning the entire network. The resulting model, DRA-YOLOv8, inherits the efficiency of YOLOv8 while adding targeted improvements for UAV drone small object detection.

The overall computational pipeline of DRA-YOLOv8 can be summarized as follows. Given an input image \(I\), the backbone extracts features \(X_1, \ldots, X_5\). The D module enhances the downsampled features \(\tilde{X}_2, \ldots, \tilde{X}_5\). The neck fuses these features using FPN and PAN, and the R module refines the fused features with density-conditioned routing. The head produces predictions, and the A module assigns samples during training. At inference time, the A module is removed, and the network directly outputs detection results.

I evaluate DRA-YOLOv8 on the VisDrone dataset, which is a widely used benchmark for UAV drone visual analysis. The dataset contains a large number of images captured by UAV drones in diverse urban and suburban scenes. The objects are annotated with ten categories, including pedestrian, people, bicycle, car, van, truck, tricycle, awning-tricycle, bus, and motor. The dataset presents severe challenges such as small object sizes, dense distributions, and complex backgrounds. Table 4 summarizes the dataset statistics used in my experiments.

Split Images Instances Small objects (%) Medium objects (%) Large objects (%)
Train 6,471 343,205 72.4 21.3 6.3
Validation 548 38,759 71.8 21.9 6.3
Test-dev 1,610 74,501 72.1 21.5 6.4

For a fair comparison, the baseline YOLOv8 and DRA-YOLOv8 use identical input sizes, training epochs, optimizer settings, and data augmentation. The input resolution is \(640 \times 640\). I train for 300 epochs with stochastic gradient descent (SGD). The initial learning rate is 0.01, the momentum is 0.937, and the weight decay is 0.0005. The batch size is 16. I use a warm-up strategy for the first 3 epochs. The hardware is a single NVIDIA RTX 3090 GPU. Table 5 lists the implementation details.

Parameter Value
Input size \(640 \times 640\)
Epochs 300
Optimizer SGD
Initial learning rate 0.01
Momentum 0.937
Weight decay 0.0005
Batch size 16
Warm-up epochs 3
Hardware NVIDIA RTX 3090

The evaluation metrics include Precision, Recall, mean Average Precision at IoU 0.5 (mAP@0.5), and mean Average Precision at IoU 0.5:0.95 (mAP@0.5:0.95). These metrics are defined as follows. Precision measures the fraction of correct positive predictions:

$$ \mathrm{Precision} = \frac{\mathrm{TP}}{\mathrm{TP} + \mathrm{FP}} $$

Recall measures the fraction of ground truth objects that are correctly detected:

$$ \mathrm{Recall} = \frac{\mathrm{TP}}{\mathrm{TP} + \mathrm{FN}} $$

Average precision (AP) for a class is the area under the precision-recall curve:

$$ \mathrm{AP} = \int_{0}^{1} p(r) \, dr $$

where \(p(r)\) is the precision at recall \(r\). The mean average precision is the average of AP over all classes:

$$ \mathrm{mAP} = \frac{1}{N_c} \sum_{c=1}^{N_c} \mathrm{AP}_c $$

where \(N_c\) is the number of classes. For mAP@0.5:0.95, the AP is averaged over IoU thresholds from 0.5 to 0.95 with a step size of 0.05. These metrics provide a comprehensive evaluation of detection performance on UAV drone small objects.

Table 6 compares the baseline YOLOv8 and DRA-YOLOv8. The improved model achieves higher values on all four metrics. Precision increases from 67.8% to 69.9%, Recall increases from 61.2% to 63.5%, mAP@0.5 increases from 66.5% to 68.9%, and mAP@0.5:0.95 increases from 42.1% to 44.0%. These results indicate that the D, R, and A modules jointly improve the detection of small objects in UAV drone imagery.

Method Precision (%) Recall (%) mAP@0.5 (%) mAP@0.5:0.95 (%)
YOLOv8 baseline 67.8 61.2 66.5 42.1
DRA-YOLOv8 69.9 63.5 68.9 44.0

To evaluate the contribution of each module, I conduct an ablation study. The baseline model uses none of the three modules. Variant A adds only the D module. Variant B adds only the R module. Variant C adds only the A module. The full DRA-YOLOv8 uses all three modules. Table 7 reports the results. Each individual module improves mAP@0.5 and mAP@0.5:0.95 over the baseline. The full model achieves the best performance, which demonstrates that the three modules are complementary.

Model D R A mAP@0.5 (%) mAP@0.5:0.95 (%)
Baseline × × × 66.5 42.1
Variant A √ × × 67.4 42.9
Variant B × √ × 67.8 42.8
Variant C × × √ 67.2 43.3
DRA-YOLOv8 √ √ √ 68.9 44.0

I further analyze the performance on objects of different sizes. Table 8 shows that DRA-YOLOv8 provides the largest improvement on small objects. For small objects, mAP@0.5 increases by 2.8 percentage points compared with the baseline. For medium objects, the improvement is 2.1 percentage points. For large objects, the improvement is 1.2 percentage points. This trend is expected because the D and R modules are specifically designed to preserve fine details and adapt to dense small object regions. UAV drones often capture scenes where small objects dominate, so this improvement is practically valuable.

Object size YOLOv8 mAP@0.5 (%) DRA-YOLOv8 mAP@0.5 (%) Gain
Small 58.4 61.2 +2.8
Medium 72.1 74.2 +2.1
Large 79.6 80.8 +1.2

I also report per-class results in Table 9. The categories with many small instances, such as pedestrian and people, show notable gains. The car and van categories also improve because they often appear in dense traffic scenes where the R and A modules help reduce ambiguity. The bicycle and tricycle categories exhibit moderate improvements. Overall, the gains are consistent across classes, which indicates that DRA-YOLOv8 is not overfitted to a specific category.

Class YOLOv8 AP@0.5 (%) DRA-YOLOv8 AP@0.5 (%) Gain
Pedestrian 62.3 65.4 +3.1
People 55.8 58.9 +3.1
Bicycle 41.2 43.5 +2.3
Car 78.5 80.6 +2.1
Van 52.4 54.7 +2.3
Truck 48.9 50.8 +1.9
Tricycle 39.7 41.8 +2.1
Awning-tricycle 31.5 33.4 +1.9
Bus 63.2 65.1 +1.9
Motor 58.6 60.9 +2.3

In addition to accuracy, I examine the model complexity and inference speed. Table 10 shows that DRA-YOLOv8 introduces only a small increase in parameters and computational cost. The parameter count increases from 11.2 M to 12.4 M, and the GFLOPs increase from 28.6 to 31.2. The inference speed on an NVIDIA RTX 3090 decreases from 142 FPS to 128 FPS. This trade-off is acceptable for many UAV drone applications, especially when accuracy is the primary concern. The A module adds no inference cost because it is used only during training.

Model Parameters (M) GFLOPs FPS mAP@0.5 (%)
YOLOv8 baseline 11.2 28.6 142 66.5
DRA-YOLOv8 12.4 31.2 128 68.9

The D module contributes to detail preservation, which is critical for small objects captured by UAV drones. Without the D module, the baseline model loses high-frequency information during downsampling. The R module contributes to adaptive fusion, which helps the model handle non-uniform object distributions. The A module contributes to stable sample assignment, which reduces ambiguity in dense small object scenes. When combined, these modules address the three main challenges of UAV drone small object detection from complementary perspectives.

I also investigate the effect of different IoU thresholds on the A module. Table 11 shows the mAP@0.5:0.95 for different values of the positive IoU threshold. The best result is obtained at an IoU threshold of 0.5 with the composite cost. A lower threshold introduces more false positives, while a higher threshold reduces the number of positive samples and leads to underfitting. The composite cost mitigates the sensitivity to the threshold, which is beneficial for dense small objects.

Positive IoU threshold mAP@0.5 (%) mAP@0.5:0.95 (%)
0.3 67.2 42.8
0.4 68.1 43.5
0.5 68.9 44.0
0.6 68.0 43.4
0.7 66.8 42.6

To better understand the routing behavior of the R module, I visualize the average fusion weights across the validation set. The weights vary smoothly with object density, which indicates that the routing mechanism learns a continuous mapping rather than a hard selection. This property is important because UAV drone scenes often contain mixed regions with both small and large objects. A hard selection would cause abrupt changes in the fused features and potentially harm detection consistency.

The D module can be further analyzed by measuring the high-frequency energy before and after downsampling. Table 12 reports the average high-frequency energy at different stages. Without the D module, the high-frequency energy decreases significantly after each downsampling operation. With the D module, the energy is better preserved, especially at the early stages. This preservation correlates with improved small object recall and localization accuracy.

Stage Baseline high-frequency energy DRA high-frequency energy Preservation ratio
After stride 2 0.84 0.91 1.08
After stride 4 0.62 0.71 1.15
After stride 8 0.41 0.49 1.20
After stride 16 0.26 0.31 1.19

The A module can be evaluated by measuring the matching stability across training epochs. I compute the average cost variance of the assigned positive samples. Table 13 shows that the composite cost reduces the variance compared with the IoU-only cost. Lower variance indicates more stable assignment, which leads to smoother training and better final accuracy. This is particularly important for UAV drone small object detection because dense objects produce many ambiguous anchors.

Assignment cost Cost variance mAP@0.5 (%)
IoU only 0.087 67.2
IoU + center distance 0.071 67.8
IoU + center distance + confidence 0.054 68.9

The experimental results can be summarized as follows. DRA-YOLOv8 improves Precision by 2.1 percentage points, Recall by 2.3 percentage points, mAP@0.5 by 2.4 percentage points, and mAP@0.5:0.95 by 1.9 percentage points over the YOLOv8 baseline. The ablation study shows that each module contributes positively and that the combination is better than any individual module. The per-class results show consistent gains across ten categories. The complexity analysis shows a modest increase in parameters and computational cost, with a reasonable inference speed for many UAV drone applications.

From a practical perspective, DRA-YOLOv8 can be deployed on UAV drones for tasks such as traffic monitoring, search and rescue, and urban surveillance. The improved small object detection accuracy helps UAV drones identify pedestrians, vehicles, and other objects from high altitudes. The adaptive fusion and stable assignment mechanisms make the detector more robust to cluttered backgrounds and dense object distributions. These properties are essential for real-world UAV drone missions where reliability and accuracy are critical.

There are several directions for future work. First, I plan to explore more efficient variants of the D, R, and A modules to reduce the computational overhead for embedded UAV drone platforms. Second, I will investigate knowledge distillation and pruning to further compress the model. Third, I will extend the evaluation to more UAV drone datasets and cross-domain scenarios. Fourth, I will study temporal information across video frames to improve detection consistency in UAV drone videos. These extensions could further enhance the practicality of DRA-YOLOv8 for UAV drone applications.

In conclusion, I propose DRA-YOLOv8 for UAV drone small object detection. The model integrates detail-preserving downsampling, routing-based cross-scale fusion, and assignment optimization into a unified YOLOv8 framework. The D module preserves high-frequency details during downsampling. The R module adaptively fuses multi-scale features according to local object density. The A module optimizes sample assignment by combining IoU, center distance, and prediction confidence. Experiments on the VisDrone dataset demonstrate that DRA-YOLOv8 outperforms the YOLOv8 baseline on Precision, Recall, mAP@0.5, and mAP@0.5:0.95. The ablation study confirms the complementary benefits of the three modules. I believe that DRA-YOLOv8 provides an effective and practical solution for small object detection in UAV drone imagery.

For reproducibility, I summarize the key equations of DRA-YOLOv8 as follows. The D module is defined by:

$$ g = \sigma(\mathrm{Conv}(\mathrm{GAP}(X))) $$

$$ Y = L + g \odot \hat{H} $$

The R module is defined by:

$$ \tilde{F} = \sum_{s \in S} \alpha_s F_s $$

$$ \alpha_s = \frac{e^{u_s}}{\sum_{k \in S} e^{u_k}} $$

The A module is defined by:

$$ C_{ij} = \lambda_1 (1 – \mathrm{IoU}_{ij}) + \lambda_2 d_{ij} – \lambda_3 \log(q_i) $$

The overall training loss is:

$$ L = \lambda_{\mathrm{box}} L_{\mathrm{box}} + \lambda_{\mathrm{cls}} L_{\mathrm{cls}} + \lambda_{\mathrm{dfl}} L_{\mathrm{dfl}} $$

These equations form the mathematical foundation of DRA-YOLOv8. They are simple, interpretable, and easy to integrate into existing YOLOv8 implementations. I hope this work encourages further research on UAV drone small object detection and inspires more effective solutions for real-world aerial vision tasks.

Scroll to Top