Skip to article frontmatterSkip to article content

Game of Dependencies

CSIC
UCM
IGEO

Project Goals

My primary focus is on improving the modeling capabilities using modern data-driven methodologies. Most of the current work do manual feature extraction and reduce their statistical models to simple ones. I want to take a more data-driven approach whereby we encode as many different prior knowledge as possible into the model itself, and then use modern inference procedures to find the best parameters. These additions will hopefully encode more sensible knowledge of the underlying system whilst also respecting the data structure, e.g., spatial, temporal, covariate, dynamical and latent. To deal with the small number of samples and inherent uncertainty, we’ll adopt the pragmatic Bayesian inference methods, e.g., MCMC and for the larger number of samples, we’ll adopt more approximate Bayesian inference methods, e.g., variational inference. I hope the tools built here for will be useful for dealing with extremes for Earth sciences in general.

Note: this page severely lacks any scientific reasoning and understanding. I will leave this up for discussion with my colleagues at a later time.


Revisiting Foundations

Part I of this project is to revisit some of the basics of EVT and implement them within a modern framework. We examine the basics for extracting extreme values including the block maxima and the peak of thresholds. We will look at the basics for modeling extreme values including using custom distributions, e.g., GEVD, GPD, and Poisson processes. We will use some of the standard and SOTA Bayesian inference methods using modern PPLs. See Basis for more information.

Data Representation:ynRDyD={yn}n=1N,N=NtObservation Likelihood:yp(yθ)Parameter:θp(θ)\begin{aligned} \text{Data Representation}: && && y_n &\in\mathbb{R}^{D_y} && && \mathcal{D} = \{ y_n \}_{n=1}^N, && && N = N_t \\ \text{Observation Likelihood}: && && y &\sim p(y|\boldsymbol{\theta}) \\ \text{Parameter}: && && \boldsymbol{\theta} &\sim p(\boldsymbol{\theta}) \end{aligned}

Safe Goal

Reimplement the methods proposed in Philip et al, 2020 where they fitted GEVD and GPD on temperature and precipitation data. Instead, we will use more advanced methods for Bayesian inference to improve the parameter uncertainty quantification. We will demonstrate the ease and speed of use using modern PPLs.

What’s Been Done. The original paper showcased different parametric models of extreme values of temperature and precipitation. The authors explored different ways of implementing process parameterizations. For example, the authors explored process parameterizations which take a linear or exponential forms. They also explored covariates like time and/or temperature.

Data Representation We will continuous to use simple representations by assuming the time series is IID. A major difference between this goal and the above goal is to investigate some of the potential covariates which can help separate the dependencies.

D={yn}n=1N,ynRDyN=NsNt \begin{aligned} \mathcal{D} = \{ y_n\}_{n=1}^N, && && y_n\in\mathbb{R}^{D_y}&& && N=N_sN_t \end{aligned}

So we will avoid spatiotemporal aggregation (when possible).

Model Formulation. We will use a hierarchical Bayesian model to try and separate the dependencies viaa hierarchy of parameters. We will include these covariates inside the process parameterization.

Data Likelihood:yp(yθ,x,s,t,α)Process Parameterization:θp(θx,s,t,α)Prior Process Hyperparameters:αp(α) \begin{aligned} \text{Data Likelihood}: && && \boldsymbol{y} &\sim p(\boldsymbol{y}|\boldsymbol{\theta},\boldsymbol{x},\mathbf{s},t,\boldsymbol{\alpha})\\ \text{Process Parameterization}: && && \boldsymbol{\theta} &\sim p(\boldsymbol{\theta}|\boldsymbol{x},\mathbf{s},t,\boldsymbol{\alpha})\\ \text{Prior Process Hyperparameters}: && && \boldsymbol{\alpha} &\sim p(\boldsymbol{\alpha}) \end{aligned}

What’s Lacking. They do not focus on the inference methods that can be used to find the parameters. As far as I see, there is no uncertainty quantification in the parameters of the process nor the hyperparameters of these processes.

Proposed Improvement. Like the above section, we will use modern PPLs which include advanced inference methods. In addition, we will thoroughly explore the parameter distributions for the processes and hyperparameters.


Stretch Goal

Reimplement the methods proposed in (Garcia et al, 2023, Chen et al, 2022, Mahmoudian & Mahammadzadeh, 2014, ).

What’s Been Done. These papers are an excellent introduction to incorporating spatial considerations when modeling extremes. The parameterization of the GEVD/GPD is decomposed into a covariate process and a spatial process. In general, these papers adopt a In general, these papers adopt a non-parametric approach to modeling the spatial processes parameters

This is the method used in (Garcia et al, 2023, Chen et al, 2022).

Data Likelihood:yp(yθ,f,x,s,t,ϕ,α)Non-Parametric Parameterization:θp(θf,x,s,t,ϕ,α)Spatial Process:fGP(μϕ(x),kα([s,t],[s,t]))Mean Function Hyperparameters:αp(α)Covariance Function Hyperparameters:ϕp(ϕ)\begin{aligned} \text{Data Likelihood}: && && \boldsymbol{y} &\sim p(\boldsymbol{y}|\boldsymbol{\theta},\boldsymbol{f},\boldsymbol{x},\mathbf{s},t,\boldsymbol{\phi},\boldsymbol{\alpha}) \\ \text{Non-Parametric Parameterization}: && && \boldsymbol{\theta} &\sim p(\boldsymbol{\theta}|\boldsymbol{f},\boldsymbol{x},\mathbf{s},t,\boldsymbol{\phi},\boldsymbol{\alpha})\\ \text{Spatial Process}: && && \boldsymbol{f} &\sim \mathcal{GP} \left(\boldsymbol{\mu_\phi}(\boldsymbol{x}), \boldsymbol{k_\alpha}([\mathbf{s},t],[\mathbf{s}',t'])\right) \\ \text{Mean Function Hyperparameters}: && && \boldsymbol{\alpha} &\sim p(\boldsymbol{\alpha}) \\ \text{Covariance Function Hyperparameters}: && && \boldsymbol{\phi} &\sim p(\boldsymbol{\phi}) \end{aligned}

