Manuscript Offprint

arXiv:2610.35972

Multiple Leak Localization in Water Distribution Networks through Graph Neural Networks

Arvin Ajoodani, Sara Nazif, Pouria Ramazi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Leak localization in water distribution networks is challenging when multiple leaks occur simultaneously, particularly under sparse monitoring. Existing data-driven methods often assume a single or predefined number of leaks or require extensive enumeration of leak combinations. This study proposes a graph neural network (GNN) model that localizes a variable number of simultaneous leaks without specifying the leak count in advance or exhaustively generating every possible combination of leak locations for training. The model is evaluated on two benchmark networks of different sizes, the 31-node Hanoi network and the larger 92-node NET3 network, under variable demand, sparse pressure-sensor coverage, variable leak magnitudes, and varying numbers of simultaneous leaks. The GNN outperforms multilayer perceptron, support vector machine, K-nearest neighbors, and random forest classifiers by up to 12% and 20% in accuracy respectively in Hanoi and NET3 networks. Consistent performance across both networks supports the scalability of the proposed approach.

Keywords: multiple-leak localization; water distribution network; graph convolutional network; machine learning; sparse sensor coverage

1. Introduction

Leakage in water distribution networks (WDNs) is a major global challenge. Global physical water losses in WDNs have been estimated at approximately 32 billion m3m^{3} per year, with about half occurring in developing countries (AbuEltayef et al., 2023). These losses threaten water security and impose substantial financial and environmental costs on communities (Fang et al., 2019). Reducing avoidable distribution losses supports Sustainable Development Goal 6 by improving water-use efficiency and the reliability of urban water services (Callejas Moncaleano et al., 2021). Conventional leakage-management and model-based localization methods are sensitive to monitoring availability and hydraulic-model accuracy (Puust et al., 2010; Marzola et al., 2022).

Data-driven approaches have emerged as a promising alternative, using machine learning (ML) techniques to detect and localize leaks from hydraulic data. Recent studies have demonstrated the potential of Gaussian naive Bayes classifiers (Mazaev et al., 2022), neural networks (Sun et al., 2020), and random forests (RF) (Lučin et al., 2021) for leak localization in WDNs. However, most of these studies assumed the presence of a single leak, which does not reflect conditions in many WDNs. Aging infrastructure and continued urbanization increase pipe deterioration and leakage risk, while climatic factors such as temperature, moisture, and precipitation can contribute to water-main deterioration; together, these pressures can increase the likelihood of concurrent leaks in large WDNs (Ahmad et al., 2023; Chen et al., 2026).

A few studies have addressed multiple leak localization using data-driven approaches. For example, Rodríguez-Argote et al. (2023) employed classifiers to isolate two simultaneous leaking zones in a WDN, while Fang et al. (2019) used convolutional neural networks to detect multiple leaks in an experimental network. Although these studies represent important steps forward, they are designed for a fixed number of leaks or a limited set of leak-location configurations. Exhaustively generating training scenarios for every possible combination of multiple leaks becomes computationally prohibitive as the number of candidate nodes increases, and models designed for a fixed leak count may not generalize to variable leakage conditions (Romero-Ben et al., 2023).

Graph-based methods provide a way to address the two limitations identified above: handling different numbers of simultaneous leaks and using limited hydraulic measurements without testing every possible combination of leak location. WDNs are naturally suited to graph-based modeling, with nodes representing consumption nodes and edges representing the pipes that connect them. Graph neural networks (GNN) can capture spatial dependencies in graph-structured data (Xia et al., 2021) and have been applied in fields such as finance (Wang et al., 2022), biology (Zhang et al., 2021), and electrical engineering (Liao et al., 2022). This makes GNN a promising approach for leak detection and localization in WDNs (Yang et al., 2022). By incorporating network topology into message passing, GNN can learn topology-dependent hydraulic relationships relevant to leak localization (Garðarsson et al., 2022).

Several recent studies have used GNN for leak localization in WDNs. Şahin and Yüce (2023) used graph convolutional networks (GCN) to classify pipeline conditions as leak, risky, or normal and reported better results than a support vector machine (SVM). Rolle et al. (2024) evaluated GNN-based localization when only limited sensor data were available and showed that useful location information could still be obtained after reconstructing missing measurements. Li and Wu (2024) combined node information with pipe information and localized leaks at the pipe level. Their study was based on single-leak cases and showed that the model could still provide useful localization when the number of pressure sensors was reduced. Zhang and Fink (2026) proposed an algorithm-informed GNN that estimates the current pressure field and the pressure field expected without leakage. Leaks are then detected and localized from the difference between these two estimates.

More recent studies have started to consider simultaneous leaks under different choices of leak counts and candidate locations.. Li et al. (2025) evaluated single, double, triple, and four-leak cases. In their small simulated network, four possible leaking pipes were selected first, and all combinations of one to four leaks among these pipes were generated. Separate databases were then created for the different numbers of leaks. In the L-Town test, the abnormal class also included cases with one or two leaks occurring at the same time. Yin et al. (2026) focused specifically on two simultaneous leaks and designed the model to return two leaking pipes and their positions. Kim and Choi (2026) considered one to four simultaneous leaks using a graph attention network. They avoided generating every possible combination by sampling the training data, but the maximum number of leaks was still fixed at four.

Taken together, the previous GNN studies have three main limitations. First, many studies consider only one leak at a time. Second, studies that consider several leaks usually define the number of leaks in advance, for example exactly two leaks or a range from one to four. Third, some studies build the data around a limited set of possible leak locations and explicitly generate the combinations among them. This becomes difficult for a large WDN because the number of possible combinations increases very quickly as the number of candidate nodes increases.

The proposed model performs node-level multilabel classification, allowing the number of predicted leaks to vary among scenarios. Consequently, the number of leaks need not be specified in advance, and the training set need not exhaustively enumerate all possible combinations of leaking nodes. The framework is evaluated under variable demand, sparse sensor coverage, and variable leak magnitudes on the Hanoi and NET3 networks. Furthermore, K-nearest neighbors (KNN), SVM, multilayer perceptron (MLP) and RF models were additionally developed to compare the proposed method with a broader range of ML classifiers.

References (42)