Abstract
In this work, we present a general procedure for acoustic leak detection in water networks that satisfies multiple real-world constraints such as energy efficiency and ease of deployment. Based on recordings from seven contact microphones attached to the water supply network of a municipal suburb, we trained several shallow and deep anomaly detection models. Inspired by how human experts detect leaks using electronic sounding-sticks, we use these models to repeatedly listen for leaks over a predefined decision horizon. This way we avoid constant monitoring of the system. While we found the detection of leaks in close proximity to be a trivial task for almost all models, neural network based approaches achieve better results at the detection of distant leaks.
Introduction
Water leakage is a critical global infrastructure issue, resulting in the loss of billions of liters of clean drinking water daily—for instance, approximately 3,200 million liters are lost every day in the UK alone. Traditionally, identifying these leaks requires human experts using electronic sounding sticks or complex cross-correlation methods that necessitate precise knowledge of pipe material, diameter, and length.
While automated IoT microphones offer a potential solution, continuous audio monitoring is impractical due to the high energy and bandwidth consumption required from remote, battery-powered sensors. This paper introduces an energy-efficient, machine-learning-based approach that periodically samples short audio clips to identify leaks reliably without the overhead of continuous streaming.
Methodology
The authors propose an unsupervised acoustic anomaly detection framework. Instead of continuous monitoring, battery-powered IoT contact microphones record short (2-5 second) audio clips at regular intervals over a predefined "decision horizon" (e.g., 30 to 60 minutes). These clips are transmitted to a central server, minimizing bandwidth and power usage.
Because real leak data is scarce, the models are trained exclusively on normal operational sounds. The evaluation covers two main categories of models:
- Traditional ML: Gaussian Mixture Models (GMM), Bayesian GMMs, and Isolation Forests, using eight extracted spectral features.
- Deep Learning: Deep Convolutional Autoencoders (DCAE), Adversarial Autoencoders (AAE), Adversarial Variational Bayes (AVB), and RealNVP (a normalizing flow model), using Mel-spectrograms as inputs.
To make a final prediction, anomaly scores from multiple short clips within the decision horizon are aggregated using the median score to determine the presence of a leak.
Experimental Setup and Datasets
The study utilized a custom real-world dataset collected from a suburban area in Munich, where seven contact microphones were attached to hydrants on an iron pipe network.
The dataset consists of:
- Normal Operation: 600 hours of baseline audio for unsupervised training.
- Close Proximity Leak: A real, medium-sized leak occurring approximately 20 meters from a microphone.
- Distant Leak (Synthetic): Pure leak sounds mixed into normal operation data at a +24dB Signal-to-Noise Ratio to simulate the fainter acoustic profile of a distant leak.
Key Results and Insights
- Periodic Sampling Efficiency: The study proved that continuous audio is unnecessary. Aggregating between 15 and 65 samples per decision horizon provides stable accuracy, validating the low-bandwidth, intermittent sampling approach.
- Model Performance: For leaks in close proximity, almost all deep learning models and Isolation Forests achieved near-perfect performance (AUC 98.8% to 100%). However, for distant leaks, traditional methods failed completely (AUC ~42%), while neural networks like RealNVP and AVB achieved significantly better results (AUC up to 78.9%).
- Autoencoder Bottlenecks: Models performed best with small bottleneck layers. A tight bottleneck prevents the model from generalizing to anomalous but normal sounds, such as water withdrawal, which can otherwise mimic leak signatures.
Conclusion and Future Work
This research demonstrates that periodic acoustic sampling combined with unsupervised deep learning can effectively detect leaks under real-world constraints. Future work will focus on extending the system to perform precise leak localization via trilateration and exploring sequential models like RNNs to capture temporal audio dynamics. Additionally, addressing concept drift in environmental noise remains a key challenge for long-term deployment.
Summary updated