Appraisal of data-driven and mechanistic emulators of nonlinear hydrodynamic urban drainage simulators

Juan Pablo Carbajal, João Paulo Leitão, Carlo Albert, Jörg Rieckermann · DOI

TL;DR

This paper compares two types of "emulators" (fast surrogate models) for complex urban drainage simulators: data-driven ones that learn from simulation outputs and mechanistic ones that incorporate the simulator's underlying physics. Surprisingly, in many urban scenarios, simpler data-driven methods outperform the more complex mechanistic ones, though mechanistic approaches show promise for specific challenges like extrapolation and sparse data.

What Problem Does This Paper Address?

Many scientific and engineering tasks, like real-time control of urban water systems or flood prediction, require running computationally expensive simulators many times. These simulators are often too slow for such applications. To overcome this, researchers use "emulators" – faster surrogate models that approximate the simulator's behavior. However, choosing the best emulation strategy is often subjective, and it's unclear when to use emulators that leverage the simulator's known physics (mechanistic) versus those that solely learn from data. This paper aims to provide a clear comparison to guide this choice.

Methods

The authors compare two main families of emulators:

  • Data-driven emulators: These models assume that the system's dynamics can be represented by a linear combination of time-varying features. They use techniques like Singular Value Decomposition (SVD) and Non-negative Matrix Factorization (NMF) to extract these features from simulation data. The coefficients of these features are then learned using Gaussian Processes (GPs). This approach decouples temporal interpolation from parameter space interpolation.
  • Mechanistic emulators (MEMs): These emulators explicitly incorporate knowledge of the simulator's underlying equations. They are built using Gaussian Processes (GPs) conditioned on a linear prior model derived from the simulator's dynamics (specifically, a linear stochastic ordinary differential equation - SODE). This allows them to capture the system's time evolution more directly.

Datasets

The paper uses three datasets for training and evaluation:

  • Nonlinear System Dataset I & II: These are synthetic datasets generated from a simplified nonlinear dynamical system. Dataset II is a mixed version of Dataset I, introducing smoothing that couples neighboring trajectories. These are used for illustrative purposes to showcase the core differences between the emulation approaches.
  • Wartegg catchment dataset: This dataset is generated from a calibrated SWMM (Storm Water Management Model) of a 2.64 km² urban catchment in Lucerne, Switzerland. It simulates water levels under various rainfall events and is used to evaluate performance on a more realistic hydrological scenario.
  • Adliswil catchment dataset: This dataset is generated from a SWMM model of a 1.63 km² urban catchment in Adliswil, Switzerland. It simulates inflow to a wastewater treatment plant based on different input parameters and is used to assess emulation for system identification tasks.

Key Insights and Ideas

  • Data-driven often wins in practice: Counterintuitively, for many urban drainage applications, simpler data-driven emulators (like NMF) can outperform more complex mechanistic emulators. This suggests that the "naive" approach of learning directly from data is often sufficient and more effective in these scenarios.
  • Mechanistic emulation shines with sparse data and extrapolation: While data-driven methods excel with abundant data, mechanistic emulators hold promise when data is scarce, unevenly sampled, or when the goal is to extrapolate beyond the training data (especially in time). Their ability to encode known physics provides a strong prior.
  • The "right" prior matters for MEMs: The performance of mechanistic emulators is heavily dependent on the quality of the prior mechanistic knowledge. If this prior is a poor representation of the simulator's true dynamics, the mechanistic emulator may not perform well.
  • Bridging the gap: The paper highlights the need to integrate advances in machine learning (like those not yet widely adopted in environmental science) with Bayesian methods to improve emulation techniques.

Key Results

  • In the Wartegg catchment dataset, NMF emulators showed lower MAE and RMSE compared to a mechanistic emulator (MEM). The NMF emulator also achieved a significant speed-up factor.
  • For the Adliswil catchment dataset, a SVD emulator (a data-driven approach) also outperformed a mechanistic emulator, particularly in terms of error metrics.
  • The synthetic "Nonlinear System Dataset I" demonstrated that a mechanistic emulator could accurately reconstruct the system's behavior, especially when data was sparse, outperforming a basic SVD emulator that relied on linear time interpolation. However, for "Nonlinear System Dataset II," a MEM with a fitted proxy performed similarly to a SVD emulator.

Limitations and Future Work

  • Linearity constraint of MEMs: The current mechanistic emulators are constrained by linear prior models, which may not fully capture complex nonlinear dynamics. The paper suggests exploring nonlinear prior models or hybrid approaches.
  • Parameter mapping challenges: Accurately mapping simulator parameters to emulator parameters is crucial for MEMs. When this mapping is not perfectly known, fitting proxy parameters to data (as shown in Figure 3b) can significantly improve performance.
  • Extrapolation potential: While mechanistic emulators show promise for extrapolation, their performance in this regard needs further quantification, especially when compared to advanced data-driven techniques.
  • Quantifying benefits: The authors emphasize the need to quantify the benefits of mechanistic emulation enhancements (like Wiener model proxies, nonlinear mean functions, and hybrid approaches) against the performance of simpler data-driven emulators.

Summary updated

Abstract

Many model based scientific and engineering methodologies, such as system identification, sensitivity analysis, optimization and control, require a large number of model evaluations. In particular, model based real-time control of urban water infrastructures and online flood alarm systems require fast prediction of the network response at different actuation and/or parameter values. General purpose urban drainage simulators are too slow for this application. Fast surrogate models, so-called emulators, provide a solution to this efficiency demand. Emulators are attractive, because they sacrifice unneeded accuracy in favor of speed. However, they have to be fine-tuned to predict the system behavior satisfactorily. Also, some emulators fail to extrapolate the system behavior beyond the training set. Although, there are many strategies for developing emulators, up until now the selection of the emulation strategy remains subjective. In this paper, we therefore compare the performance of two families of emulators for open channel flows in the context of urban drainage simulators. We compare emulators that explicitly use knowledge of the simulator's equations, i.e. mechanistic emulators based on Gaussian Processes, with purely data-driven emulators using matrix factorization. Our results suggest that in many urban applications, naive data-driven emulation outperforms mechanistic emulation. Nevertheless, we discuss scenarios in which we think that mechanistic emulation might be favorable for i) extrapolation in time and ii) dealing with sparse and unevenly sampled data. We also provide many references to advances in the field of Machine Learning that have not yet permeated into the Bayesian environmental science community.
BibTeX
@article{carbajal2017appraisal,
  author = {Juan Pablo Carbajal and João Paulo Leitão and Carlo Albert and Jörg Rieckermann},
  title = {{Appraisal of data-driven and mechanistic emulators of nonlinear hydrodynamic urban drainage simulators}},
  journal = {Environ. Model. Softw},
  year = {2017},
  doi = {10.1016/j.envsoft.2017.02.006},
}
Figure