Proposed Improvements. We can reimplement some of the methods shown by the above papers including some of the speed-ups introduced. We can also utilize some simpler methods which make use of parametric methods instead of the (potentially) expensive GP model.


Bold Goal

Reimplement the methods proposed in [ Mahmoudian & Mahammadzadeh, 2014, Heurta & Sanso, 2007]. These methods focus on using state space models as parameterizations of the GEVD and/or GPD.

What’s Been Done. These papers are an excellent introduction to incorporating time dynamics when considering modeling extremes. In particular, (Mahmoudian & Mahammadzadeh, 2014) provide an excellent demonstration whereby they showcase how one could model a spatial field as independent entities. This corresponds to the methods proposed within the stretch goal that are outlined above. Then, they subsequently show how one could model it as a Bayesian linear dynamical system.

In general, both papers make use of a process parameterization which is governed by a Gaussian process. However, the mean is time dependent which is governed by a latent dynamical model. Admittedly, this method starts to get very confusing very quickly because there are hierarchical processes everywhere.

Parametric Method
Semi-Parametric

This is the method used in (Heurta & Sanso, 2007).

Observation Likelihood:ytp(ytθt,αt)Parameterization:θtp(θtzt,αt)Latent Dynamics:ztp(zt1αt)Latent Dynamics Hyper-Parameters:αtp(αt)\begin{aligned} \text{Observation Likelihood}: && && \boldsymbol{y}_t &\sim p(\boldsymbol{y}_t|\boldsymbol{\theta}_t,\boldsymbol{\alpha}_t) \\ \text{Parameterization}: && && \boldsymbol{\theta}_t &\sim p(\boldsymbol{\theta}_t|\boldsymbol{z}_t,\boldsymbol{\alpha}_t)\\ \text{Latent Dynamics}: && && \boldsymbol{z}_t &\sim p(\boldsymbol{z}_{t-1}|\boldsymbol{\alpha}_t)\\ \text{Latent Dynamics Hyper-Parameters}: && && \boldsymbol{\alpha}_t &\sim p(\boldsymbol{\alpha}_t) \end{aligned}

Proposed Improvement. We will reimplement the same methodology as proposed in [ Mahmoudian & Mahammadzadeh, 2014, Heurta & Sanso, 2007] but applied to extremes for climate variables. We will utilize the same PPL software that was mentioned in the above goals. For the dynamical system, we will use some simple filtering approaches such as Kalman filters. However, we could also implement some other methods that use dynamical systems, e.g., NeuralODEs (Chen et al, 2018) (see example) or Universal DE (Kackauckas et al, 2021).


Moon Goal

Add a DL method which uses an autoregressive approach to predictions. We can directly modify/re-use this model to train on extremes.

Autoregressive Model:ut=fθ(ut1,t)+ηtProcess Model:θt=hθ(ut,t)+εtExtreme Data Model:ytp(ytθt)\begin{aligned} \text{Autoregressive Model}: && && \boldsymbol{u}_t &= \boldsymbol{f_\theta}(\boldsymbol{u}_{t-1},t) + \boldsymbol{\eta}_t \\ \text{Process Model}: && && \boldsymbol{\theta}_t &= \boldsymbol{h_\theta}({\boldsymbol{u}_t,t}) + \boldsymbol{\varepsilon}_t \\ \text{Extreme Data Model}: && && \boldsymbol{y}_t &\sim p(\boldsymbol{y}_t|\boldsymbol{\theta}_t) \end{aligned}

where ut\boldsymbol{u}_t is a covariate of interest, e.g., temperature, θt\boldsymbol{\theta}_t is the parameterization of the GEVD/GPD, and yt\boldsymbol{y}_t is the observation for the extreme value.

What’s Missing. Currently the AI methods have only been used on weather. However, there has been very little exploration into how these mega-models can be reused for climate and even less attention for detection and attribution of extremes.

Proposed Method. The advantage of this method is that we can potentially utilize pretrained models for specific covariates, e.g., temperature, precipitation, over large scales and reuse them as dynamical models. We will largely follow the bold goal except we won’t need to

References
  1. Philip, S., Kew, S., van Oldenborgh, G. J., Otto, F., Vautard, R., van der Wiel, K., King, A., Lott, F., Arrighi, J., Singh, R., & van Aalst, M. (2020). A protocol for probabilistic extreme event attribution analyses. Advances in Statistical Climatology, Meteorology and Oceanography, 6(2), 177–203. 10.5194/ascmo-6-177-2020
  2. García, J. A., Acero, F. J., & Portero, J. (2023). A Bayesian hierarchical spatio-temporal model for extreme temperatures in Extremadura (Spain) simulated by a Regional Climate Model. Climate Dynamics, 61(3–4), 1489–1503. 10.1007/s00382-022-06638-x
  3. Chen, M., Ramezan, R., & Lysy, M. (2021). Fast and Scalable Inference for Spatial Extreme Value Models. arXiv. 10.48550/ARXIV.2110.07051
  4. Mahmoudian, B., & Mohammadzadeh, M. (2014). A spatio-temporal dynamic regression model for extreme wind speeds. Extremes, 17(2), 221–245. 10.1007/s10687-014-0180-2
  5. Huerta, G., & Sansó, B. (2007). Time-varying models for extreme values. Environmental and Ecological Statistics, 14(3), 285–299. 10.1007/s10651-007-0014-3