Enabling Uncertainty-Aware Time-Series Forecasting in Federated Learning for Urban Water Dynamics

Golnoosh Abdollahinejad, Patrik Okanovic, Denisa-Andreea Constantinescu, Sergey Shevchik, Torsten Hoefler, David AtienzaForecast @ ICML 2026

Urban water management is a high-stakes game of "what if." If a storm hits, should a utility close a treatment-step inlet to prevent a flood? Should a city issue a beach-closure alarm due to sewer overflow? Making these calls requires precise forecasting, but there’s a catch: the data needed to build these models is often trapped in "silos." Different utilities own different sensors and, due to privacy policies or competition, they rarely pool their raw data.

A new paper from researchers at EPFL, Empa, and ETH Zurich, titled "Enabling Uncertainty-Aware Time-Series Forecasting in Federated Learning for Urban Water Dynamics," proposes a solution. They’ve extended the "AquaCast" transformer model to work across fragmented networks using Federated Learning, providing not just a single prediction, but a calibrated range of possibilities.

TL;DR

The researchers developed a federated transformer framework that allows multiple water utilities to collaboratively train forecasting models without sharing raw sensor data. By introducing a quantile regression head, the model provides calibrated uncertainty intervals essential for risk-based decision-making, while remaining robust even when one large utility dominates a network of smaller ones.

What Problem Does This Paper Address?

Urban water systems are monitored by heterogeneous sensor networks (sewers, basins, treatment plants). To manage city-scale risks like flooding, you need a "world model" of how water moves. However, two major hurdles exist:

  1. Data Fragmentation: Privacy and ownership policies prevent the pooling of raw sensor data into a central server.
  2. Uncertainty: A "point estimate" (e.g., "the water level will be 2 meters") isn't enough for a controller. They need to know the probability of an overflow to decide whether to trigger expensive or disruptive interventions.

Existing Federated Learning (FL) research in hydrology has been limited to small scales (usually under 20 clients) and hasn't adequately addressed the "skew" found in the real world, where one major utility might own most of the sensors while many small ones own just a few.

Methods

The authors build upon AquaCast, a transformer-based model designed for water dynamics. They introduce two key innovations:

  • Quantile Regression Head: Instead of predicting a single value, the model uses a multi-output head to estimate a set of quantiles (from 0.05 to 0.95). This is trained using a pinball loss function. This allows the model to produce "prediction intervals"—essentially a shaded area of uncertainty around the forecast.
  • Sensor-Disjoint Federated Learning: Using the FedAvg algorithm, the model is trained across distributed clients. Each client keeps its data local, only sharing model weight updates with a central server.
  • Narrow Feature-Partitioning: To handle scaling, they use a clever input scheme where the model's input width scales with the number of sensors owned by the largest client, rather than the total number of sensors in the entire city. This significantly reduces the communication overhead.

Datasets

The study evaluates the framework on three fronts:

  1. Lausanne Real-World Data: A small-scale dataset with 4 sensors from a real urban subnetwork.
  2. MeteoSwiss-Synthesized Data (S1, S3): Large-scale synthetic datasets (up to 1,000 sensors) based on real meteorological patterns.
  3. Lorenz Trajectories (S2, S4): Synthetic data based on chaotic dynamics to test the model's ability to capture complex physical interactions.

Key Insights and Ideas

  • The "Anchor" Effect: One of the most surprising findings was that client heterogeneity (skew) is actually a benefit. In a "Zipf-1" distribution (where one client is much larger than the rest), the large client acts as an "anchor" for the global model. It captures the core dynamics of the network, while smaller clients provide local corrections. This means real-world imbalances don't break the system; they might even help it.
  • Bandwidth Efficiency: By using "narrow partitioning," the communication cost per client drops drastically as the number of clients increases. For a 1,000-sensor network, moving from a centralized model to 100 federated clients reduced the per-round payload by 55x (from ~1.3 GB to ~24 MB).
  • Uncertainty vs. Accuracy: On real-world data, switching to a quantile head slightly reduced point-forecast accuracy (MSE) but provided much more valuable probabilistic information. In water management, knowing the "worst-case scenario" is often more important than being exactly right on average.

Key Results

  • Probabilistic Skill: The quantile head significantly outperformed a standard median-only estimate. On the Lausanne dataset, the Scaled Quantile Loss (SQL) improved from 0.2669 to 0.1743.
  • Scaling: The system maintained high forecasting skill even when scaled up to 100 clients and 1,000 sensors. The Mean Squared Error (MSE) remained stable even as each individual client saw a smaller and smaller fraction of the total network.
  • Robustness: In skewed ownership scenarios, the federated model matched or exceeded the performance of a perfectly equal (homogeneous) split across all tested configurations.

Limitations and Future Work

While a major step forward, the authors note several areas for improvement:

  • Privacy Guarantees: The current setup uses standard FedAvg, which assumes "honest-but-curious" clients. It doesn't yet incorporate formal Differential Privacy or Secure Aggregation to protect against sophisticated data-reconstruction attacks.
  • Synthetic Dominance: Most of the large-scale testing was done on synthetic data. Validating this on a real-world, multi-utility federation across different cities is the next logical step.
  • Closing the Loop: The paper focuses on the forecasting backbone. To create a true "world model" for autonomous water management, the system still needs an action interface (to simulate gate openings/closings) and a reward signal for reinforcement learning.

This work demonstrates that we don't have to choose between privacy and performance. By embracing the fragmented nature of urban infrastructure, we can build more resilient, uncertainty-aware systems for the cities of tomorrow.

Summary updated

BibTeX
@inproceedings{abdollahinejad2026enabling,
  author = {Golnoosh Abdollahinejad and Patrik Okanovic and Denisa-Andreea Constantinescu and Sergey Shevchik and Torsten Hoefler and David Atienza},
  title = {{Enabling Uncertainty-Aware Time-Series Forecasting in Federated Learning for Urban Water Dynamics}},
  booktitle = {Forecast @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=jm8DOafA7D},
}
Figure