DLCS-YOLO Model for Detecting Defects in Long-Distance Oil and Gas Pipelines

This study developed the Deformable Large-kernel Context-fused Spatial (DLCS)-YOLO model to address various challenges involved in permanent magnetic field perturbation (PMFP)-based defect detection for long-distance oil and gas pipelines, including a high false-positive rate, susceptibility to background noise interference, difficulty in identifying small-scale defects, low precision in feature representation and defect type discrimination, and poor adaptability to multiscale defects. The proposed model is an improved version of You Only Look Once (YOLO) v11n. The backbone of the proposed model contains the C3k2-Deformable Attention (C3k2-DAttention) module and the Spatial Pyramid Pooling-Fast-Large Separable Kernel Attention (SPPF-LSKA) module, which is used in place of the SPPF module to enhance robustness to noise and fine-grained feature extraction for small-scale defects. In the feature fusion layer, the Context-Guided Feature Pyramid Network (Context-Guided FPN) module is used to replace the conventional concatenation operation, thereby improving feature representation and defect classification accuracy. Furthermore, the Spatially Enhanced Attention Module (SEAM) is incorporated into the detection head to enhance adaptability in complex scenarios, including those involving background interference and multiscale defects. Experimental results indicate that the proposed model achieves mAP@50 and mAP@50:95 values of 94.5% and 64.7%, respectively, on a self-constructed dataset, with a computational cost of only 6.2 GFLOPs. Compared with the baseline YOLOv11n model, the proposed model exhibits a 3.1% higher precision, a 3.8% higher mAP@50 value, and a 3.0% higher mAP@50:95 value and requires 0.1 fewer GFLOPs. The proposed algorithm effectively enhances the accuracy and efficiency of pipeline defect detection, demonstrating considerable practical value and broad application prospects for detecting defects in oil and gas pipelines.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-07-16
DOI
https://doi.org/10.3390/s26144523
Primary Topic
Non-Destructive Testing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DLCS-YOLO Model for Detecting Defects in Long-Distance Oil and Gas Pipelines

Rui Li, Ma Tc, Jinyao Duan, Jie Huang et al.
Sensors
Non-Destructive Testing Techniques
article

DLCS-YOLO Model for Detecting Defects in Long-Distance Oil and Gas Pipelines

Rui Li, Ma Tc, Jinyao Duan, Jie Huang, Enpeng Wang, Ziyang Wang, Kuan Fu, Yanan Wang
article en

Abstract

This study developed the Deformable Large-kernel Context-fused Spatial (DLCS)-YOLO model to address various challenges involved in permanent magnetic field perturbation (PMFP)-based defect detection for long-distance oil and gas pipelines, including a high false-positive rate, susceptibility to background noise interference, difficulty in identifying small-scale defects, low precision in feature representation and defect type discrimination, and poor adaptability to multiscale defects. The proposed model is an improved version of You Only Look Once (YOLO) v11n. The backbone of the proposed model contains the C3k2-Deformable Attention (C3k2-DAttention) module and the Spatial Pyramid Pooling-Fast-Large Separable Kernel Attention (SPPF-LSKA) module, which is used in place of the SPPF module to enhance robustness to noise and fine-grained feature extraction for small-scale defects. In the feature fusion layer, the Context-Guided Feature Pyramid Network (Context-Guided FPN) module is used to replace the conventional concatenation operation, thereby improving feature representation and defect classification accuracy. Furthermore, the Spatially Enhanced Attention Module (SEAM) is incorporated into the detection head to enhance adaptability in complex scenarios, including those involving background interference and multiscale defects. Experimental results indicate that the proposed model achieves mAP@50 and mAP@50:95 values of 94.5% and 64.7%, respectively, on a self-constructed dataset, with a computational cost of only 6.2 GFLOPs. Compared with the baseline YOLOv11n model, the proposed model exhibits a 3.1% higher precision, a 3.8% higher mAP@50 value, and a 3.0% higher mAP@50:95 value and requires 0.1 fewer GFLOPs. The proposed algorithm effectively enhances the accuracy and efficiency of pipeline defect detection, demonstrating considerable practical value and broad application prospects for detecting defects in oil and gas pipelines.

SensorsVol. 26(14)
China University of Petroleum, Beijing (CN)
Reduced inequalities, Peace, Justice and strong institutions
Openalex Percentile: Top 15%
Non-Destructive Testing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.