PL-UNeXt: Per-Stage Edge Detail and Line Feature Guided Segmentation for Power Line Detection

Yang Cheng, Zhen Chen, Daming Liu

TL;DR

This paper introduces PL-UNeXt, a novel deep learning model for detecting power lines in aerial images. By incorporating "booster" training modules that guide the network to learn edge details and line features at different stages, PL-UNeXt achieves state-of-the-art accuracy while maintaining real-time performance. This is crucial for efficient and reliable infrastructure inspection using drones.

What Problem Does This Paper Address?

Detecting power lines in aerial imagery is a surprisingly difficult task. Power lines are often very thin (just a few pixels wide), making them easily obscured by complex backgrounds, shadows, or other objects. This low pixel ratio and intricate context make accurate segmentation challenging for existing computer vision methods, including many deep learning models. The problem is critical for electricity companies for inspection and maintenance, and also for drone navigation to avoid obstacles. Existing methods struggle with either accuracy or speed, or require specialized inputs like infrared imagery.

Methods

The core innovation of PL-UNeXt lies in its "booster training strategy." This strategy adds auxiliary "heads" to the network during training only to guide the learning process. These boosters are discarded during inference, meaning they don't add computational overhead to the final model.

Specifically, PL-UNeXt employs two types of boosters:

  • Edge Detail Heads: These modules focus on the early stages of the network. They guide the encoder to learn finer edge details by computing losses in an "edge space." This helps the network better distinguish power line edges from background clutter. They use Laplacian, Sobel X, and Sobel Y kernels to capture various edge types and learn adaptive fusion of these edge maps.
  • Line Feature Heads: These modules operate on the later stages of the network. They guide the encoder to extract relevant line features by adaptively assembling multi-sized line features. This is achieved using "dynamic line extractors" which leverage dynamic convolutions to increase feature extraction capability without significantly increasing parameters.

The overall architecture is a U-shaped network (UNeXt), which is well-suited for segmentation tasks by combining downsampling for feature extraction and upsampling for precise localization.

Datasets

The paper evaluates PL-UNeXt on two datasets:

  • TTPLA: Used for evaluating segmentation performance and comparing with previous methods.
  • VITL: Used for evaluating performance across various lighting and weather conditions.

The authors note that their model achieves strong results on VITL without utilizing infrared images, making it more broadly applicable.

Key Insights and Ideas

  • Guiding the Encoder is Key: The paper demonstrates that explicitly guiding the encoder at different stages with specific feature types (edges and lines) significantly improves segmentation accuracy. This is more effective than relying solely on the end-to-end learning of a standard segmentation network.
  • Edge Space for Detail: Computing losses in an "edge space" rather than directly on raw pixel values for edge detection helps alleviate asymmetries and leads to better detail learning.
  • Dynamic Convolutions for Line Features: Using dynamic convolutions in the line feature heads allows the model to adaptively extract line features of varying sizes and orientations, crucial for thin, long structures like power lines.
  • Booster Training for Efficiency: The "booster" approach is a clever way to inject rich supervisory signals during training without impacting inference speed, a critical factor for real-world applications.

Key Results

PL-UNeXt achieves state-of-the-art results on both TTPLA and VITL datasets:

  • TTPLA: Achieved a 70.6 F1 score, a 1.9% improvement over previous methods.
  • VITL: Achieved 68.41 mIoU, a 5.2% improvement, and maintained the highest FPS among comparable methods, even without using infrared imagery.
  • The ablation study confirms the effectiveness of both the edge detail and line feature heads, with their combined use yielding the best results.

Limitations and Future Work

  • Real-time Performance: While the paper emphasizes real-time performance, the exact FPS is reported as 87.8 on a specific hardware setup (NVIDIA GeForce RTX 3050). Further validation on diverse hardware might be needed.
  • Generalizability: The model performs well on TTPLA and VITL. Future work could explore its performance on even more diverse environments and challenging scenarios.
  • Further Booster Optimization: The paper suggests that further optimization of the booster strategy could lead to even better results.

The authors conclude that PL-UNeXt effectively leverages edge and shape priors for power line segmentation, offering a promising direction for automated infrastructure inspection.

Summary updated

Abstract

Power line detection is a critical inspection task for electricity companies and is also useful in avoiding drone obstacles. Accurately separating power lines from the surrounding area in the aerial image is still challenging due to the intricate background and low pixel ratio. In order to properly capture the guidance of the spatial edge detail prior and line features, we offer PL-UNeXt, a power line segmentation model with a booster training strategy. We design edge detail heads computing the loss in edge space to guide the lower-level detail learning and line feature heads generating auxiliary segmentation masks to supervise higher-level line feature learning. Benefited from this design, our model can reach 70.6 F1 score (+1.9%) on TTPLA and 68.41 mIoU (+5.2%) on VITL (without utilizing IR images), while preserving a real-time performance due to few inference parameters.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
TTPLAPL-UNeXtIoU0.546+0.01 vs baselineSemantic Segmentation · resolution=512×512
Source quote
L206: Ours │ 0.706 │ 0.546 │ 0.821 │ 0.634 │ 1.5
VITLPL-UNeXtmIoU68.41Semantic Segmentation · subset=visible images only; averaged across five light and weather conditions
Source quote
L7: Power line detection is a critical inspection task for electricity companies and is also useful in avoiding drone obstacles. Accurately separating power lines from the surrounding area in the aerial image is still challenging due to the intricate background and low pixel ratio. In order to properly capture the guidance of the spatial edge detail prior and line features, we offer PL-UNeXt, a power line segmentation model with a booster training strategy. We design edge detail heads computing the loss in edge space to guide the lower-level detail learning and line feature heads generating auxiliary segmentation masks to supervise higher-level line feature learning. Benefited from this design, our model can reach 70.6 F1 score (+1.9%) on TTPLA and 68.41 mIoU (+5.2%) on VITL (without utilizing IR images), while preserving a real-time performance due to few inference parameters.
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
TTPLAPLGAN baselineIoU0.533Semantic Segmentation · resolution=512×512
Source quote
L205: PLGAN~\cite{abdelfattah2022plgan} │ 0.687 │ 0.533 │ 0.863 │ 0.577 │ 14.9
BibTeX
@misc{cheng2023pl,
  author = {Yang Cheng and Zhen Chen and Daming Liu},
  title = {{PL-UNeXt: Per-Stage Edge Detail and Line Feature Guided Segmentation for Power Line Detection}},
  year = {2023},
  eprint = {2303.04413},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.04413},
}
Figure