NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bayesian parameter inference in hydrological modelling using a Hamiltonian Monte Carlo approach with a stochastic rain model

Simone Ulzega, Carlo Albert

Abstract

Stochastic models in hydrology are very useful and widespread tools for making reliable probabilistic predictions. However, such models are only accurate at making predictions if model parameters are first calibrated to measured data in a consistent framework such as the Bayesian one. Unfortunately, Bayesian parameter calibration is often a computationally intractable problem with traditional inference algorithms, such as the Metropolis algorithm, due to expensive likelihood functions. This work demonstrates that a computationally efficient Hamiltonian Monte Carlo (HMC) algorithm with a timescale separation makes Bayesian parameter inference with stochastic models feasible. We demonstrate the HMC approach by detailing a case study from urban hydrology, showing that sound calibration of model parameters is essential for making robust probabilistic predictions.

Introduction: The Challenge of Input Uncertainty

Hydrologists rely on rainfall-runoff models to predict everything from daily water availability to catastrophic floods. However, these models face a major hurdle: input uncertainty. Rain gauges are often sparse or far from the catchment area, leading to inaccurate data. To account for this, researchers use stochastic differential equation (SDE) models that treat rainfall and noise as random processes. While these models are more realistic, they are traditionally a nightmare to calibrate. The authors aim to bridge this gap by making fully-fledged Bayesian inference fast enough for real-world application.

Methodology: Stochastic Input Processes and HMC

The authors combine two powerful frameworks: the Stochastic Input Process (SIP) and Hamiltonian Monte Carlo (HMC). Instead of taking rain gauge data as absolute truth, they treat rainfall as a latent (unobserved) stochastic process—specifically a transformed Ornstein-Uhlenbeck process. This allows the model to "imagine" what the actual rainfall over the catchment looked like.

Unlike standard random-walk algorithms, HMC uses the gradient of the probability distribution to "glide" through the parameter space. The most innovative part is the "timescale separation": the system's dynamics are split into "fast" and "slow" components. Fast-varying noise is solved analytically, while slow-varying model parameters are integrated numerically, drastically reducing computational steps.

Table 1: Fixed parameters used in the Adliswil catchment model, including the catchment area (A).

The algorithm performs high-dimensional inference, estimating roughly 1,450 parameters simultaneously. This includes 1,441 points in the rainfall time series and 8 physical parameters, for which prior distributions are defined.

Table 2: Prior distributions (Log-Normal and Normal) for the eight physical parameters inferred in the study.

Case Study: Reconstructing Rainfall in Adliswil

The study uses a real-world case study from a small, fast-reacting urban sewer network in Adliswil, Switzerland. They tested a scenario (Sc2) where low-resolution data from a gauge 6 km away recorded a storm at the wrong time. One of the most striking findings is that the runoff data—how much water comes out of the pipe—is actually a better indicator of rainfall than a distant rain gauge. The HMC algorithm uses the "peaks" in the runoff data to reconstruct the "missing" rain events that the distant gauge failed to see.

Key Results and Speed

In the faulty scenario, the model successfully reconstructed a rainfall pattern that closely matched high-quality local data. The algorithm inferred the ~1,450 parameters in less than 2 hours on standard hardware. For comparison, traditional methods would often take days or require much simpler models to finish in the same timeframe. Furthermore, the method provides a probability distribution (uncertainty) for every parameter and every minute of the reconstructed rainfall.

Conclusion and Future Directions

This research demonstrates that high-dimensional Bayesian inference is no longer off-limits for hydrological applications. While the current model is "lumped" (treating the catchment as a single point), the HMC-SIP framework is general enough to be applied to any SDE-based model in ecology, finance, or physics where inputs are noisy. Future work will explore moving toward more complex, non-linear SDEs and larger, natural catchments.

Summary updated

BibTeX
@inproceedings{ulzega2023bayesian,
  author = {Simone Ulzega and Carlo Albert},
  title = {{Bayesian parameter inference in hydrological modelling using a Hamiltonian Monte Carlo approach with a stochastic rain model}},
  booktitle = {Hydrology},
  year = {2023},
  doi = {10.5194/hess-27-2935-2023},
}
Figure