원시데이터 수집 시스템
선정목록으로

Algorithm-informed graph neural networks for leakage detection and localization in water distribution networks

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Zepeng Zhang
  2. Olga Fink
DOI
10.1016/j.ress.2025.111494
저널
Reliability Engineering & System Safety
발행년도
2025
발행기관
Elsevier BV
피인용수
1
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.ress.2025.111494
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W4412983341

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 78,431자

본문 펼치기
## Algorithm-Informed Graph Neural Networks for Leakage Detection and Localization in Water Distribution Networks Zepeng Zhang <sup>a</sup>, Olga Fink <sup>a</sup> _aLaboratory_ _of_ _Intelligent_ _Maintenance_ _and_ _Operations_ _Systems,_ _EPFL,_ _Lausanne,_ _1015,_ _Switzerland_ Abstract Detecting and localizing leakages is a significant challenge for the efficient and sustainable management of water distribution networks (WDN). Given the extensive number of pipes and junctions in real-world WDNs, full observation of the network with sensors is infeasible. Consequently, models must detect and localize leakages with limited sensor coverage. Leveraging the inherent graph structure of WDNs, recent approaches have used graph interpolation-based data-driven methods and graph neural network models (GNNs) for leakage detection and localization. However, these methods have a major limitation: datadriven methods often learn shortcuts that work well with in-distribution data but fail to generalize to out-of-distribution data. To address this limitation and inspired by the perfect generalization ability of classical algorithms, we propose an algorithm-informed graph neural network (AIGNN) for leakage detection and localization in WDNs. Recognizing that WDNs function as flow networks, incorporating max-flow information can be beneficial for inferring pressures. In the proposed framework, we first train AIGNN to emulate the Ford-Fulkerson algorithm, which is designed for solving max-flow problems. This algorithmic knowledge is then transferred to address the pressure estimation problem in WDNs. Specifically, two AIGNNs are deployed, one to reconstruct pressure based on the current measurements, and another to predict pressure based on previous measurements. Leakages are detected and localized by analyzing the discrepancies between the outputs of the reconstructor and the predictor. By pretraining AIGNNs to reason like algorithms, they are expected to extract more task-relevant and generalizable features. To the best of our knowledge, this is the first work that applies algorithmic reasoning to engineering applications. Experimental results demonstrate that the proposed algorithm-informed approach achieves superior results with better generalization ability compared to GNNs that do not incorporate algorithmic knowledge. _Keywords:_ Graph neural networks, neural algorithmic reasoning, leakage detection and localization, water distribution networks _Preprint_ _submitted_ _to_ _Reliability_ _Engineering_ _&_ _System_ _Safety_ _August_ _7,_ _2024_ 1. Introduction Leakage is a persistent and unavoidable challenge faced by modern water distribution networks (WDNs). Despite advances in technology and improvements in infrastructure, the complex web of pipes and junctions that make up these systems is subject to various forms of wear and degradation. Factors such as corrosion, fluctuating pressures, environmental stresses, and material fatigue can lead to the development of leaks. Consequently, water systems around the world experience significant water loss, necessitating continuous monitoring, maintenance, and repair efforts to mitigate the impact and conserve as much water as possible (Puust et al., 2010). The issue of water loss presents a substantial economic burden, with the estimated worldwide annual financial impact being around USD 39 billion in 2016 (Liemberger and Wyatt, 2019). In addition to the economic problems for water utilities, the water loss issue also raises environmental and sustainability concerns (Puust et al., 2010; Gupta et al., 2017). To mitigate the consequences of such failures in WDNs, effective leakage detection and localization are of vital importance (Islam et al., 2022; Wan et al., 2022; Romero-Ben et al., 2023). Existing approaches for leakage detection and localization can be categorized into model-based and data-driven methods (Chan et al., 2018; Romero-Ben et al., 2023). Model-based approaches involve constructing a hydraulic model to simulate the behavior of WDNs (Sanz et al., 2016; Sophocleous et al., 2019; Steffelbauer et al., 2022). These hydraulic models typically characterize the state evolution of WDNs using physics-based equations, providing high-fidelity predictions of WDN behavior. Leakages are detected by comparing collected real-world hydraulic data to the simulated data. Ideally, a well-calibrated hydraulic model can facilitate optimal detection. However, constructing and maintaining such an accurate model is challenging in practice due to several practical obstacles. These include (1) uncertainties regarding model parameters, such as the varying condition of pipes, which can make models based on static pipe conditions inaccurate; (2) incomplete documentation of WDNs’ system information due to the age and heterogeneity of these networks; and (3) unavailability of real-time consumer demand information, which is crucial for hydraulic models (Cugueró-Escofet et al., 2016). As physics-based hydraulic models are not always available or adequately calibrated, an increasing number of data-driven approaches have recently been developed (Soldevila et al., 2020; Romero-Ben et al., 2022; Garðarsson et al., 2022). Data-driven approaches rely solely on data collected by monitoring devices and do not depend on in-depth knowledge of the system, such as the condition of the pipes or consumers’ demand. Typically, data-driven models are trained using historical measurements collected from monitoring devices within the network under normal operating conditions. Leakages are then detected by measuring the deviations between real-world hydraulic data and predictions generated by data-driven models (Romero-Ben et al., 2023). Previous approaches have employed various techniques such as support vector machines (Mounce et al., 2011), evolutionary polynomial regression (Laucelli et al., 2016), and 2 convolutional neural networks (Fang et al., 2019). In practice, it is too expensive to monitor every junction in a WDN, resulting in limited sensor coverage. Given that WDNs are inherently represented as graphs with junctions as nodes and pipes as edges, graph-based interpolation methods have been widely used to handle partially observed WDNs (RomeroBen et al., 2023). Such methods typically involve two steps: first, training a data-driven model to estimate the expected leak-free pressure at monitored nodes based on historical measurements, and then performing a graph-based interpolation to approximate the expected leak-free pressure at unmonitored nodes (Soldevila et al., 2020; Romero-Ben et al., 2022). One limitation of these graph-based interpolation methods is that they are post-processing techniques, making the data-driven models agnostic to the graph topology. A more holistic design that integrates the interpolation process within the data-driven model could potentially yield further improvements. Recently, Garðarsson et al. (2022) used graph neural networks (GNNs) as the data-driven model, which can perform pressure estimation and interpolation simultaneously. Specifically, this approach employs two separate GNNs: a prediction network to predict the leak-free pressures of the entire WDN based on historical measurements, and a reconstruction network to reconstruct the actual pressures of the whole WDN based on current partially observed measurements. Leakages are detected and localized by analyzing the differences between the outputs of these two networks. A major limitation of data-driven approaches is that deep learning models often learn shortcuts that work well with in-distribution data but fail to generalize to out-of-distribution data (Wang et al., 2022). This generalization ability is especially important for handling WDNs, as deep learning models are often trained based on simulated data generated by mathematical hydraulic models. Given the inherent uncertainty of real-world scenarios, data-driven models are likely to encounter distribution shifts. For instance, changes in pipe conditions or network structures can alter the data distribution, posing significant challenges to model accuracy and reliability. In contrast, classical algorithms are renowned for their perfect generalization ability and interpretability (Cormen et al., 2022). For example, the Bellman-Ford algorithm for shortest-path finding will always give the optimal solution regardless of the data distribution (Cormen et al., 2022). However, they require input data in a strict format, which can make them challenging to apply to real-world problems. For example, the Bellman-Ford algorithm can only handle graphs with scalar edge weights, whereas real-world shortest-path finding problems are often too complex to be accurately represented by simple scalar values. To leverage the strengths of both deep learning models and classical algorithms, recent advancements in neural algorithmic reasoning (NAR) aim to construct neural networks capable of approximating and executing classical algorithms (Veličković and Blundell, 2021; Veličković et al., 2022; Cappart et al., 2023). With the ability to reason like algorithms, NAR models are expected to generalize well to outof-distribution data(Mahdavi et al., 2023; Rodionov and Prokhorenkova, 2024; de Luca and Fountoulakis, 2024). Typically, NAR models employ an encoderprocessor-decoder framework. The encoder and decoder transform the data into 3 a latent space that the processor can operate on, while the processor learns the step-by-step execution of the target algorithms (Veličković et al., 2022). Once the processor has acquired the algorithmic knowledge, it can be reused to solve real-world problems where such algorithmic knowledge is beneficial (Veličković and Blundell, 2021). For example, Georgiev et al. (2023) transfer the algorithmic knowledge of Prim’s minimum spanning tree algorithm to reconstruct the developmental trajectory of single cells from high-dimensional gene expression data. Similarly,Numeroso et al. (2023) transfer the algorithmic knowledge of max-flow and min-cut algorithms to help classify the types of vessels in brain graphs. In this paper, inspired by the achievements of NARs (Veličković et al., 2022), we propose leveraging algorithmic knowledge to enhance the detection and localization of leakages in WDNs. Specifically, because WDNs function as flow networks, incorporating max-flow information helps in accurately inferring pressures within the network. We propose a method to transfer the knowledge of the Ford-Fulkerson algorithm, which solves max-flow problems, to GNN models for pressure inference in WDNs. Consequently, we name our model algorithminformed GNN (AIGNN). Following the paradigm outlined in (Garðarsson et al., 2022), we employ a prediction AIGNN to predict the leak-free pressures and a reconstruction AIGNN to reconstruct actual pressures within the WDN. Leakages are then detected and localized by analyzing the deviations between the reconstructed and predicted pressures. Experimental results demonstrate that the AIGNN outperforms the ChebNet model proposed in (Garðarsson et al., 2022), which is a GNN model without algorithmic knowledge. Additionally, AIGNN exhibits superior generalization ability compared to ChebNet. Furthermore, integrating the embeddings generated by AIGNN improves the performance of ChebNet, indicating that AIGNN can serve as an auxiliary enhancement for existing models. The main contributions of this paper are summarized as follows: (1) We propose an algorithm-informed data-driven model for leakage detection and localization in WDNs, named AIGNN. AIGNN is trained to reason following the principles of the Ford-Fulkerson algorithm for solving maxflow problems. To the best of our knowledge, this is the first application of NAR in the context of engineering applications. (2) The proposed AIGNN extracts algorithm-informed information from the network, significantly enhancing its generalizability. Building on existing GNN-based approaches, we train two AIGNNs to approximate the actual pressure and another to estimate the leak-free pressure of the entire WDN. Leakages are then detected and localized by comparing the differences between the estimated actual and leak-free pressures. (3) The embeddings generated by AIGNN can also be used as augmentations for other methods, providing additional information extracted from network features. We integrate the embeddings of AIGNN with either the input layer or the embedding of the layer just before the final layer of the 4 ChebNet model, resulting in the variants ChebNetIN and ChebNetEMB, respectively. (4) We evaluate the proposed AIGNN on the _L_ -town WDN. The AIGNN model outperforms the ChebNet model in both pressure prediction and reconstruction. Additionally, augmenting the baseline ChebNet model with AIGNN embeddings further improves its performance. Algorithminformed methods also exhibit superior results in leakage detection and localization. Experiments further confirm the superior generalization capability of AIGNN, demonstrating that it outperforms ChebNet when trained on one set of sensor locations and tested with sensors placed at different locations. The remaining content of this paper is structured as follows. In Section 2, we review related work on pressure estimation in WDN and NAR. Section 3 provides the problem definition for leakage detection and localization in WDNs, as well as an overview of the basic architecture of NAR models. Section 4 presents our proposed method, AIGNN. In Section 5, we evaluate the effectiveness and the generalization ability of AIGNN through a case study using the _L_ -town dataset. Finally, in Section 6, we summarize the main conclusions of this work. 2. Related Work _2.1._ _Pressure_ _Estimation_ _in_ _Water_ _Distribution_ _Networks_ In WDNs, leakages can be detected by analyzing the system’s pressure or flow (Puust et al., 2010). Pressure measurements are more commonly used for leakage detection and localization because pressure sensors are easier to install and less costly compared to flow sensors (Zhou et al., 2019). Large and widespread WDNs can contain thousands of junctions, making it infeasible to employ and maintain sensors at every junction due to infrastructural limits, privacy concerns, and high costs (Truong et al., 2023). Consequently, estimating the complete network pressure based on partially observable pressure measurements is typically the first and essential step for leakage detection and localization. There are two main types of approaches for pressure estimation in WDNs: model-based and data-driven methods. Model-based methods rely on mathematical hydraulic simulation tools, which can deliver optimal results when well-calibrated. However, due to uncertainties in real-world scenarios and incomplete documentation of WDNs’ system information, achieving accurate hydraulic simulation is often challenging. Data-driven approaches often use deep learning models to estimate complete pressure profiles from partial nodal pressure data(Hajgató et al., 2021; Xing and Sela, 2022; Ashraf et al., 2023). During inference, these models only require data collected by monitoring devices, eliminating the need for in-depth system knowledge. Since WDNs can inherently be modeled as graphs, graph-based approaches can leverage the relational inductive biases to enhance model performance (Wu et al., 2021). The graph 5 interpolation methods typically involve two steps: first, training a data-driven model to predict pressures at monitored nodes, and then using graph interpolation techniques to infer pressures at unmonitored nodes (Soldevila et al., 2020; Romero-Ben et al., 2022). Specifically, Soldevila et al. (2020) use the Kriging interpolation method, while Romero-Ben et al. (2022) address the interpolation by solving a quadratic optimization problem to estimate pressure signals. However, these approaches have limitations. The deep learning models used are typically unaware of the graph topology, and the subsequent graph interpolation process implicitly assumes specific smoothness patterns of the node features, often disregarding the actual measurements at monitored nodes (Soldevila et al., 2020; Romero-Ben et al., 2022). Hajgató et al. (2021) took the first step in addressing the challenges encountered by the graph-based interpolation methods by using a Chebyshev spectral convolutional neural network (ChebNet) to estimate pressures. ChebNet, a topology-aware deep learning model, can also perform interpolation. The ChebNet model has demonstrated superior performance compared to traditional graph-based interpolation methods (Hajgató et al., 2021). Building on this, Xing and Sela (2022) developed a physics-informed GNN that incorporates the physical functional relationships between monitored and unmonitored locations as an additional loss during the training process. However, this approach requires demand patterns from every consumer, even during inference time. Beyond pressure estimation, GNNs have also demonstrated strong performance in other state estimation tasks in WDNs, such as demand prediction (Zanfei et al., 2022) and water quality prediction (Li et al., 2024). _2.2._ _Neural_ _Algorithmic_ _Reasoning_ NAR is an emerging research area focused on developing neural networks that can perform algorithmic computations within a high-dimensional latent space (Veličković and Blundell, 2021; Veličković et al., 2022; Minder et al., 2023). Algorithms inherently provide correct solutions with theoretical guarantees. For instance, the Bellman-Ford algorithm for shortest-path finding consistently generates the optimal solution, irrespective of the graph’s properties (Cormen et al., 2022). However, applying algorithms to real-world problems requires translating real-world scenarios into the abstract spaces in which algorithms operate, a longstanding and significantly challenging issue (Harris and Ross, 1955). Furthermore, classical algorithms often become impractical when dealing with partially observable data. Thus, despite their theoretical correctness, the outputs of classical algorithms are approximations, because the abstract space representation may not precisely describe the real-world problem of interest. Instead of manually translating real-world scenarios into the abstract spaces that algorithms operate in, NAR promotes algorithm execution using neural networks, known for their high flexibility in handling different types of inputs, making this approach more adaptable to real-world complexities. Typically, the NAR model employs an encoder-processor-decoder framework (Veličković and Blundell, 2021). The encoder projects real-world inputs into the abstract space, while the decoder maps the embeddings generated by the processor back 6 to the real-world output space. In classical algorithms such as Bellman-Ford for shortest path finding (Ford, 1956; Bellman, 1958), solutions are typically obtained through iterative steps, producing an output along with a trajectory of intermediate steps. To align the processor with the underlying classical algorithm, it is usually designed based on some form of recurrent unit, aiming to replicate the full trajectory of algorithmic behaviors. Given the theoretical evidence supporting that GNN models align well with classical algorithms, GNNs are the most commonly used processors (Xu et al., 2020, 2021; Dudzik and Veličković, 2022). The recently proposed CLRS-30 algorithmic reasoning benchmark (Veličković et al., 2022) provides a general paradigm of algorithmic reasoning, named in homage to the _Introduction_ _to_ _Algorithms_ textbook by Corman, Leiserson, Rivest, and Stein (Cormen et al., 2022). The CLRS30 benchmark covers 30 algorithms spanning sorting, searching, dynamic programming, geometry, graphs, and strings, all uniformly represented over the graph domain. To provide supervision on the algorithmic trajectories, CLRS30 decomposes these trajectories into consecutive execution steps, called hints (Veličković et al., 2022). With the supervision of hints, the NAR model is expected to align better with the underlying algorithm and have fewer dependencies on the non-generalizable features of a particular training set. In addition to learning individual algorithms, some works investigate the possibility of tackling multiple algorithmic tasks with a single neural reasoner (Xhonneux et al., 2021; Ibarz et al., 2022). Despite the advancements made by recent NAR models in the CLRS-30 benchmark, most studies focus primarily on learning algorithms themselves (Minder et al., 2023; Mahdavi et al., 2023; Montgomery et al., 2024). However, the transfer of algorithmic knowledge to solve real-world problems - advocated as the major motivation for designing NAR models (Veličković and Blundell, 2021) - remains under-explored. To date, only a few works have explored the use of NAR in biology and computer network configuration problems (BeurerKellner et al., 2022; Georgiev et al., 2023; Numeroso et al., 2023). The application of NAR to other real-world problems, especially in engineering, remains largely unexplored. 3. Preliminaries _3.1._ _Problem_ _Statement_ We address the problem of leakage detection and localization in a partially observable WDN, where sensors are installed only at select junctions. The WDNs are inherently structured as graphs, with edges representing pipes and nodes representing junctions. Specifically, the topological structure of a WDN can be represented by a weighted undirected graph _G_ = ( _V, E, W_ ), where _V_, _E_, and _W_ denote the sets of nodes, edges, and weights, respectively. The graph adjacency matrix is given by A _∈_ R <sup>_N_</sup> <sup>_×N_</sup>, where _N_ is the number of nodes. We denote by 1 the all-one vector and by I the identity matrix. Given D = Diag ( A1 ) _∈_ R <sup>_N_</sup> <sup>_×N_</sup> as the diagonal degree matrix, the Laplacian matrix is 7 defined as L = D _−_ A . The symmetric normalized adjacency matrix is then defined as A sym = D <sup>_−_</sup> 2 <sup><u>1</u></sup> AD <sup>_−_</sup> <sup><u>1</u></sup> 2, which is commonly used in GNN models instead of the standard adjacency matrix. For notational simplicity, we will use A to represent the symmetric normalized adjacency matrix in the following sections. We denote by X _∈_ R <sup>_N_</sup> <sup>_×M_</sup> the node feature matrix, where _M_ is the number of dimensions of the node features, and its _i_ -th row X _i,_ : represents the feature vector corresponding to the _i_ -th node, _i_ = 1 _, . . ., N_ . In this work, following the setting of previous studies (Hajgató et al., 2021; Garðarsson et al., 2022; Truong et al., 2023), the node features include not only the nodal pressures but also an additional binary feature to indicate the locations of the sensors. Given that the network is partially observable, the feature matrix X is sparse, with nonzero elements only in the rows corresponding to nodes equipped with sensors. At each timestep _t_, the goal is to perform leakage detection and localization based on the current and previous pressure data collected from the partially deployed sensors, denoted as X _G_ ( _t_ ) _,_ X _G_ ( _t −_ 1) _, . . .,_ X _G_ ( _t −_ _T_ ). _3.2._ _Neural_ _Algorithmic_ _Reasoning_ Our work follows the encoder-processor-decoder paradigm (Hamrick et al., 2018), a standard approach for step-by-step neural execution, particularly in the field of NAR (Veličković and Blundell, 2021; Cappart et al., 2023). Consequently, a NAR model comprises three components: the encoder _f_, the processor _p_, and the decoder _g_, as depicted in the upper half of Figure 1. We consider the algorithmic reasoning tasks as formulated in the CLRS-30 benchmark (Veličković et al., 2022). In the CLRS-30 benchmark, the intermediate states of the algorithm are captured by hints, which describe the characteristics that can determine the steps of the algorithm. Specifically, for a target algorithm, each data sample contains the execution trajectory of the algorithm, represented by the inputs, outputs, and hints. Let us denote the node-level and edge-level features at algorithmic step _k_ as _{_ x <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> _}_ and _{_ e <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> <sup>_}_</sup> <sup>,</sup> <sup>_k_</sup> <sup>=</sup> <sup>1</sup> <sup>_, . . ., K_</sup> <sup>.</sup> <sup>Here,</sup> <sup>_i_</sup> <sup>indicates</sup> <sup>the</sup> <sup>node</sup> <sup>index</sup> <sup>and</sup> <sup>_ij_</sup> specifies the index of the edge connecting node _i_ and node _j_ . While it is also possible to consider problems with graph-level features, the leakage detection and localization problem addressed in this paper does not involve such features, so we omit them for simplicity. At algorithmic step _k_, the encoder first embeds the current features into high-dimensional representations as follows: z <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> = _fn_ - x <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> d <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> <sup>=</sup> <sup>_fe_</sup> - x <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> - e <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> - e <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> _,_ _,_ where _fn_ ( _·_ ) and _fe_ ( _·_ ) represent encoder layers that encode the node-level and edge-level features, respectively. The encoded embeddings are then fed into a processor. The processor in NAR is considered the central component, as it is expected to learn to reason like algorithms. Motivated by theoretical findings that GNNs align well with classical algorithms (Xu et al., 2020, 2021; Dudzik and Veličković, 2022), existing NAR models normally employ GNNs as processors. 8 Figure 1: The architecture of the algorithm-informed reconstructor and predictor. Thus, we denote the processor by _p_ GNN( _·_ ). Depending on the computational dynamics of the target algorithms, the specific GNN architecture is chosen to better align with the target algorithms (Veličković et al., 2020a; Numeroso et al., 2023). In general, the processor can be formulated as: <sup>(</sup> _i_ <sup>_k−_</sup> <sup>1)</sup> _, {_ z <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> <sup>_}j∈N_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_, {_</sup> <sup>h</sup> _j_ <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> <sup>_}_</sup> <sup>(</sup> <sup>_i,j_</sup> <sup>)</sup> <sup>_∈E_</sup> _j_ <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> _}j∈N_ ( _i_ ) _, {_ d <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> _{_ h <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> _}_ = _p_ GNN - z <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> _,_ h <sup>(</sup> _i_ <sup>_k−_</sup> <sup>1)</sup> _,_ where h <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> where h <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> represents the embedding vector of node _i_ at the _k_ -th layer of the processor and _N_ ( _i_ ) is the set of all neighboring nodes of node _i_ . The initial embedding vector h <sup>(0)</sup> _i_ is initialized as h <sup>(0)</sup> _i_ = 0 for all nodes. The processor recurrently processes the encoded features, similar to the classical algorithm. Subsequently, the decoders map the embeddings produced by the processor to the output space of the algorithm: <sup>(0)</sup> _i_ is initialized as h <sup>(0)</sup> _i_ y _i_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> = _gn_ - x <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> c <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> <sup>=</sup> <sup>_ge_</sup> - x <sup>(</sup> _i_ <sup>_k_</sup> <sup>)</sup> - e <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> - e <sup>(</sup> _ij_ <sup>_k_</sup> <sup>)</sup> _,_ _,_ with _gn_ and _ge_ representing decoder layers that decode the node-level and edgelevel embeddings, respectively. Depending on the stage of the process, the output of the decoder can be the hints for the next algorithmic step, or the final output of the algorithm if it is at the final algorithmic step. To train the described NAR model, the loss is calculated based on the decoded hints at every step and the final output. The hint supervision constrains the network to behave more closely to the target algorithm at each intermediate step _k_ . This ensures that the NAR model emulates the algorithmic process rather than merely learning the input-output mapping. This approach enhances 9 Figure 2: The pipeline of the proposed two-stage method. the interpretability of the model and improves its generalizability (Veličković et al., 2022; Bevilacqua et al., 2023; Minder et al., 2023). 4. The Proposed Method We address the problem of leakage detection and localization in WDNs, where sensors are sparsely deployed in the network to collect pressure data. Given the partial availability of pressure data, an intuitive strategy involves first estimating both the actual pressure and the leak-free pressure of the complete WDN, and then identifying leakages by analyzing the differences between these estimated signals (Soldevila et al., 2020; Romero-Ben et al., 2022; Garðarsson et al., 2022). Specifically, we adopt the two-stage scheme used in (Garðarsson et al., 2022). In the first stage, we construct an algorithm-informed reconstructor to estimate the actual nodal pressures for all nodes based on the currently observed data and an algorithm-informed predictor to predict the leak-free nodal pressures of all nodes based on previously collected measurements. In the second stage, we calculate the residual pressure by comparing the outputs of the reconstructor and the predictor. By analyzing these residuals, we can effectively detect and locate leakages within the WDN. The overall pipeline of the approach is depicted in Figure 2. In the following sections, we will detail each component of the model. _4.1._ _First_ _Stage:_ _Algorithm-Informed_ _Reconstructor_ _and_ _Predictor_ In the first stage, two AIGNNs are trained: (i) Reconstructor: This AIGNN takes X _G_ ( _t_ ) as the input and outputs the complete actual pressure signal y ˆ _r_ ( _t_ ); (ii) Predictor: This AIGNN takes the set of previous sparse graph pressure signals X _G_ ( _t −_ _T_ ) _, . . .,_ X _G_ ( _t −_ 1) as the input and outputs the complete leak-free pressure signal y ˆ _p_ ( _t_ ). The reconstructor and the predictor 10 are trained using data simulated by mathematical hydraulic models under leakfree conditions. Intuitively, the reconstructor estimates the pressure data at all nodes based on the current conditions, while the predictor estimates what the pressure should be in the absence of leaks. Therefore, when the output of the reconstructor significantly deviates from the output of the predictor, it is indicative of a potential leak. Instead of directly training the model to learn the input-output mappings, we propose to enhance the model with algorithmic knowledge. The flow properties of a water network are highly informative for inferring pressures, and the ability to simulate the algorithm for max-flow in the entire network is likely to be advantageous for this task. Motivated by this, we propose transferring the algorithmic knowledge of solving max-flow problems to assist in pressure reconstruction and prediction tasks in a WDN. Consider a graph _G_ = ( _V, E_ ) where each edge _∀_ ( _u, v_ ) _∈E_ has certain capacity _cuv_ . The max-flow from the source node _vs_ _∈V_ to the sink node _vt_ _∈V_ is the maximum flow that can pass through the graph without exceeding the capacities. To find the max-flow, we focus on the neural execution of the FordFulkerson algorithm (Ford and Fulkerson, 1956). We collect the edge capacities in a capacity matrix C and we construct a flow matrix F to represent the flow information of the entire network when the max-flow is achieved. The FordFulkerson algorithm has two key subroutines: 1. Finding a valid path _P_ = _{vs, . . ., vt}_ from the source node _vs_ to the sink node _vt_ . 2. Augmenting the residual capacity along the path based on the maximum flow _cp_ that can pass through this path, then updating the capacity matrix C and the flow matrix F . The output of the algorithm is the flow matrix F . We represent the max-flow solution with the flow matrix F instead of the commonly used max-flow value because the flow matrix characterizes the flow properties of the entire network. This is advantageous when addressing the pressure reconstruction and prediction problem in water networks. The overall algorithm is outlined in Algorithm 1. In the Ford-Fulkerson algorithm, the augmenting path can be obtained by various methods, such as breadth-first search and depth-first search. However, since our goal is to train an NAR model to execute the algorithm, providing proper supervision based on these methods is challenging due to the potential existence of multiple valid paths for both breadth-first search and depth-first search. As suggested in (Georgiev and Lió, 2020), we use the Bellman-Ford algorithm to find the shortest path. Although, in theory, multiple valid shortest paths can exist, this seldom happens in practice, and the effect can be considered negligible. The Bellman-Ford algorithm is also appealing because it has been shown that GNNs align well with it (Xu et al., 2020). _4.1.1._ _The_ _Neural_ _Algorithmic_ _Reasoning_ _Model_ Before introducing the AIGNN architecture for the reconstructor and predictor, we first discuss how to infuse the algorithmic knowledge into a NAR model. 11 <u>Algorithm</u> <u>1</u> <u>The</u> <u>Ford-Fulkerson</u> <u>Algorithm</u> Input: _G_ = ( _V, E_ ) _,_ C _, vs, vt_ . _fuv_ = 0 : _∀_ ( _u, v_ ) _∈E_ while _∃_ augmenting path _P_ = _{vs, . . ., vt}_ in _G_ do : _cp_ = min _{cuv_ : ( _u, v_ ) _∈P}_ ; for each ( _u, v_ ) _∈P_ do : _fuv_ = _fuv −_ _cp_ ; _fvu_ = _fvu_ + _cp_ ; _cuv_ = _cuv −_ _cp_ ; _cvu_ = _cvu_ + _cp_ ; end for end while <u>Output:</u> <u>F</u> <u>.</u> We use the Ford-Fulkerson algorithm to solve the max-flow problems, generating input-output pairs along with the full trajectory of the algorithm. To avoid multiple valid shortest paths in the augmenting path-finding step, we generate a random weight matrix to select the shortest paths. For the neural execution of the algorithm, finding the shortest path with the Bellman-Ford algorithm can be achieved by learning to predict predecessors for each node (Veličković et al., 2020b). The locations of the source and sink nodes are represented by an indicator vector, with two nonzero entries: 1 denotes the source node and -1 denotes the sink node. There are five inputs to the NAR to characterize the max-flow problem: (1) the location indicator vector, (2) the capacity matrix, (3) the adjacency matrix, (4) a random weight matrix for finding the shortest path, and (5) a linearly spaced position feature from 0 to 1 for each node indexing the node. The first four inputs are used to determine the problem instance, while the fifth input is introduced to serve as a position index of the node that can be used as a useful tie-breaker when algorithms could make an arbitrary choice on which node to explore next (Veličković et al., 2022). The intermediate algorithmic trajectory is captured by hints, which include: - A mask vector indicating whether the node is in the augmenting path or not - The augmenting path represented by a vector specifying the predecessor node of each node - The maximum flow _cp_ that can pass through the current augmenting path _P_ - The flow matrix F . The final output of the model is the flow matrix F . As introduced in Section 3.2, the NAR model consists of three parts: encoder, processor, and decoder. To ensure that the algorithmic knowledge is captured primarily by the processor, the encoders and decoders are chosen as 12 linear layers. These layers have limited expressivity, contributing minimally to the learning of the algorithmic trajectory. At each algorithm step, each input and the current hints are encoded with separate linear encoders. The encoded information is then processed by the processor, followed by decoders that generate the next hints or the algorithm output if it is the last algorithm step. It is important to note that there are two types of encoders in the NAR model. The first type encodes the inputs and is used only once before the neural execution of the algorithm. The second type encodes the hints and is used in each algorithm step before feeding the node embeddings to the processor. In summary, the linear encoders and decoders ensure that the learning process focuses on the processor, which is designed to capture and replicate the algorithmic trajectory. This setup allows the NAR model to effectively learn and execute the desired algorithmic reasoning tasks. As the core component of the NAR model, the choice of processor significantly influences its learning ability. According to evaluation results in two benchmark studies (Veličković et al., 2022; Minder et al., 2023), the pointer graph networks (PGN) (Veličković et al., 2020a) outperform various other models, including memory networks (Sukhbaatar et al., 2015), deep sets (Zaheer et al., 2017), message-passing neural networks (Gilmer et al., 2017), graph attention networks (Veličković et al., 2018), graph isomorphism network (Xu et al., 2019), and recurrent GNNs (Grötschla et al., 2022). Therefore, we employ the PGN model as the processor in our NAR framework. The PGN model consists of the following components: the source node layer Θ _s_, the target node layer Θ _t_, the edge layer Θ _e_, the message transformation function Θ _msg_, the skip connection layer Θ _skip_ and the output layer Θ _out_ . Specifically, the message transformation function is defined as a two-layer MLP, while the other five layers are all defined as linear layers. The update of node _v_ at the _k_ -th step is defined as follows: h <sup>_k_</sup> _v_ <sup>+1</sup> = _σ_ Θ _skip_ ( h <sup>_k_</sup> _v_ <sup>)</sup> (1) _u_ <sup>_k_</sup> <sup>) +</sup> <sup>Θ</sup> <sup>_e_</sup> <sup>(</sup> <sup>h</sup> <sup>_k_</sup> _e_ <sup>_k_</sup> _euv_ <sup>)</sup> �� - _,_ _,_ + Θ _out_ �� Θ _msg_ _u∈N_ ( _v_ ) - Θ _s_ ( h <sup>_k_</sup> _v_ <sup>_k_</sup> _v_ <sup>) +</sup> <sup>Θ</sup> <sup>_t_</sup> <sup>(</sup> <sup>h</sup> _u_ <sup>_k_</sup> where _σ_ represents the ReLU activation function and <sup>�</sup> denotes the elementwise max aggregation function. For algorithmic reasoning, max aggregation is more suitable than the commonly used sum aggregation because it aligns better with the computational mechanisms in classical algorithms. It has been shown both empirically (Battaglia et al., 2018; Veličković et al., 2020b) and theoretically (Xu et al., 2021) that GNNs with max aggregation extrapolate better on certain algorithmic tasks (e.g., the shortest path finding problem) than GNNs with sum aggregation. Additionally, when performing message passing, we treat the graph as an unweighted graph, and the random weight matrix for finding the shortest path is treated as edge features. There are two subroutines in the Ford-Fulkerson algorithm: finding the 13 shortest path and updating the capacity matrix C and the flow matrix F . Consequently, we use two subnetworks to serve as the processor. The PGN model aligns with both subroutines and has the capability to learn and execute them effectively. The possibility of learning multiple algorithms with a single processor has been explored in previous studies (Xhonneux et al., 2021; Ibarz et al., 2022; Montgomery et al., 2024). Motivated by their findings, we propose using a single PGN to perform both subroutines of the Ford-Fulkerson algorithm. To inform the processor of which subroutine to execute, we include an additional binary feature. Specifically, at each step, the PGN model is applied twice: first to compute the augmenting path _P_, and then to update the capacity matrix C and the flow matrix F . To ensure the model behaves like the algorithm, we apply step-wise hint supervision. The loss function comprises two components: the output loss and the step-wise hint loss. After training, the processor is expected to emulate the Ford-Fulkerson algorithm. This trained processor can be extracted and applied to other scenarios where the algorithmic knowledge for computing max-flow is useful. _4.1.2._ _Algorithm-Informed_ _Reconstructor_ _and_ _Predictor_ After developing the NAR model capable of executing the Ford-Fulkerson algorithm, we transfer the learned algorithmic knowledge to GNNs for pressure reconstruction and predictions in WDNs, creating the Algorithm-Informed Graph Neural Network (AIGNN). Specifically, AIGNN replaces the encoder and decoder in the NAR with Chebyshev convolutional layers to handle the real-world inputs while retaining the processor. The Chebyshev convolutional layer is defined by X = _S_ _s_ =1 Z <sup>(</sup> <sup>_s_</sup> <sup>)</sup> Θ <sup>(</sup> <sup>_s_</sup> <sup>)</sup> _,_ where Z <sup>(</sup> <sup>s</sup> <sup>)</sup> is computed recursively by Z <sup>(1)</sup> = X _,_ Z <sup>(2)</sup> = LX <sup>ˆ</sup> _,_ Z <sup>(</sup> <sup>_s_</sup> <sup>)</sup> = 2 LZ <sup>ˆ</sup> <sup>(</sup> <sup>_s−_</sup> <sup>1)</sup> _−_ Z <sup>(</sup> <sup>_s−_</sup> <sup>2)</sup> with Z <sup>ˆ</sup> = _λ_ <u>2max</u> <u>L</u> <sup>_−_</sup> <sup>I</sup> <sup>denoting</sup> <sup>the</sup> <sup>scaled</sup> <sup>and</sup> <sup>normalized</sup> <sup>Laplacian</sup> <sup>matrix.</sup> Intuitively, the new encoder and decoder are used to map the real-world problem to and from the abstract space in which the processor operates in. This requires the model to be more expressive compared to that used to map the max-flow problem to and from the abstract space. Given that the processor’s parameters are frozen, linear encoders and decoders lack the expressivity needed for effective mapping between the real world and the abstract space. Thus, we choose Chebyshev convolution layers instead of linear layers for the encoders and decoders. Both the reconstructor and the predictor have the same architecture, differing only in their input dimensions. The reconstructor AIGNN and the 14 predictor AIGNN are trained independently, but they share the same processor adopted from the NAR model. To train the newly introduced encoder and decoder, we use the partially observable pressure data from the WDN. At timestep _t_, for the reconstructor, the sparse node pressure x ( _t_ ) at time _t_ is used as the input, and we denote the outputs as y _r_ ( _t_ ), representing the reconstructed pressure data for all nodes. For the predictor, the sparse node pressures from previous _T_ timesteps x ( _t −_ _T_ ) _, . . .,_ x ( _t −_ 1) are used as inputs, and we denote the outputs as y _p_ ( _t_ ), representing the predicted pressure data for all nodes. After training, y ˆ _r_ ( _t_ ) denotes the output of the reconstructor, and y ˆ _p_ ( _t_ ) denotes the output of the predictor at timestep _t_ . The parameters in the processor can either be frozen or fine-tuned along with the encoder and decoder. Although the max-flow property can help in inferring pressure, the processor’s design to learn max-flow may result in the loss of other information that could contribute to pressure reconstruction and prediction. Therefore, in addition to using AIGNN directly for pressure reconstruction and prediction, we propose two variants that integrate the embeddings generated by AIGNN with other models. This allows the resulting models to benefit from max-flow information without losing other useful information. Specifically, we use the embedding before the last layer of AIGNN as the augmenting embedding. This embedding is then fed into the ChebNet model (Garðarsson et al., 2022) in two ways: as additional inputs (ChebNetIN) or as additional embeddings before the last layer (ChebNetEMB). _4.2._ _Second_ _Stage:_ _Residual_ _Analysis_ After obtaining the prediction and reconstruction pressures, we compute the residual pressure to identify the leakages. At each time step _t_, a residual signal is computed based on the outputs of the reconstructor and the predictor, i.e., r ( _t_ ) = [ _r_ 1( _t_ ) _, . . ., rN_ ( _t_ )] = y ˆ _p_ ( _t_ ) _−_ y ˆ _r_ ( _t_ ), where the reconstructor is trained with data from time step _t_ and the predictor is trained with data from time step _t −_ _T, . . ., t −_ 1. Since leakages occur at edges, while the residual signals are defined on nodes, we further compute the absolute edge residual as _ruv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>)</sup> <sup>=</sup> _|rv_ ( _t_ ) _−_ _ru_ ( _t_ ) _|_ . Under normal conditions, the residual signals should mainly be caused by the random noise and have stationary behavior. Thus, when the residual signals deviate from the stationary behavior, it implies that the WDN has some abnormal behavior. To evaluate the deviation of the residual signals from its stationary point, we compute the moving average of _ruv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>),</sup> <sup>denoted</sup> as _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>).</sup> <sup>At</sup> <sup>timestep</sup> <sup>_t_</sup> <sup>,</sup> <sup>with</sup> <sup>a</sup> <sup>window</sup> <sup>size</sup> <sup>of</sup> <sup>_s_</sup> <sup>,</sup> <sup>we</sup> <sup>have</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>) =</sup> <sup><u>1</u></sup> _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> _s_ _s−_ 1 _i_ =0 _ruv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t −_</sup> <sup>_i_</sup> <sup>)</sup> <sup>_._</sup> We further compute the mean of _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>)</sup> <sup>over</sup> <sup>time</sup> <sup>period</sup> <sup>1</sup> <sup>_, . . ., t_</sup> max <sup>as</sup> <u>1</u> _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>=</sup> _t_ max _t_ max _t_ =1 _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> 15 and the corresponding standard deviation: _t_ max _t_ =1 _uv_ �2 _._ _σuv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>=</sup> ~~�~~ <u>�</u> - <sup><u>1</u></sup> _t_ max - _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_r_</sup> <sup>¯</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> When the moving average _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>+</sup> <sup>_ξσ_</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>)</sup> <sup>exceeds</sup> <sup>a</sup> <sup>threshold</sup> <sup>_r_</sup> <sup>¯</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> When the moving average _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>)</sup> <sup>exceeds</sup> <sup>a</sup> <sup>threshold</sup> <sup>_r_</sup> <sup>¯</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>+</sup> <sup>_ξσ_</sup> _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)</sup> <sup>with</sup> <sup>param-</sup> eter _ξ_, we mark it as a potential leakage. 5. Case Study _5.1._ _Problem_ _Setting_ In this section, we evaluate the performance of the proposed algorithm using a case study on the _L_ -town WDN introduced in the BattleDIM competition (Vrachimis et al., 2020). The _L_ -town WDN consists of 785 junctions and 905 pipes, with 33 pressure sensors located at different junctions across the network, collecting data with a 5-minute temporal resolution. The WDN is modeled as a graph, where junctions are represented as nodes and pipes as edges. The topology of the _L_ -town WDN is illustrated in Figure 3, where red nodes denote junctions with sensors and blue nodes denote junctions without sensors. The _L_ -town WDN also contains a nominal model represented with an EPANET hydraulic simulation input file, which has _±_ 10% uncertainties to simulate a real-world noisy environment. This nominal model is used to generate a training dataset for the reconstructor and predictor. Additionally, the BattleDIM competition provides two years of data from 2018 and 2019. Data from 2018 will be used to determine the threshold _ξ_ for residual analysis, while data from 2019 will be employed to evaluate the model’s performance in leakage detection and localization. We compare our method with the state-of-the-art GNN model for leakage detection and localization, specifically the ChebNet model proposed by Garðarsson et al. (2022). Both approaches use a two-stage approach that first trains a reconstructor and predictor and then detects and localizes leakages by analyzing the residuals of these two networks’ outputs. The key difference between our approach and theirs lies in the architecture of the reconstructor and predictor. The ChebNet model uses the architecture from Hajgató et al. (2021), which consists of four Chebyshev spectral graph convolutional layers. The degree of the polynomial in the hidden layers is set to [ _S_ 1 _, S_ 2 _, S_ 3] = [240 _,_ 120 _,_ 20], and the filter sizes are [ _F_ 1 _, F_ 2 _, F_ 3] = [120 _,_ 60 _,_ 30]. _5.2._ _Training_ _the_ _AIGNN_ _model_ To train the AIGNN model, we first pre-train a NAR model to execute the Ford-Fulkerson algorithm for solving max-flow problems. This involves generating the algorithm trajectories of the Ford-Fulkerson algorithm for max-flow problems. Each problem instance contains a graph sampled from the ErdosRenyi distribution, with randomly assigned capacities on each edge. The intermediate steps of the Ford-Fulkerson algorithm are represented with hints, 16 347 1 350 32 351 352 7 348 4 5 0.08 355 18 349 10 362 30 358 359 22 374 353 6 363 404 50 354 357 14 16 344 371 19 375 381 424 0.09 82 410 368 376 383382 403 9 345 402 48 0.09 400 401 0.09 59 3229 36 411 12 15 16 379 55 409 410 59 416 396 63 0.09 420 0.10 0.09 59 0.10 416 0.10 416 0.10 417 0.10 416 0.10 417 417 0.10 68 48 400 0.09 401 0.10 68 41 4746 0.09 0.09 400 0.09 401 0.09 434 378 384 355 360 364 366 369 0.09 0.09 5 393 0.09 394 0.09 395 0.09 396 0.09 397 0.09 398 0.09 399 399 0.09 75 0.09 75 46 4746 0.09 393 0.09 393 0.09 394 0.09 395 0.09 396 0.09 397 0.09 398 0.09 399 0.09 8 20 24 346 438 37227 389 390 54391 385 44 343 60 61 4287273 6563418 425 0.09 427 0.09 420 0.09 421 0.09 422 0.09 423 0.09 424 0.09 420 0.09 421 0.09 422 0.09 423 0.09 424 82 271 11 0.09 364 356 361 0.09 365 0.09 365 0.09 23 0.09 23 387 364 0.09 365 392408 11 13 17 21 0.09 31 34 449 451 450 442 448 431 0.09 432 0.09 433 431 440 446 0.09 628 377 2826 37 39 42 43 436429 437 439 0.09 412 388 412 0.09 413 300 303 419426 300 303 367 45 57 723 731 0.09 455 405 0.08 56 0.09 747 746 430 7977 90 39 695 724 739 49 52 0.08 52 0.08 56 74 414 413 435 0.09 0.09 0.10 606261 6664 0.09 67 694 287 741 751 672 738 413 0.09 67 461 462 340 380 43 85 86 451 90 87 88 45492 455 456 457 693 702 725 370 708 709 0.07 0.09 0.09 33 87 88 670 678 0.08 265 274 660 245 664 0.11 0.08 0.09 0.09 248 0.08 249250 0.09 668 0.09 669 257 659 659 0.09 660 81 660 248 245 0.08 249250 0.09 709 0.09 710 0.09 711 0.09 712 668 0.09 669 257 0.08 678 230 230 659 0.09 658 0.09 240 0.09 56 412 498 0.09 40 407 636 748 296 653 635 76 78 80 634 776 223 642 224 649 0.09 0.09 633 646 642 649 225 0.09 0.09 642 643 644 649 650 651 0.09 0.09 0.09 0.09 710 0.09 629 779 778 781 780 599 600 0.10 778 0.10 780 338 777 601 618 203 373 386 435 0.10 700.1571 627 630 658 0.09 240 0.11 245 44183 447 0.09 453 91 249250 0.08 257 220 222221 647 0.09 648 647 0.09 648 648 0.08 228 0.09 658 51 0.11 406 0.11 406 0.11 406 0.11 58 0.11 58 678 684 0.08 69 671 265 686 444 740 314 316 735 0.09 711 0.09 718 0.09 719 0.09 720 0.09 721 0.09 722 0.09 723 708 0.07 295 0.09 719 0.09 291292 296 0.07 295 467 186 580 588 1900.271930.23194 442 448 89 192 588 0.08 192 0.08 196 25 35 38 452 0.09 453 452 459 460 169 567 568 178 0.06 0.09 458 176 84 644 232 651 235 0.09 0.09 232 235 238 238 689 699 0.10 703 284 239 241 244 298 738 304 307 758 0.09 311 0.09 311 311 0.07 316 415 749 319 765 335 467 782 342 782 342 779 341 0.09 781 631 578 466 585 0.10 198 632 645 223 224 652 0.09 0.09 218 219 631 777 519 144 129 140 679 680 263 267 269 0.09 718 281 282 286 0.07 0.09 0.09 692 701 281 708 282 709 286 718 726 732 299 0.07 0.09 0.09 726 727 584 0.10 585 585 598 0.10 0.10 275 720 0.09 696 725 737 304 736 712 721 722 0.09 0.09 0.09 469 470 471 95 474 100 0.10 100 0.10 482 117 723 0.09 320 661 662 663 665 666 0.08 258259 94 93 584 0.10 97 475476 111 51 53 336 0.11 443 445 159 162 551552 557 167 170 459 460 0.06 579 528 529 150 153 534 535 153 536 162 551 557 465 463 583 280 283 644 651 654 685 309 312310 520 521 141 150 153 728 184 251 673 674 675 252 676 255 0.08 722 730 744 754 763 0.09 772 623 211 639 640 655 0.11 656 0.09 657 341 198 602 0.09 0.10 468 0.10 110112 339 205 206 683 264 266 687 270 691 272 0.11 697 262 268 471 95 472 96 1010.20103 105 1010.20103 105 655 0.11 656 0.09 657 269 273 278279277 707 0.11 285 0.10 0.10 587 713 0.10 714 0.10 715 0.10 716 0.10 717 713 0.10 705 297 289 293294 733 734 302301 750 299 155 542 543 182 742 752 757 318 315 0.08 762 496 497 130 745 755 495 641 227 231233229 234 98 0.10 482 0.10 115 494 495 226 227 626 231 231 234 537 577181 182 133 167 170 258259 677 0.08 276 163 614 622 242246 667243247 253254 161 290 180 477 491 113 0.11 120 128 196 592 593 0.08 596 464 191 583 586 587 196 0.09 596 596 0.09 597 0.09 598 611 610 598 200 613 0.09 600 601 201202 618 619 620 621 214 337 618337 203 625 205 517 522 532 237 173 174 473 483 103 105 0.09 105 0.09 113 556 166 168 122 124 504 120 122 500 504 482 112 491 0.09 113 0.11 120 0.10 0.11 120 122 525 688 277 0.10 703 320 322 323 324 325 326 327 328 764 690 700 704 0.10 704 0.10 705 171 518 138 332 533 305 308306 213 216 217 603 200 615 616 617 0.09 207 624 637 638 639 205 206 208209 210 212 215 236242 243 99 0.07 102 107109 488 510 505 511 99 102 1900.271930.23194 612 729 743 753 318 762 771 569 573 706 145146 149 539 164 143 288 563 511 334 333 160 478 501 594 595 199 760 166 168 563 569 564 565 570 574 558 327 106 157 256 260 766 767 768 769 770 329 774 331 247 502 333 541 156 553 479 484 285 0.10 713 489 490 125 512 506 313 0.12 761 246 681 714 0.10 715 575 0.10 716 0.10 0.11 697 0.11 698 0.11 697 0.11 698 698 0.11 285 256 260 261 717 0.10 761 0.12 321 544 165 562 571 717 0.10 313 0.10 313 0.12 682 756 759 760 0.12 761 0.12 609 315 317 0.12 321 137 540 559 183 136 154 548 773 3300.15775 480 481 104 108 487 486 118 0.07 151 538 147 148 485 114119116 499 0.07 524 549 175177 560 179 605 607 204 187 581 582 608 604 606 132 554 555 175177 566 572 572 576 188 189 195 591 589 590 197 531 555 561 492 493 123 507 508 509 134 523 142 147 547148 546 104 0.07 116 0.07 125 188 189 185 487 530 545 158 172 550 513 127 135 527 152 503 121 131 139 526 516 126 514 515 Figure 3: L-town network. and the output of the algorithm is represented by a flow matrix. Specifically, following the setting in CLRS benchmark (Veličković et al., 2022), we sample 1000 graphs with 16 nodes each for training. The NAR model is trained to predict the flow matrix and accurately recover all the intermediate steps of the algorithm. After training the NAR model with Ford-Fulkerson algorithm instances, its processor inherits the algorithmic reasoning abilities. We then adapt the processor to address the task of pressure reconstruction and prediction in WDNs. Specifically, we replace the linear encoder and decoder of the NAR model with Chebyshev convolutional layers, finalizing the AIGNN model architecture. Two AIGNN models are trained independently to address the pressure reconstruction and prediction tasks using training data obtained from the nominal model provided in (Vrachimis et al., 2020). We consider three versions of AIGNN for pressure reconstruction and prediction: - AIGNN: The parameters of the processor inherited from the NAR model are fixed, while only the parameters of the encoder and decoder are trained with the pressure data. - AIGNNFT: The parameters of the processor are initialized with those from the NAR model but are fine-tuned together with the parameters in the encoder and decoder. - AIGNNPOS: This version has the same architecture and training strategy as AIGNN but includes additional positional features, computed as evenly spaced numbers between 0 and 1 according to the node index. We compare the three models on the pressure reconstruction task, with the 17 results presented in Table 1. The relative error is defined as Rel. error = <sup>_<u>∥</u>_</sup> <sup><u>y</u></sup> <sup>_<u>r</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup><u>y</u></sup> <sup><u>ˆ</u></sup> <sup>_<u>r</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> <sup>_<u>∥</u>_</sup> _._ y _r_ ( _t_ ) where Rel. error (+) and Rel. error (-) represent the relative error at the monitored and unmonitored nodes, respectively. From the table, we can observe the following: - AIGNN provides the best overall relative error. This indicates that the fixed processor parameters, which incorporate the algorithmic knowledge from the NAR model, are sufficiently informative for the task. Further fine-tuning of the processor with real-world data does not lead to performance improvement. - AIGNNFT where the processor is fine-tuned, does not perform as well as AIGNN. This suggests that the pre-trained algorithmic knowledge is more beneficial when left unchanged. - AIGNNPOS, which includes additional positional features, does not show significant improvement for the pressure reconstruction tasks in WDNs. While positional features are helpful for algorithmic tasks as shown in the CLRS benchmark (Veličković et al., 2022), they do not appear to provide the same benefit here. Given these observations, we will use AIGNN in the following experiments, as it demonstrated the best performance in Table 1. <u>Table</u> <u>1:</u> <u>Relative</u> <u>reconstruction</u> <u>error</u> <u>of</u> <u>the</u> <u>reconstructor.</u> % Rel. error Rel. error (+) Rel. error (-) AIGNN 0.4092 _±_ 0.1032 0.4347 _±_ 0.0935 0.4081 _±_ 0.1042 AIGNNFT 0.4189 _±_ 0.1693 0.4279 _±_ 0.1596 0.4185 _±_ 0.1707 AIGNNPOS 0.6526 _±_ 0.1335 0.6225 _±_ 0.1257 0.6539 _±_ 0.1341 _5.3._ _Pressure_ _Reconstruction_ _and_ _Prediction_ As demonstrated in Section 4, our approach consists of two steps: (1) pressure reconstruction and prediction, and (2) residual analysis. In this section, we first evaluate the performance of AIGNN on the pressure reconstruction and prediction tasks. Since the processor in AIGNN is pre-trained with algorithmic trajectories and kept fixed afterward, AIGNN mainly relies on the max-flow property of the network to infer the pressure. Thus, we hypothesize that AIGNN extracts different semantic information from the pressure measurements compared to ChebNet. Motivated by this, we propose two approaches that incorporate the information extracted by AIGNN into ChebNet, namely ChebNetIN and ChebNetEMB. Specifically, ChebNetIN augments the AIGNN 18 embedding as additional input while ChebNetEMB augments the AIGNN embedding as an additional embedding before the last layer. The comparative results of the above models for pressure reconstruction and prediction are showcased in Table 2 and Table 3, respectively. From the results, we observe that AIGNN outperforms ChebNet in both pressure reconstruction and pressure prediction, indicating that the algorithmic knowledge embedded in AIGNN is more effective for inferring the pressure of the WDN. The fact that both ChebNetIN and ChebNetEMB outperform AIGNN and ChebNet validates our hypothesis that the semantic information extracted by AIGNN differs from that extracted by ChebNet. Moreover, the additional improvement achieved by ChebNetIN and ChebNetEMB indicates that AIGNN can effectively serve as an auxiliary model, enhancing the performance of existing models. <u>Table</u> <u>2:</u> <u>Relative</u> <u>reconstruction</u> <u>error</u> <u>of</u> <u>the</u> <u>reconstructor.</u> % Rel. error Rel. error (+) Rel. error (-) ChebNet 0.4575 _±_ 0.1067 0.4280 _±_ 0.1144 0.4588 _±_ 0.1069 AIGNN 0.4092 _±_ 0.1032 0.4347 _±_ 0.0935 0.4081 _±_ 0.1042 ChebNetIN 0.3645 _±_ 0.1307 0.3433 _±_ 0.1348 0.3654 _±_ 0.1306 ChebNetEMB 0.2392 _±_ 0.0339 0.2342 _±_ 0.0375 0.2394 _±_ 0.0341 <u>Table</u> <u>3:</u> <u>Relative</u> <u>prediction</u> <u>error</u> <u>of</u> <u>the</u> <u>predictor.</u> % Rel. error Rel. error (+) Rel. error (-) ChebNet 0.3774 _±_ 0.1588 0.3905 _±_ 0.1784 0.3769 _±_ 0.1581 AIGNN 0.3249 _±_ 0.0685 0.3271 _±_ 0.0633 0.3248 _±_ 0.0691 ChebNetIN 0.2964 _±_ 0.0874 0.2877 _±_ 0.0886 0.2968 _±_ 0.0874 ChebNetEMB 0.2077 _±_ 0.0074 0.2126 _±_ 0.0153 0.2075 _±_ 0.0073 _5.4._ _Evaluation_ _of_ _the_ _generalization_ _ability_ To validate the generalization ability of the models, we conduct experiments on different configurations of sensor locations, training the models on only one sensor configuration. Standard approaches typically fail to generalize in such setups. We hypothesize that the processor in our approach may have captured more general information about the system flow, enabling it to transfer effectively to other sensor configurations. Specifically, we first train the model using the default sensor placement provided in the dataset. Then, we test the model on scenarios with random sensor placement, maintaining the same number of sensors. We conduct experiments with five different sensor placements and report the average results with standard deviation in Table 4 The results indicate that the three algorithm-informed models, i.e., AIGNN, ChebNetIN, 19 and ChebNetEMB, perform better than the ChebNet model, suggesting that algorithmic knowledge positively contributes to generalization capabilities of the models. Among these three algorithm-informed models, ChebNetEMB performs the worst, as it only incorporates the algorithm information before the last layer, leaving most of the reasoning process to the non-algorithmic part. Conversely, ChebNetIN achieves the best generalization performance since it uses the AIGNN embedding as input, forcing the model to focus more on the generalizable algorithmic information. The promising results obtained with ChebNetIN also imply the potential of using AIGNN as an auxiliary enhancement for other existing methods. <u>Table</u> <u>4:</u> <u>Relative</u> <u>reconstruction</u> <u>error</u> <u>with</u> <u>different</u> <u>sensor</u> <u>configurations.</u> % Rel. error Rel. error (+) Rel. error (-) ChebNet 17.065 _±_ 1.7626 14.778 _±_ 2.9329 17.165 _±_ 1.7125 AIGNN 9.3255 _±_ 0.6601 9.0211 _±_ 2.2847 9.3389 _±_ 0.6106 ChebNetIN 2.2823 _±_ 0.5074 3.1819 _±_ 0.7282 2.2427 _±_ 0.5077 ChebNetEMB 11.085 _±_ 1.3645 11.449 _±_ 2.7778 11.069 _±_ 1.3981 _5.5._ _Leakage_ _Detection_ To detect and localize the leakages, we first calculate the edge residual signal _r_ ¯ _uv_ <sup>(</sup> <sup>_E_</sup> <sup>)(</sup> <sup>_t_</sup> <sup>).</sup> <sup>Using data from 2018, during which 14 leakages occurred, we determine</sup> the threshold parameter _ξ_ . The sliding window size _s_ is set to 12, covering one hour. To tune the threshold parameter _ξ_, we initialize it as 3 and decrease it with intervals of 0.05 until at least 12 out of 14 leakages are detected. This parametertuning scheme is applied across all models to ensure a fair comparison, which allows us to evaluate different models’ ability to detect leakages. To reduce false alarms, a leakage is only reported if the residuals for the corresponding pipe exceed the threshold consecutively for six hours. After parameter-tuning using the data from 2018, we test the model using the data from 2019, during which 23 leakages occurred. The number of detected leakages along with the corresponding values of _ξ_, are summarized in Table 5. The results indicate that ChebNetIN and ChebNetEMB detect more leakages compared to ChebNet, demonstrating the benefits of incorporating additional algorithmic knowledge. These two models also exhibit larger values of _ξ_, suggesting that leakages are more discernible in ChebNetIN and ChebNetEMB compared to ChebNet and AIGNN. Although AIGNN had the most detected leakages in 2019, it is mainly due to its low _ξ_ value, which also resulted in numerous false alarms. The results highlight the importance of combining both algorithmic and non-algorithmic knowledge for effective leakage detection. 20 <u>Table</u> <u>5:</u> <u>Leakage</u> <u>detection</u> <u>performance</u> <u>comparison.</u> _ξ_ Deteced leakages (2018) Detected leakages (2019) ChebNet 1.2 12/14 15/23 AIGNN 0.25 12/14 22/23 ChebNetIN 1.4 12/14 17/23 ChebNetEMB 1.6 12/14 19/23 6. Conclusions In this paper, we propose Algorithm-Informed Graph Neural Networks (AIGNN) to address the leakage detection and localization problem in WDNs by leveraging Ford-Fulkerson algorithmic knowledge for solving max-flow problems. Beyond using AIGNN to directly tackle leakage detection and localization, its embeddings can also augment the input or intermediate embedding to existing GNN models. A case study on the _L_ -town network demonstrates the effectiveness and generalization ability of AIGNN. Integrating ChebNet with AIGNN results in additional performance and generalization improvements, indicating the potential of using algorithmic-informed models as auxiliary components in existing frameworks. This paper makes a significant step toward transferring algorithmic knowledge to solve engineering problems. The proposed approach can be easily transferred to help solve problems in other flow networks, such as transportation networks and communication networks. Additionally, the results suggest promising prospects for algorithm-informed neural networks in engineering applications, facilitating the development of more generalizable models and opening up new potential areas for future explorations. Acknowledgement This work has been supported by the Swiss National Science Foundation (SNSF) Grant 200021_200461. References Ashraf, I., Hermes, L., Artelt, A., Hammer, B., 2023. Spatial graph convolution neural networks for water distribution systems, in: International Symposium on Intelligent Data Analysis, Springer. pp. 29–41. Battaglia, P.W., Hamrick, J.B., Bapst, V., Sanchez-Gonzalez, A., Zambaldi, V., Malinowski, M., Tacchetti, A., Raposo, D., Santoro, A., Faulkner, R., et al., 2018. Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261 . Bellman, R., 1958. On a routing problem. Quarterly of applied mathematics 16, 87–90. 21 Beurer-Kellner, L., Vechev, M., Vanbever, L., Veličković, P., 2022. Learning to configure computer networks with neural algorithmic reasoning. Advances in Neural Information Processing Systems 35, 730–742. Bevilacqua, B., Nikiforou, K., Ibarz, B., Bica, I., Paganini, M., Blundell, C., Mitrovic, J., Veličković, P., 2023. Neural algorithmic reasoning with causal regularisation, in: International Conference on Machine Learning, PMLR. Cappart, Q., Chételat, D., Khalil, E.B., Lodi, A., Morris, C., Veličković, P., 2023. Combinatorial optimization and reasoning with graph neural networks. Journal of Machine Learning Research 24, 1–61. Chan, T.K., Chin, C.S., Zhong, X., 2018. Review of current technologies and proposed intelligent methodologies for water distributed network leakage detection. Ieee Access 6, 78846–78867. Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C., 2022. Introduction to algorithms. MIT press. Cugueró-Escofet, M.À., Quevedo, J., Alippi, C., Roveri, M., Puig, V., García, D., Trovò, F., 2016. Model-vs. data-based approaches applied to fault diagnosis in potable water supply networks. Journal of Hydroinformatics 18, 831–850. Dudzik, A.J., Veličković, P., 2022. Graph neural networks are dynamic program mers. Advances in Neural Information Processing Systems 35, 20635–20647. Fang, Q., Zhang, J., Xie, C., Yang, Y., 2019. Detection of multiple leakage points in water distribution networks based on convolutional neural networks. Water Supply 19, 2231–2239. Ford, L., 1956. Network flow theory. Rand Corporation Paper, Santa Monica, 1956 . Ford, L.R., Fulkerson, D.R., 1956. Maximal flow through a network. Canadian journal of Mathematics 8, 399–404. Garðarsson, G.Ö., Boem, F., Toni, L., 2022. Graph-based learning for leak de tection and localisation in water distribution networks. IFAC-PapersOnLine 55, 661–666. Georgiev, D., Lió, P., 2020. Neural bipartite matching. arXiv preprint arXiv:2005.11304 . Georgiev, D., Vinas, R., Considine, S., Dumitrascu, B., Lio, P., 2023. Narti: Neural algorithmic reasoning for trajectory inference, in: The 2023 ICML Workshop on Computational Biology. Gilmer, J., Schoenholz, S.S., Riley, P.F., Vinyals, O., Dahl, G.E., 2017. Neu ral message passing for quantum chemistry, in: International conference on machine learning, PMLR. pp. 1263–1272. 22 Grötschla, F., Mathys, J., Wattenhofer, R., 2022. Learning graph algorithms with recurrent graph neural networks. arXiv preprint arXiv:2212.04934 . Gupta, A., Bokde, N., Marathe, D., Kulat, K., 2017. Leakage reduction in water distribution systems with efficient placement and control of pressure reducing valves using soft computing techniques. Engineering, Technology & Applied Science Research 7, 1528–1534. Hajgató, G., Gyires-Tóth, B., Paál, G., 2021. Reconstructing nodal pressures in water distribution systems with graph neural networks. arXiv preprint arXiv:2104.13619 . Hamrick, J.B., Allen, K.R., Bapst, V., Zhu, T., McKee, K.R., Tenenbaum, J.B., Battaglia, P.W., 2018. Relational inductive bias for physical construction in humans and machines. arXiv preprint arXiv:1806.01203 . Harris, T., Ross, F., 1955. Fundamentals of a method for evaluating rail net capacities. Technical Report. Rand Corporation. Ibarz, B., Kurin, V., Papamakarios, G., Nikiforou, K., Bennani, M., Csordás, R., Dudzik, A.J., Bošnjak, M., Vitvitskyi, A., Rubanova, Y., et al., 2022. A generalist neural algorithmic learner, in: Learning on Graphs Conference, PMLR. pp. 2–1. Islam, M.R., Azam, S., Shanmugam, B., Mathur, D., 2022. A review on current technologies and future direction of water leakage detection in water distribution network. IEEE Access . Laucelli, D., Romano, M., Savić, D., Giustolisi, O., 2016. Detecting anomalies in water distribution networks using epr modelling paradigm. Journal of Hydroinformatics 18, 409–427. Li, Z., Liu, H., Zhang, C., Fu, G., 2024. Real-time water quality prediction in water distribution networks using graph neural networks with sparse monitoring data. Water Research 250, 121018. Liemberger, R., Wyatt, A., 2019. Quantifying the global non-revenue water problem. Water Supply 19, 831–837. de Luca, A.B., Fountoulakis, K., 2024. Simulation of graph algorithms with looped transformers. arXiv preprint arXiv:2402.01107 . Mahdavi, S., Swersky, K., Kipf, T., Hashemi, M., Thrampoulidis, C., Liao, R., 2023. Towards better out-of-distribution generalization of neural algorithmic reasoning tasks. Transactions on Machine Learning Research . Minder, J., Grötschla, F., Mathys, J., Wattenhofer, R., 2023. Salsa-clrs: A sparse and scalable benchmark for algorithmic reasoning, in: The Second Learning on Graphs Conference. 23 Montgomery, B., Meng, L., Alexandra, S., Shuiwang, J., 2024. On the markov property of neural algorithmic reasoning: Analyses and methods, in: The Twelfth International Conference on Learning Representations. Mounce, S.R., Mounce, R.B., Boxall, J.B., 2011. Novelty detection for time series data analysis in water distribution systems using support vector machines. Journal of hydroinformatics 13, 672–686. Numeroso, D., Bacciu, D., Veličković, P., 2023. Dual algorithmic reasoning, in: The Eleventh International Conference on Learning Representations. Puust, R., Kapelan, Z., Savic, D., Koppel, T., 2010. A review of methods for leakage management in pipe networks. Urban Water Journal 7, 25–45. Rodionov, G., Prokhorenkova, L., 2024. Discrete neural algorithmic reasoning. arXiv preprint arXiv:2402.11628 . Romero-Ben, L., Alves, D., Blesa, J., Cembrano, G., Puig, V., Duviella, E., 2022. Leak localization in water distribution networks using data-driven and model-based approaches. Journal of Water Resources Planning and Management 148, 04022016. Romero-Ben, L., Alves, D., Blesa, J., Cembrano, G., Puig, V., Duviella, E., 2023. Leak detection and localization in water distribution networks: Review and perspective. Annual Reviews in Control . Sanz, G., Pérez, R., Kapelan, Z., Savic, D., 2016. Leak detection and localiza tion through demand components calibration. Journal of Water Resources Planning and Management 142, 04015057. Soldevila, A., Blesa, J., Jensen, T.N., Tornil-Sin, S., Fernández-Cantí, R.M., Puig, V., 2020. Leak localization method for water-distribution networks using a data-driven model and dempster–shafer reasoning. IEEE transactions on control systems technology 29, 937–948. Sophocleous, S., Savić, D., Kapelan, Z., 2019. Leak localization in a real wa ter distribution network based on search-space reduction. Journal of Water Resources Planning and Management 145, 04019024. Steffelbauer, D.B., Deuerlein, J., Gilbert, D., Abraham, E., Piller, O., 2022. Pressure-leak duality for leak detection and localization in water distribution systems. Journal of Water Resources Planning and Management 148, 04021106. Sukhbaatar, S., Weston, J., Fergus, R., et al., 2015. End-to-end memory net works. Advances in neural information processing systems 28. Truong, H., Tello, A., Lazovik, A., Degeler, V., 2023. Graph neural networks for pressure estimation in water distribution systems. arXiv preprint arXiv:2311.10579 . 24 Veličković, P., Badia, A.P., Budden, D., Pascanu, R., Banino, A., Dashevskiy, M., Hadsell, R., Blundell, C., 2022. The CLRS algorithmic reasoning benchmark, in: International Conference on Machine Learning, PMLR. pp. 22084– 22102. Veličković, P., Blundell, C., 2021. Neural algorithmic reasoning. Patterns 2. Veličković, P., Buesing, L., Overlan, M., Pascanu, R., Vinyals, O., Blundell, C., 2020a. Pointer graph networks. Advances in Neural Information Processing Systems 33, 2232–2244. Veličković, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., Bengio, Y., 2018. Graph attention networks, in: International Conference on Learning Representations. Veličković, P., Ying, R., Padovano, M., Hadsell, R., Blundell, C., 2020b. Neu ral execution of graph algorithms, in: International Conference on Learning Representations. Vrachimis, S.G., Eliades, D.G., Taormina, R., Ostfeld, A., Kapelan, Z., Liu, S., Kyriakou, M., Pavlou, P., Qiu, M., Polycarpou, M.M., 2020. Battledim: Battle of the leakage detection and isolation methods, in: Proc., 2nd Int. CCWI/WDSA Joint Conf, pp. 1–6. Wan, X., Kuhanestani, P.K., Farmani, R., Keedwell, E., 2022. Literature review of data analytics for leak detection in water distribution networks: A focus on pressure and flow smart sensors. Journal of Water Resources Planning and Management 148, 03122002. Wang, J., Lan, C., Liu, C., Ouyang, Y., Qin, T., Lu, W., Chen, Y., Zeng, W., Philip, S.Y., 2022. Generalizing to unseen domains: A survey on domain generalization. IEEE transactions on knowledge and data engineering 35, 8052–8072. Wu, Z., Pan, S., Chen, F., Long, G., Zhang, C., Philip, S.Y., 2021. A com prehensive survey on graph neural networks. IEEE transactions on neural networks and learning systems 32, 4–24. Xhonneux, L.P., Deac, A.I., Veličković, P., Tang, J., 2021. How to transfer algorithmic reasoning knowledge to learn new algorithms? Advances in Neural Information Processing Systems 34, 19500–19512. Xing, L., Sela, L., 2022. Graph neural networks for state estimation in water distribution systems: Application of supervised and semisupervised learning. Journal of Water Resources Planning and Management 148, 04022018. Xu, K., Hu, W., Leskovec, J., Jegelka, S., 2019. How powerful are graph neural networks?, in: International Conference on Learning Representations. 25 Xu, K., Li, J., Zhang, M., Du, S.S., Kawarabayashi, K.i., Jegelka, S., 2020. What can neural networks reason about?, in: International Conference on Learning Representations. Xu, K., Zhang, M., Li, J., Du, S.S., Kawarabayashi, K.I., Jegelka, S., 2021. How neural networks extrapolate: From feedforward to graph neural networks, in: International Conference on Learning Representations. Zaheer, M., Kottur, S., Ravanbakhsh, S., Poczos, B., Salakhutdinov, R.R., Smola, A.J., 2017. Deep sets. Advances in neural information processing systems 30. Zanfei, A., Brentan, B.M., Menapace, A., Righetti, M., Herrera, M., 2022. Graph convolutional recurrent neural networks for water demand forecasting. Water Resources Research 58, e2022WR032299. Zhou, X., Tang, Z., Xu, W., Meng, F., Chu, X., Xin, K., Fu, G., 2019. Deep learning identifies accurate burst locations in water distribution networks. Water research 166, 115058. 26

