Collaborative Enhancement of Tiny Defect Detection in Power Systems Using China UAV Aerial Images

Unmanned aerial vehicles (UAVs) have revolutionized power transmission line inspection across China, offering high safety, low cost, and excellent maneuverability. However, the fine-grained defects on insulators, bolts, and conductors captured by high-altitude China UAV cameras are extremely small—often below 32×32 pixels—and suffer from severe feature loss during conventional convolutional downsampling. In this work, we propose an improved YOLOv8 detection model that synergistically combines a front-end lossless downsampling module (SPD-Conv) with a dedicated back-end high-resolution detection head. The proposed strategy preserves fine-grained spatial details from the shallow layers and effectively parses them through an augmented multi-scale feature fusion network. Extensive experiments on the VisDrone2019 benchmark, a dataset that mimics the aerial viewpoint and small-object characteristics of real China UAV power line inspection, demonstrate that our model achieves a mean average precision (mAP) of 38.75% with only 4.24 million parameters and 233 FPS inference speed. The method outperforms several mainstream lightweight detectors, including TIB-Net, YOLOv5s, and YOLOv7-tiny, while maintaining real-time performance suitable for edge deployment on China UAV platforms.

1. Introduction

Power transmission networks require regular inspection of critical components such as insulators, fittings, and conductors. Traditional manual inspection and manned helicopter methods are inefficient, costly, and risky. China has widely adopted UAVs for automated power line inspection, but the massive volume of high-resolution aerial images demands intelligent, real-time defect detection algorithms. The primary challenge lies in detecting tiny defects—cracks, rust spots, and broken strands—that occupy only a few pixels in the image. Standard object detectors like YOLOv8 use strided convolutions that aggressively downsample feature maps, leading to irreversible loss of fine-grained information. To address this, we propose a collaborative enhancement strategy that maintains feature fidelity in the shallow layers and adds a dedicated high-resolution detection head to exploit those preserved details.

2. Related Work

UAV-based object detection has been extensively studied. Sun et al. introduced TIB-Net for tiny face detection with a cyclic path attention mechanism. Ye et al. developed a lightweight feature-enhanced network for real-time low-altitude object warning. Wastupranata and Munir explored web-based deployment. He et al. used Res2Net and hierarchical multi-scale fusion for complex backgrounds. In power equipment inspection, YOLO-family algorithms dominate. Peng et al. improved YOLOv4 for overhead line faults. Ma et al. and Liu et al. incorporated attention into PP-YOLO and YOLOv5 to handle occlusion. Zhang et al. proposed a lightweight YOLOv7 for insulator defect detection with depthwise separable convolution. Wang et al. designed DCP-YOLOv8 using deformable convolution and reparameterization for transmission line multi-type defects. However, most methods overlook the extreme scale of tiny defects; the standard 32× downsampling structure loses features smaller than 32×32 pixels. Sunkara and Luo introduced SPD-Conv as a replacement for strided convolutions, which preserves spatial information by mapping space to depth. Gu et al. replaced all stride layers in YOLOv5 with SPD-Conv and gained 7.63% mAP improvement on dense small objects. Inspired by these works, we extend the idea to YOLOv8 and combine it with a new high-resolution detection head to form a collaborative system that overcomes the feature loss problem while maintaining computational efficiency for China UAV edge deployment.

3. Proposed Method

3.1 Overall Architecture

Our improved YOLOv8 model consists of a backbone, a neck (FPN+PAN), and three detection heads—two original ones for medium and large objects, and one additional high-resolution head for tiny defects. The key modification is replacing the first two strided convolutions in the backbone with SPD-Conv modules. The architecture is illustrated conceptually in Figure 1.

3.2 Front-End Feature Fidelity with SPD-Conv

