Acoustic water pipe leak detection using transformer-based variational autoencoder
Source abstract
Abstract
Accurate leak detection in water pipes is essential for maintaining infrastructure integrity. However, detecting leaks under noisy real-world conditions remains challenging due to the significant interference caused by dynamic environmental sounds and background noise. This study aims to develop an acoustic approach for detecting water pipe leaks using a free-swimming non-destructive inspection tool. To address the challenge of environmental noise, we explore the feasibility of a transformer-based variational autoencoder trained only on normal signals. First, our approach employs a Swin-Transformer (ST) model combined with a Convolutional Neural Network (CNN) to extract both global and local acoustic features. The extracted features are then projected into a latent space to improve robustness against noise. Finally, reconstruction scores are computed to differentiate leaks. During this process, a kernel density estimation (KDE)-based strategy is used to determine a suitable decision threshold automatically. Experimental results demonstrate that CST-VAE outperforms state-of-the-art methods, achieving a 96.0% accuracy and a 96.2% F1-score. It improves to 3.5% in accuracy and 3.2% in F1-score when compared to the best state-of-the-art performance. The performance indicates its practical applicability and significant potential for automated leak detection in pipeline assessment systems. • This is the first automated approach for detecting water pipe leaks using a free-swimming, non-destructive inspection tool. • A transformer-based autoencoder is proposed to extract both local and global features without requiring labeled training data. • A kernel density estimation-based strategy is employed to automatically determine the leak detection threshold. • The proposed model demonstrates effective leak detection performance on real-world water pipe inspection datasets.
Source: openalex_inverted_index · Quality: baseline
Research context
OpenAlex topics: Water Systems and Optimization · Underwater Acoustics Research · Underwater Vehicles and Communication Systems
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (44)
Show source-provided references
1. The Business Research Company · 2025
2. BC Environmental Reporting · 2023
3. Adaptive phase transform method for pipeline leakage detection10.3390/s19020310 ↗
4. Detecting water leaks in underground pipelines by radar and dielectric analysis10.1016/j.ndteint.2025.103477 ↗
5. Automated vision systems for condition assessment of sewer and water pipelines10.1109/TASE.2020.3022402 ↗
6. Acoustic emission-based weld crack leakage monitoring via fgi and mccf-condensenet convolutional neural network10.1016/j.ndteint.2024.103232 ↗
7. High resolution imaging of pressurised water supply lines10.1016/j.ymssp.2025.112455 ↗
8. Ultrasonic nondestructive characterization of blockages and defects in underground pipes10.1109/TUFFC.2022.3183339 ↗
9. Valve detection for autonomous water pipeline inspection platform10.1109/TMECH.2021.3079409 ↗
10. Acoustic signal classification by support vector machine for pipe crack early warning in smart water networks10.1061/(ASCE)WR.1943-5452.0001570 ↗
11. Development of a clustering-based model for enhancing acoustic leak detection10.1139/cjce-2018-0229 ↗
12. A non-metallic pipeline leak size recognition method based on cwt acoustic image transformation and cnn10.1016/j.apacoust.2024.110180 ↗
13. Water leak detection and localization using convolutional autoencoders
14. Lstm-ae-wldl: Unsupervised lstm auto-encoders for leak detection and location in water distribution networks10.1007/s11269-022-03397-6 ↗
15. State of the art review of inspection technologies for condition assessment of water pipes10.1016/j.measurement.2012.05.032 ↗
16. Spectral subtraction and enhancement for torsional waves propagating in coated pipes10.1016/j.ndteint.2018.08.009 ↗
17. Low-cost, tiny-sized mems hydrophone sensor for water pipeline leak detection10.1109/TIE.2018.2874583 ↗
18. Microphone array analysis for simultaneous condition detection, localization, and classification in a pipe10.1121/10.0016856 ↗
19. Application of pipeline leakage detection based on distributed optical fiber acoustic sensor system and convolutional neural network10.1088/1361-6463/ad1144 ↗
20. Multiclass weighted least squares twin bounded support vector machine for intelligent water leakage diagnosis
21. Investigating the performance of kolmogorov–arnold network on acoustic leak detection in water distribution networks
22. A convolutional neural network for pipe crack and leak detection in smart water network10.1177/14759217221080198 ↗
23. Multimodel neural network for live classification of water pipe leaks from vibro-acoustic signals10.1109/JSEN.2024.3379476 ↗
24. A two-stage leak monitoring framework for water distribution networks based on acoustic signals10.1016/j.ymssp.2024.112275 ↗
25. Abnormal sound detection in pipes using a wireless microphone and machine learning10.2320/matertrans.MT-I2022001 ↗
26. Detecting leaks in water distribution pipes using a deep autoencoder and hydroacoustic spectrograms10.1061/(ASCE)CP.1943-5487.0000881 ↗
27. Simultaneous pipe leak detection and localization using attention-based deep learning autoencoder10.3390/electronics12224665 ↗
28. Ssdpt: Self-supervised dual-path transformer for anomalous sound detection10.1016/j.dsp.2023.103939 ↗
29. Frequency dynamic convolution: Frequency-adaptive pattern recognition for sound event detection
30. Sound event detection in synthetic domestic environments
31. Causality-augmented generalization network with cross-domain meta-learning for interlayer slipping recognition in viscoelastic sandwich structures10.1016/j.ymssp.2024.112023 ↗
32. Attention is all you need in speech separation
33. Vision-based quality evaluation method towards automated penetrant testing10.1016/j.ndteint.2025.103334 ↗
34. Multi-scale high-resolution vision transformer for semantic segmentation
35. Zoom in on the target network for the prediction of defective images and welding defects’ location10.1016/j.ndteint.2024.103059 ↗
36. Swin transformer: Hierarchical vision transformer using shifted windows
37. Transformer and graph convolution-based unsupervised detection of machine anomalous sound under domain shifts10.1109/TETCI.2024.3377728 ↗
38. Unsupervised graph anomaly detection with discriminative embedding similarity for viscoelastic sandwich cylindrical structures10.1016/j.isatra.2024.02.010 ↗
39. A hybrid prognostic method for rotating machinery under time-varying operating conditions by fusing direct and indirect degradation characteristics10.1016/j.measurement.2023.112831 ↗
40. Near-surface defect detection in ultrasonic testing using domain-knowledge-informed self-supervised learning
41. TDK InvenSense · 2016
42. Commonality feature representation learning for unsupervised multimodal change detection10.1109/TIP.2025.3539461 ↗
43. Hybrid cae-dsvdd for unsupervised vibration-based damage detection in situ steel truss bridge10.1177/14759217251369727 ↗
44. Unsupervised anomaly detection and localization of machine audio: A gan-based approach