섹션 본문

섹션 본문이 없습니다.

참고문헌 44건

  1. Leak Detection and Localization through Demand Components Calibration Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2015 10.1061/(asce)wr.1943-5452.0000592
  2. A review of methods for leakage management in pipe networks Urban Water Journal · Taylor & Francis · 2010 10.1080/15730621003610878
  3. Novelty detection for time series data analysis in water distribution systems using support vector machines Journal of Hydroinformatics · IWA Publishing · 2010 10.2166/hydro.2010.144
  4. On a routing problem Quarterly of Applied Mathematics · Brown University · 1958 10.1090/qam/102435
  5. Detecting anomalies in water distribution networks using EPR modelling paradigm Journal of Hydroinformatics · IWA Publishing · 2015 10.2166/hydro.2015.113
  6. Model- vs. data-based approaches applied to fault diagnosis in potable water supply networks Journal of Hydroinformatics · IWA Publishing · 2016 10.2166/hydro.2016.218
  7. Leakage Reduction in Water Distribution Systems with Efficient Placement and Control of Pressure Reducing Valves Using Soft Computing Techniques Engineering Technology & Applied Science Research · Engineering, Technology & Applied Science Research · 2017 10.48084/etasr.1032
  8. Relational inductive biases, deep learning, and graph networks arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1806.01261
  9. Quantifying the global non-revenue water problem Water Science & Technology Water Supply · IWA Publishing · 2018 10.2166/ws.2018.129
  10. Review of Current Technologies and Proposed Intelligent Methodologies for Water Distributed Network Leakage Detection IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2885444
  11. A Bayesian model updating approach for detection-related problems in water distribution networks Reliability Engineering & System Safety · Elsevier BV · 2018 10.1016/j.ress.2018.12.014
  12. A Comprehensive Survey on Graph Neural Networks IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tnnls.2020.2978386
  13. Leak Localization in a Real Water Distribution Network Based on Search-Space Reduction Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2019 10.1061/(asce)wr.1943-5452.0001079
  14. End-To-End Memory Networks arXiv (Cornell University) · Cornell University · 2015
  15. Detection of multiple leakage points in water distribution networks based on convolutional neural networks Water Science & Technology Water Supply · IWA Publishing · 2019 10.2166/ws.2019.105
  16. Deep learning identifies accurate burst locations in water distribution networks Water Research · Elsevier BV · 2019 10.1016/j.watres.2019.115058
  17. Leak Localization Method for Water-Distribution Networks Using a Data-Driven Model and Dempster–Shafer Reasoning IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcst.2020.2982349
  18. Neural algorithmic reasoning Patterns · Elsevier BV · 2021 101016jpatter2021100273
  19. Combinatorial Optimization and Reasoning with Graph Neural Networks Archivio istituzionale della ricerca (Alma Mater Studiorum Università di Bologna) · Istituto di Ematologia di Bologna · 2021 10.24963/ijcai.2021/595
  20. Generalizing to Unseen Domains: A Survey on Domain Generalization 2021 10.24963/ijcai.2021/628
  21. How to transfer algorithmic reasoning knowledge to learn new algorithms? arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2110.14056
  22. Leak Localization in Water Distribution Networks Using Data-Driven and Model-Based Approaches Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2022 10.1061/(asce)wr.1943-5452.0001542
  23. Pressure-Leak Duality for Leak Detection and Localization in Water Distribution Systems Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2021 10.1061/(asce)wr.1943-5452.0001515
  24. Maximal Flow Through a Network Canadian Journal of Mathematics · Cambridge University Press · 1956 10.4153/cjm-1956-045-5
  25. Graph Neural Networks for State Estimation in Water Distribution Systems: Application of Supervised and Semisupervised Learning Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2022 10.1061/(asce)wr.1943-5452.0001550
  26. Graph Neural Networks are Dynamic Programmers arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2203.15544
  27. Graph Convolutional Recurrent Neural Networks for Water Demand Forecasting Water Resources Research · Wiley · 2022 10.1029/2022wr032299
  28. Reconstructing nodal pressures in water distribution systems with graph\n neural networks arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2104.13619
  29. Neural Bipartite Matching arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2005.11304
  30. Literature Review of Data Analytics for Leak Detection in Water Distribution Networks: A Focus on Pressure and Flow Smart Sensors Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2022 10.1061/(asce)wr.1943-5452.0001597
  31. Graph-Based Learning for Leak Detection and Localisation in Water Distribution Networks* IFAC-PapersOnLine · Elsevier BV · 2022 10.1016/j.ifacol.2022.07.203
  32. Pointer Graph Networks arXiv (Cornell University) · Cornell University · 2020
  33. Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Tasks arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2211.00692
  34. Learning to Configure Computer Networks with Neural Algorithmic Reasoning arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2211.01980
  35. Learning Graph Algorithms With Recurrent Graph Neural Networks arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2212.04934
  36. A Review on Current Technologies and Future Direction of Water Leakage Detection in Water Distribution Network IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3212769
  37. Leak detection and localization in water distribution networks: Review and perspective Annual Reviews in Control · Elsevier BV · 2023 10.1016/j.arcontrol.2023.03.012
  38. Introduction to Algorithms Texts in computer science · Springer International Publishing · 2023 10.1007/978-3-031-26212-8_4
  39. Real-time water quality prediction in water distribution networks using graph neural networks with sparse monitoring data Water Research · Elsevier BV · 2023 10.1016/j.watres.2023.121018
  40. Discrete Neural Algorithmic Reasoning arXiv (Cornell University) · Cornell University · 2024 10.48550/arxiv.2402.11628
  41. Graph Neural Networks for Pressure Estimation in Water Distribution Systems Water Resources Research · Wiley · 2024 10.1029/2023wr036741
  42. Cascading Failure Analysis of Interdependent Water-Power Networks Based on Functional Coupling Reliability Engineering & System Safety · Elsevier BV · 2025 10.1016/j.ress.2025.110950
  43. Enhanced prediction of pipe failure through transient simulation-aided logistic regression Reliability Engineering & System Safety · Elsevier BV · 2025 10.1016/j.ress.2025.110913
  44. Fundamentals of a Method for Evaluating Rail Net Capacities 1955