Standard strided convolutions (stride=2) halve spatial resolution while discarding information. The SPD-Conv module first applies a space-to-depth operation that rearranges spatial data into the channel dimension without information loss. Then a stride-1 convolution is used to extract features. Specifically, given an input feature map of size S×S×C₁, the space-to-depth step produces an (S/2)×(S/2)×4C₁ map. A standard convolution with stride=1 then transforms it to (S/2)×(S/2)×C₂. This process preserves all original pixel information while reducing resolution. We replace the first two strided convolutions in the YOLOv8 backbone (which generate P1 and P2 feature maps of sizes 320×320 and 160×160) with SPD-Conv modules. The output channels are set to 64 and 128 respectively to maintain consistency with the original network. This ensures that fine details of tiny defects are carried forward to deeper layers.

3.3 Back-End High-Resolution Detection Head

To fully exploit the preserved shallow information, we add a fourth detection head operating on the P2 feature map (160×160 pixels). The neck network integrates this head into the FPN+PAN bidirectional flow: top-down semantic injection enriches P2 with high-level context from P3, P4, P5; bottom-up localization enhancement then propagates the enriched P2 details upward to strengthen P3 and P4. The new head receives a feature map that combines original fine spatial details with enriched semantics, enabling it to detect objects as small as 16×16 pixels effectively.

3.4 Multi-Scale Feature Fusion and Synergy Mechanism

The synergy between the front-end SPD-Conv and the back-end high-resolution head is mediated by the FPN+PAN fusion. The lossless front-end provides high-fidelity shallow features. The FPN path delivers high-level semantics to these shallow layers, while the PAN path reinforces the localization cues from the shallow layers upward. The final output for the new detection head is a fused feature map that is both detailed and semantically rich, allowing precise localization of tiny defects. This structural coupling ensures that the preserved detailed information is fully utilized by a dedicated parser, leading to nonlinear performance improvement beyond the sum of individual components.

4. Experiments

4.1 Dataset and Settings

We evaluate our model on the VisDrone2019 dataset, which contains 10,209 images captured by China UAV cameras over diverse urban environments. The dataset includes 10 object categories (pedestrian, people, bicycle, car, van, truck, tricycle, awning-tricycle, bus, motor) with a total of 2.6 million annotations. Although not originally intended for power line inspection, VisDrone2019 closely simulates the challenges of tiny object detection: many objects are smaller than 32×32 pixels, densely distributed, and appear under complex backgrounds, analogous to insulator cracks, rust spots, and broken strands in real China UAV power inspection. We adopt the official train/val/test split (6471/548/3190 images). All experiments are conducted on an Ubuntu 20.04 system with two NVIDIA GeForce RTX 3090 GPUs, PyTorch 1.11.0. Training parameters are listed in Table 1.

Table 1: Training parameters
Parameter Value
Epochs 150
Batch size 16
Input size 640×640
Initial learning rate 0.01
Momentum 0.937
Weight decay 0.0005

The loss function follows the official YOLOv8 formulation:

$$Loss = a \cdot Loss_{\text{box}} + b \cdot Loss_{\text{dfl}} + c \cdot Loss_{\text{cls}}$$

where a=7.5, b=1.5, c=0.5.

4.2 Evaluation Metrics

We report precision (P), recall (R), mean average precision (mAP) at IoU threshold 0.5, number of parameters, and frames per second (FPS). mAP is computed as the average of per-class average precision:

$$P = \frac{TP}{TP+FP} \times 100\%,\quad R = \frac{TP}{TP+FN} \times 100\%,\quad mAP = \frac{1}{N}\sum_{i=1}^{N} AP_i$$

where TP, FP, FN denote true positives, false positives, and false negatives, respectively, and N is the number of classes (10).

4.3 Comparison with Mainstream Models

We compare our proposed model against five representative lightweight detectors: TIB-Net, YOLOv5s, YOLOX-s, YOLOv7, and YOLOv7-tiny. All models are trained and tested under identical conditions. Results are shown in Table 2.

