Magnetic flux leakage data augmentation for identification of oil and gas pipeline defects: a physics-guided latent diffusion model

Abstract Oil and gas pipeline integrity is essential for safe energy transportation, as reliable defect detection helps prevent leaks, thereby reducing the risk of fires and explosions. Magnetic flux leakage (MFL) testing is widely used in pipeline integrity assessment due to its high detection efficiency. However, experimental MFL data are limited, while existing data generation methods lack physical consistency and exhibit low efficiency. These data limitations hinder the training of deep learningbased defect identification models. To address these issues, this study proposes a physics-guided vector-quantized variational autoencoder diffusion (VQ-VAE-Diffusion) model for generating MFL data with clear structural characteristics and strong physical consistency. In this model, a compressed latent representation of MFL data is learned via the VQ-VAE module and discretized through codebook embeddings, thereby reducing data complexity and improving computational efficiency.The diffusion process is guided by magnetic dipole theory, ensuring that the generated data conform to fundamental physical laws. The generated data are evaluated through visual, quantitative, discriminative, and defect identification evaluations. Visual and metric evaluations demonstrate that the generated data are highly consistent with experimental data in spatial symmetry, peak distribution, and edge characteristics. Discriminative evaluation using ResNet18 shows a 55% average classification accuracy between generated and experimental data. Meanwhile, defect identification evaluation using the dataset augmented by the proposed model improves recall by an average of 13% and precision by 1.8%. The proposed approach improves the reliability of defect identification, supporting pipeline integrity management and the prevention of leakage-related safety incidents.

Authors

Institutions

Publication Details

Journal
Measurement Science and Technology
Published
2026-10-26
DOI
https://doi.org/10.1088/1361-6501/aeb962
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

Magnetic flux leakage data augmentation for identification of oil and gas pipeline defects: a physics-guided latent diffusion model

Shuai Zhao, Chao Chen, Li Mo, Mo He et al.
Measurement Science and Technology
Non-Destructive Testing Techniques
article

Magnetic flux leakage data augmentation for identification of oil and gas pipeline defects: a physics-guided latent diffusion model

Shuai Zhao, Chao Chen, Li Mo, Mo He, Liang Liu, Can Xiang, Hongying Chen
article en

Abstract

Abstract Oil and gas pipeline integrity is essential for safe energy transportation, as reliable defect detection helps prevent leaks, thereby reducing the risk of fires and explosions. Magnetic flux leakage (MFL) testing is widely used in pipeline integrity assessment due to its high detection efficiency. However, experimental MFL data are limited, while existing data generation methods lack physical consistency and exhibit low efficiency. These data limitations hinder the training of deep learningbased defect identification models. To address these issues, this study proposes a physics-guided vector-quantized variational autoencoder diffusion (VQ-VAE-Diffusion) model for generating MFL data with clear structural characteristics and strong physical consistency. In this model, a compressed latent representation of MFL data is learned via the VQ-VAE module and discretized through codebook embeddings, thereby reducing data complexity and improving computational efficiency.The diffusion process is guided by magnetic dipole theory, ensuring that the generated data conform to fundamental physical laws. The generated data are evaluated through visual, quantitative, discriminative, and defect identification evaluations. Visual and metric evaluations demonstrate that the generated data are highly consistent with experimental data in spatial symmetry, peak distribution, and edge characteristics. Discriminative evaluation using ResNet18 shows a 55% average classification accuracy between generated and experimental data. Meanwhile, defect identification evaluation using the dataset augmented by the proposed model improves recall by an average of 13% and precision by 1.8%. The proposed approach improves the reliability of defect identification, supporting pipeline integrity management and the prevention of leakage-related safety incidents.

Measurement Science and Technology
Southwest Petroleum University (CN), PetroChina Southwest Oil and Gas Field Company (China) (CN)
Openalex Percentile: Top 23%
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.

Laika access coming soon