Preprint Article Version 1 Preserved in Portico This version is not peer-reviewed

Simultaneous Pipe Leak Detection and Localization Using Attention-Based Deep Learning Autoencoder

Version 1 : Received: 28 October 2023 / Approved: 30 October 2023 / Online: 30 October 2023 (09:40:16 CET)

A peer-reviewed article of this Preprint also exists.

Karimanzira, D. Simultaneous Pipe Leak Detection and Localization Using Attention-Based Deep Learning Autoencoder. Electronics 2023, 12, 4665. Karimanzira, D. Simultaneous Pipe Leak Detection and Localization Using Attention-Based Deep Learning Autoencoder. Electronics 2023, 12, 4665.

Abstract

Water distribution networks are often susceptible to pipeline leaks caused by mechanical damages, natural hazards, corrosion, and other factors. This paper focuses on the detection of leaks in water distribution networks (WDN) using a data-driven approach based on machine learning. A hybrid Autoencoder neural network (AE) is developed, which utilizes unsupervised learning to address the issue of unbalanced data (as anomalies are rare events). The AE consists of a 3DCNN encoder, a ConvLSTM decoder, and a ConvLSTM future predictor, making the anomaly detection robust. Additionally, spatial, and temporal attention mechanisms are employed to enhance leak localization. The AE first learns the expected behavior and subsequently detects leaks by identifying deviations from this expected behavior. To evaluate the performance of the proposed method, the Water Network Tool for Resilience (WNTR) Simulator is utilized to generate water pressure and flow rate data in a water supply network. Various conditions such as fluctuating water demands, data noise, and the presence of leaks are considered using the pressure-driven demand (PDD) method. Datasets with and without pipe leaks are obtained, where the AE is trained using the dataset without leaks and tested using the dataset with simulated pipe leaks. The results, based on a benchmark WDN and a confusion matrix analysis, demonstrate that the proposed method successfully identifies leaks in 96% of cases and a false positive rate of 4% compared to a random forest model baseline based on supervised learning with a false positive rate of 15% due to unbalanced data. Furthermore, a real case study demonstrates the applicability of the developed model for leak detection in operational conditions of water supply networks using inline sensor data.

Keywords

pipe leak detection; machine learning; attention mechanism; spatio-temporal anomaly; autoencoder; dynamic threshold adjustment

Subject

Engineering, Electrical and Electronic Engineering

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0
Metrics 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.