Table 2: Performance comparison of different models on VisDrone2019 test set
Model P (%) R (%) mAP (%) Params (M) FPS GFLOPs
TIB-Net 42.23 34.25 32.9 0.163 10 0.6
YOLOv5s 45.47 34.28 34.8 7.013 262 16.5
YOLOX-s 43.70 35.63 34.2 9.00 128 26.8
YOLOv7 45.62 33.20 33.6 36.48 107 105
YOLOv7-tiny 46.78 32.10 32.8 6.007 238 13.2
Ours 50.80 37.80 38.75 4.238 233 10.2

Our model achieves the highest mAP (38.75%), surpassing the second-best YOLOv5s by 3.95 percentage points, while using only 60% of its parameters (4.24M vs. 7.01M). The FPS (233) is comparable to YOLOv5s and YOLOv7-tiny, satisfying real-time requirements of China UAV inspection. Notably, our model outperforms the heavier YOLOv7 (36.48M parameters) by a large margin. The low GFLOPs (10.2) further indicate high computational efficiency, suitable for embedded edge devices on China UAV platforms.

4.4 Ablation Study

We conduct ablation experiments to validate the individual contributions of the two key components: SPD-Conv module and the high-resolution detection head (HR head). The results are listed in Table 3.

Table 3: Ablation experiment results on VisDrone2019 test set
Configuration P (%) R (%) mAP (%) Params (M) FPS
Baseline YOLOv8 47.80 36.23 37.21 3.653 277
+ HR head only 48.60 36.44 37.89 3.768 254
+ SPD-Conv only 48.20 37.37 37.92 4.123 255
Both (Ours) 50.80 37.80 38.75 4.238 233

Adding only the high-resolution detection head improves mAP by 0.68% and recall by 0.21%, indicating that simply enlarging the detection scale is insufficient because shallow features are already degraded by strided convolutions. Adding only SPD-Conv yields a more significant recall improvement of 1.14% (from 36.23% to 37.37%), confirming that preserving feature fidelity is the foundational step. When both components are combined, the mAP jumps to 38.75%, which is 1.54% above baseline and notably higher than the linear sum of the individual gains (0.68% + 0.71% = 1.39%). This synergistic effect arises because the front-end SPD-Conv supplies the high-resolution head with intact detailed features, enabling the head to fully exploit its spatial resolution advantage. The parameter count increases by only 0.585M (from 3.653M to 4.238M) while FPS decreases from 277 to 233—still well above real-time thresholds.

4.5 Scenario Adaptability Analysis

Although our experiments use the VisDrone2019 dataset, the test scenarios are highly representative of real China UAV power line inspection:

  • Extremely small objects: The dataset includes pedestrians and non-motor vehicles smaller than 32×32 pixels. Our model successfully detects them, demonstrating the ability to capture tiny insulator cracks or rust spots in high-altitude images.
  • Complex background interference: Under foliage occlusion or uneven illumination, the model maintains high recall, simulating tree occlusion or backlight conditions common in power line corridors. The high-resolution P2 head leverages shallow texture to identify low-contrast targets (e.g., bolt corrosion).

Thus, the proposed model is well-suited for China UAV-based power system defect detection after domain-specific fine-tuning.

5. Conclusion

We present a collaborative enhancement strategy for tiny defect detection in power systems using China UAV aerial images. By replacing the first two strided convolutions with SPD-Conv and adding a dedicated high-resolution detection head to YOLOv8, our model effectively preserves and exploits fine-grained features of extremely small defects. Experiments on VisDrone2019 demonstrate that the proposed model achieves 38.75% mAP with only 4.24 million parameters and 233 FPS, outperforming several mainstream lightweight detectors while maintaining real-time performance suitable for edge deployment on China UAV platforms. The synergy between front-end feature fidelity and back-end fine parsing yields a nonlinear improvement in recall and precision. Future work will focus on domain adaptation to real power line defect datasets and further model compression for ultra-lightweight China UAV platforms.

Scroll to Top