Abstract
Water Distribution Networks (WDNs) are critical infrastructure facing significant challenges from aging components and climate-driven water scarcity. While traditional hydraulics-based models struggle with the "deep uncertainties" of modern urban landscapes, machine learning (ML) offers a flexible, data-driven alternative. This paper provides a comprehensive roadmap for applying ML to WDNs, mapping complex hydraulic engineering problems to classical ML tasks such as drift detection and feature selection. We highlight domain-specific challenges—including limited observability and strict safety requirements—and introduce the Automation Toolbox for ML in water Networks (ATMN) to facilitate high-quality data generation.
Introduction: The Crisis in Water Infrastructure
Water Distribution Networks are the backbone of modern civilization, yet they are currently facing an existential crisis. Climate change is increasing water scarcity globally, while aging infrastructure leads to massive losses through leaks. Traditionally, managing these networks relied on hydraulics-based models—complex systems of equations requiring precise knowledge of pipe diameters, age, and roughness.
However, these models are often too rigid to handle the dynamic uncertainties of changing urban environments. While ML presents a promising solution, the WDN domain remains difficult for researchers due to complex graph structures, extreme class imbalance (where leaks are rare but catastrophic), and strict regulatory requirements for safety and explainability. This survey acts as a bridge, translating hydraulic challenges into a language ML researchers can act upon.
Mapping Hydraulic Challenges to ML Tasks
The authors categorize WDN operations into four primary ML-compatible tasks, organized by their operational time horizon. These tasks range from short-term anomaly detection to long-term infrastructure planning.
- Anomaly Detection (as Drift Detection): Rather than simple binary classification, the paper argues for viewing leaks and sensor faults as "concept drift"—statistical changes in the data-generating distribution over time.
- Optimal Sensor Placement (as Feature Selection): Determining where to install expensive sensors is framed as a feature selection problem, aiming to maximize information gain for downstream monitoring.
- Demand Modeling (as Time Series Forecasting): Predicting water usage based on complex daily, weekly, and seasonal patterns.
- Long-Term Planning (as Optimization): Utilizing ML to assist in the multi-decade evolution of network topology and capacity.
For leakage detection specifically, the paper distinguishes between Prediction-Residual-Based approaches (supervised), which flag deviations from a predicted "normal" state, and Observation-Residual-Based approaches (unsupervised), which identify shifts by comparing statistical windows of data without requiring historical labels.
Data Scarcity and the ATMN Toolbox
Real-world WDN data is rarely public due to security and privacy concerns, forcing the field to rely heavily on simulation. Common benchmarks include LeakDB for leakage scenarios and BattLeDIM for realistic demand patterns.
To address the difficulty of generating diverse training sets, the authors contribute the Automation Toolbox for ML in water Networks (ATMN). This Python-based tool simplifies the creation of custom, parallelized simulation scenarios using the industry-standard EPANET engine, allowing researchers to bridge the gap between theoretical models and complex network layouts like "L-Town."
Key Insights and Future Directions
- The "Concept Drift" Lens: Formalizing anomalies as concept drift allows for more robust statistical monitoring than brittle "leak vs. no-leak" classifiers.
- Physics-Informed ML: There is significant untapped potential in "physics-informed" models, where hydraulic equations are integrated directly into a neural network's loss function to ensure physical consistency.
- The Observability Bottleneck: WDNs are typically sensor-sparse. ML models must be designed to operate effectively with very sparse graph data.
- Human-in-the-Loop Requirements: As critical infrastructure, WDN management requires explainable and fair AI. Models must comply with safety standards and the European AI Act to gain the trust of utility engineers.
Conclusion
While ML is currently a promising tool with limited real-world deployment, the transition toward unsupervised drift detection and physics-informed models is essential. Future work must focus on scaling these solutions from small benchmarks to realistic 900-pipe systems and ensuring that ML-driven water management is both fair and robust against the messy realities of sensor noise and illegal connections.
Summary updated