Skip to content

Menu

WorksMathematics

Incorporating non-linear mechanistic dynamics into spatio-temporal models via the SPDE approach

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_2qsxvpva. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

The stochastic partial differential equation (SPDE) approach has become a popular framework for efficiently constructing spatio-temporal Gaussian random fields, yet existing formulations are largely restricted to linear equations. In this work, we develop a framework for constructing spatio-temporal models from non-linear SPDEs, enabling mechanistic dynamics to be directly incorporated into the latent structure. We build on recent advances in iterated Integrated Nested Laplace Approximations (INLA) for non-linear models, extending them to perform state and parameter estimation for two-dimensional equations and accommodate a range of observation models beyond the Gaussian case. The approach is illustrated using a spatial logistic growth model for growing and dispersing populations. Through a simulation study with point pattern data, we demonstrate that the model improves parameter recovery and predictive performance relative to linear separable and diffusion-based alternatives. We apply the model to a case study of the Eurasian Collared Dove (Streptopelia decaocto) to demonstrate its use for invasive species. These results highlight the benefits of embedding non-linear dynamics within SPDE-based models, offering a flexible and computationally efficient framework for analysing complex spatio-temporal phenomena.

JASA-template.pdf

Introduction

Mechanistic models are widely used across the natural and physical sciences to represent processes based on established scientific principles and knowledge of the underlying mechanisms. Although these models can capture complex, non-linear dynamics, they are not primarily driven by data. In contrast, statistical models use data to infer patterns and quantify uncertainty, but they often provide limited insight into the processes generating the observed behaviour. Historically, these two modelling traditions have developed largely independently; however, increasing work has been done to combine mechanistic process understanding with data-driven inference.

Epidemiology has been a particularly active area for such developments, with many models integrating mechanistic descriptions of disease transmission with statistical inference (see, e.g., Lloyd-Smith et al., 2015 and the papers therein). These models are typically non-spatial, and when spatial structure is included it is usually represented on a discrete domain. Similar ideas have emerged in ecology through dynamic species distribution models, which incorporate population growth and range expansion processes into statistical frameworks (Pagel and Schurr, 2012; Hooten and Wikle, 2008). However, these approaches also generally rely on discrete grid-based representations of space. More recently, attention has shifted towards methods that operate over continuous spatial domains. Wikle et al. (2026) provides an overview of these emerging mechanistic-statistical approaches. Many recent methods are based on physics-informed neural networks, which can improve predictive performance but often sacrifice interpretability and may be less efficient and accurate than traditional finite-element approaches (Grossmann et al., 2024). Consequently, there remains a need for computationally efficient and interpretable methods that integrate non-linear mechanistic models with spatio-temporal statistical frameworks across continuous space. Furthermore, the many of the approaches mentioned above are restricted by a lack of general-use software for applied users (Swallow et al., 2022). In this paper, we address these challenges by developing a latent Gaussian SPDE framework for non-linear differential equations on two-dimensional continuous spatial domains. This can be used within R-INLA, a widely adopted and extensible platform for Bayesian inference (Rue et al., 2009; Lindgren and Rue, 2015).

Spatio-temporal statistics

Many real-world processes vary continuously across space and time, and spatio-temporal models allow us to understand and predict their behaviour (Habereder et al., 2026). Examples include the distribution of wildlife populations (e.g., Yuan et al., 2017), the spread of infectious diseases (e.g., Khan et al., 2026), and the dispersion of air pollutants (e.g., Cameletti et al., 2013). In these models, a common approach to representing continuous spatio-temporal dependence is to use latent Gaussian random fields (GRFs), typically specified using a covariance function, either separable (space and time are independent) and non-separable (space and time are dependent). Considerable effort has been devoted to the development of flexible families of spatio-temporal covariance functions capable of capturing complex dependence structures, such as the non-separable methods of Gneiting (2002) and Cressie and Huang (1999). However, specifying a covariance function directly can lead to substantial computational challenges — particularly for large spatio-temporal datasets, where dense covariance matrices require factorising (Louzada et al., 2025; Simpson et al., 2012). In recent years, these challenges have motivated the development of alternative representations of Gaussian fields (Lindgren et al., 2022). The Stochastic Partial Differential Equation (SPDE) approach [2] (Lindgren et al. 2011) offers one method for generating GRFs by representing Gaussian fields as solutions to differential equations using the finite element method, leading to sparse precision matrices and substantial computational gains.

This framework has been widely adopted due to its computational efficiency and inclusion in the R-INLA package (Rue et al., 2009; Lindgren and Rue, 2015). Recent work has begun to integrate mechanistic dynamics within the SPDE framework. Mandujano Reyes et al. (2024) showed that the diffusion extension of the Matérn equation is equivalent to an ecological diffusion equation, and could therefore be used as a model of disease spread, and Clarotto et al. (2024) used an advection-diffusion equation to model the mechanisms underpinning solar radiation data. Both these approaches created mechanism-informed geostatistical models that retains the computational efficiency of the sparse Gaussian Markov random field representation while incorporating knowledge of the underlying physical process.

However, existing SPDE-based approaches are limited to linear equations but many physical and biological systems are governed by non-linear processes. Incorporating such non-linear dynamics within the SPDE framework would extend its applicability and improve predictive power while retaining its computational advantages. Although recent work has demonstrated how non-linear differential equations can be incorporated into latent Gaussian models using iterated Integrated Nested Laplace Approximation (INLA), the methodology has so far been restricted to one-dimensional systems with Gaussian observations [1]. Many practical applications involve processes evolving over two-dimensional spatial domains with more complex observation processes (e.g. modelling the distribution of a species with semi-continuous data (Jones-Todd et al., 2017); modelling the spread of an infectious disease with active and passive surveillance (Nelli et al., 2020)), motivating the development of more generalised methods.

Contribution

In this work, we develop, for the first time, a two-dimensional extension of the latent Gaussian modelling framework for non-linear differential equations, allowing spatio-temporal random fields to be constructed directly from mechanistic descriptions of the underlying data-generating process. This allows scientifically meaningful parameters, such as growth or dispersal rates, to be estimated directly from data while accounting for uncertainty, and produces predictions that are constrained by the scientific principles governing the system.

We demonstrate the proposed framework with a specific example of the spatial logistic growth equation, one of the most widely used formulations in population dynamics and mathematical biology (Verhulst, 1844; Schurz, 2007; Karim et al., 2023). Our primary motivation for this example is to model increasing and dispersing wildlife populations, particularly invasive species colonising new areas, where local population growth and dispersal jointly drive colonisation of new areas. The logistic growth equation provides a natural framework for these dynamics because it incorporates both population expansion and density-dependent regulation through a local carrying capacity, a key feature of realistic invasion processes (Morris et al., 2013; Jones and Montz, 2020). Unlike conventional covariance-based approaches, incorporating local population growth directly into the model allows biological knowledge about reproduction and resource limitation to influence the spatio-temporal dependence structure. Although our focus is on invasive species, the logistic growth model is also applicable to a wide range of spatio-temporal phenomena, including infectious disease dynamics (Cramer, 2004; Shen, 2020) and wildfires (Podschwit et al., 2018).

In section 3.1, we use simulated data to demonstrate how the proposed model outperforms existing separable and non-separable spatial-temporal covariance models in parameter estimation and state prediction. In section 3.2, we apply the logistic growth model to a case study of the Eurasian Collared Dove (Streptopelia decaocto), an invasive species in North America. Alongside the methodological developments, we introduce the R package INLAloggrowth, which implements the proposed logistic growth model and makes it readily accessible for ecological applications. Built on inlabru ([2]) and R-INLA (Rue et al., 2009), it offers computationally efficient inference and flexible specification of observation models, making it well suited to a wide range of applications. The latent models implemented in INLAloggrowth can be used with the broad range of likelihood functions available in R-INLA, allowing alternative observation models to be explored with minimal changes to the code. The inlabru package allows for straightforward construction of joint models for different data sources and for non-linear predictors in the observation process. This is particularly valuable for ecological data, such as distance sampling (Yuan et al., 2017) and citizen science data (e.g., Panunzi et al., 2024; Pacifici et al., 2017).

Methods

The SPDE approach for linear models

The SPDE approach proposed by Lindgren et al. (2011) generates a Gaussian field from a linear differential equation. It derives a sparse precision matrix from a 2-dimensional SPDE of the form:

Df(s)=W(s)s∈D⊂R2(1)D f(s) = W(s) \qquad s \in D \subset\mathbb{R}^{2} \tag*{(1)}

describing the spatial covariance structure of an unknown stochastic process f(s)f(s) in terms of a linear differential operator DD and Gaussian white noise W(s)W(s), which can be correlated or uncorrelated in space. Most applications use the Matérn equation as it provides a flexible description of smooth spatial variation (Porcu et al., 2024). A growing body of research has further extended the Matérn model to account for increasingly realistic spatial structure, for example the barrier model of Bakka et al. (2019) and the non-stationary models of Ingebrigtsen et al. (2014) and Mandujano Reyes et al. (2024).

Using inner product notation ⟨f,g⟩=∫f(s)g(s)ds\langle f,g\rangle=\int f(\mathbf{s})g(\mathbf{s})\mathrm{d}\mathbf{s} where the integral is over the spatial domain, the weak solution to the SPDE (1) is a random field ff that satisfies

⟨Df,ψ⟩=d⟨W,ψ⟩(2)\langle Df,\psi\rangle\overset{d}{=} \langle W,\psi\rangle \tag*{(2)}

where =d\overset{d}{=} means “converges in distribution to” (following the notation of Lindgren et al. (2011)) and ψ\psi is any smooth function with compact support in R2\mathbb{R}^{2}, known as a test function.

An approximate weak solution is found using finite element methods. This uses a graph (also referred to as a “mesh” in the literature) to split the domain into elements and a basis function ϕj\phi_j is associated with each point jj; j=1,…,nsj=1,\ldots,n_s on the mesh. The basis functions are typically piecewise-linear functions defined such that ϕj\phi_j is 1 at point jj, decreasing linearly to 0 along the neighbouring edges. Then, by approximating both the random field ff and the test function ψ\psi as linear combinations of the basis functions:

∑i=1ns∑j=1nsui⟨Dϕi,ϕj⟩=d∑i=1ns∑j=1nsWi⟨ϕi,ϕj⟩(3)\sum_{i=1}^{n_s}\sum_{j=1}^{n_s}u_i\langle D\phi_i,\phi_j\rangle\overset{d}{=} \sum_{i=1}^{n_s}\sum_{j=1}^{n_s}W_i\langle\phi_i,\phi_j\rangle \tag*{(3)}
Du=W,(4)\mathbf{D}\mathbf{u}=\mathbf{W}, \tag*{(4)}

where D\mathbf{D} has (i,j)th(i,j)^{\mathrm{th}} entry ⟨Dϕi,ϕj⟩\langle D\phi_i,\phi_j\rangle, u\mathbf{u} is the vector of random weights (u1,…,uns)T(u_1,\ldots,u_{n_s})^{T} and W\mathbf{W} is a vector drawn from the spatial noise (W1,…,Wns)T(W_1,\ldots,W_{n_s})^{T}. It follows that:

u∼N(0,Qu−1),(5)\mathbf{u}\sim N(0,Q_u^{-1}), \tag*{(5)}

where Qu=DTQeDQ_u=D^{T}Q_eD and QeQ_e is the precision matrix for WW. Hence the SPDE approach is a way to place a multivariate Gaussian prior on u\mathbf{u}, where the precision matrix QuQ_u encodes the covariance structure described by the differential operator DD and noise process WW. QuQ_u can be approximated by a sparse matrix, making this approach computationally efficient particularly for INLA-based inference.

INLA

INLA is a framework for fast approximate Bayesian inference for Latent Gaussian Models (LGMs) (Rue et al., 2009). An LGM consists of observations y\mathbf{y}, a latent Gaussian vector ϕ\phi and hyperparameters θ\boldsymbol{\theta}, and can be expressed hierarchically as:

y∣ϕ,θ∼p(y∣ϕ,θ)ϕ∣θ∼N(μϕ,Q(θ)−1)θ∼p(θ).(6)\begin{aligned} \mathbf{y} \mid\phi, \boldsymbol{\theta} &\sim p(\mathbf{y} \mid\phi, \boldsymbol{\theta}) \\ \phi\mid\boldsymbol{\theta} &\sim N(\mu_{\phi}, Q(\boldsymbol{\theta})^{-1}) \\ \boldsymbol{\theta} &\sim p(\boldsymbol{\theta}). \tag*{(6)} \end{aligned}

The latent field ϕ\phi may contain a Gaussian Markov random field (GMRF) generated using the SPDE approach, together with covariate effects and other model components. INLA performs Bayesian inference by constructing a sequence of Laplace and Gaussian approximations to the posterior distributions of the latent field and hyperparameters. The joint posterior density of the hyperparameters is calculated by

p^(θ∣y)≈p(θ,ϕ,y)p~G(ϕ∣θ,y)∣ϕ=ϕ∗(θ),(7)\hat{p}(\boldsymbol{\theta} \mid\mathbf{y}) \approx\left.\frac{p(\boldsymbol{\theta}, \phi, \mathbf{y})}{\tilde{p}_{G}(\phi\mid\boldsymbol{\theta}, \mathbf{y})}\right|_{\phi=\phi^{*}(\boldsymbol{\theta})}, \tag*{(7)}

where p~G(ϕ∣θ,y)\tilde{p}_{G}(\phi\mid\boldsymbol{\theta}, \mathbf{y}) is the Gaussian approximation of pG(ϕ∣θ,y)p_{G}(\phi\mid\boldsymbol{\theta}, \mathbf{y}) about the mode ϕ∗(θ)\phi^{*}(\boldsymbol{\theta}) for a given θ\boldsymbol{\theta}.

The marginal posterior distribution of a latent component ϕi\phi_i is then obtained by numerical integration over the hyperparameters,

p^(ϕi∣y)=∑kp^(ϕi∣θk,y)p^(θk∣y)Δk,(8)\hat{p}(\phi_i \mid\mathbf{y}) = \sum_k \hat{p}(\phi_i \mid\boldsymbol{\theta}_k, \mathbf{y})\hat{p}(\boldsymbol{\theta}_k \mid\mathbf{y})\Delta_k, \tag*{(8)}

where θk(n)\theta_k^{(n)} are the posterior marginal integration nodes and Δk\Delta_k are the corresponding integration weights. The approximate density p^(ϕi∣θ,y)\hat{p}(\phi_i \mid\boldsymbol{\theta}, \mathbf{y}) is calculated using another Laplace approximation:

p^(ϕi∣θ,y)∝p(ϕ,θ,y)p~G(ϕ−i∣ϕi,θ,y)∣ϕ−i=ϕ−i∗(ϕi,θ)(9)\hat{p}(\phi_i \mid\boldsymbol{\theta}, \mathbf{y}) \propto\left. \frac{p(\boldsymbol{\phi}, \boldsymbol{\theta}, \mathbf{y})}{\tilde{p}_G(\boldsymbol{\phi}_{-i} \mid\phi_i, \boldsymbol{\theta}, \mathbf{y})} \right|_{\boldsymbol{\phi}_{-i}=\boldsymbol{\phi}_{-i}^{*}(\phi_i,\boldsymbol{\theta})} \tag*{(9)}

where p~G(ϕ−i∣ϕi,θ,y)\tilde{p}_G(\boldsymbol{\phi}_{-i} \mid\phi_i, \boldsymbol{\theta}, \mathbf{y}) is the Gaussian approximation to p(ϕ−i∣ϕi,θ,y)p(\boldsymbol{\phi}_{-i} \mid\phi_i, \boldsymbol{\theta}, \mathbf{y}) about the mode ϕ−i∗(ϕi,θ)\boldsymbol{\phi}_{-i}^{*}(\phi_i,\boldsymbol{\theta}). The SPDE approach is particularly well suited to INLA because it yields sparse precision matrices Q(θ)\mathbf{Q}(\boldsymbol{\theta}). Exploiting this sparsity substantially reduces the computational cost of the Gaussian approximations and numerical integration steps, enabling efficient inference for large spatio-temporal models.

Iterated INLA for State and Parameter Estimation in non-linear Dynamical Systems

Anderka, Deisenroth and Takao [1] propose a method for estimating the state and parameters of a one-dimensional non-linear spatio-temporal SPDE from Gaussian observations using INLA. The equation is linearised using a Taylor expansion about an unknown linearisation point in order to allow discretisation using finite differences in space and time. This approximation represents the non-linear dynamics as locally linear but retains the global non-linearity, and defines a Gaussian prior for the one-dimensional random field given the linearisation point (see section 3.2 of Anderka et al., [1]). The model is then iteratively fit to estimate the linearisation point, with a choice of two update rules, discussed in Section 2.4.

This is a similar idea to the approach implemented in inlabru ([2]), which also fits non-linear models by linearising using a Taylor expansion and iterative fitting. However, inlabru takes non-linear transformations of the model components and hence the non-linearity only appears in the observation model. In contrast, the Iterated INLA method constructs priors for the latent process, allowing non-linear differential equations to generate the covariance structure of the random field. This allows the temporal structure to better reflect the mechanisms that generate the data, and Anderka et al. [1] showed this improves predictive power. Generalising this approach would extend these benefits to a wider range of two-dimensional models and applications where the underlying dynamics are inherently non-linear.

Gaussian Markov Random Fields from 2D Non-linear SPDEs

In this work, we expand the previous developments of Anderka et al. [1] to two-dimensional non-linear SPDEs, allowing the method to be more applicable to a broader range of problems. We also generalise the framework to allow for non-Gaussian observations.

Consider a non-linear SPDE of the form:

Lu(s,t)=W(s,t)s∈D⊂R2, 0≤t≤T,(10)Lu(s,t) = W(s,t) \qquad s \in D \subset\mathbb{R}^{2},\ 0 \leq t \leq T, \tag*{(10)}

where the differential operator is L=∂∂t−DL = \frac{\partial}{\partial t} - D. DD is some non-linear operator, which may depend on unknown parameters θ\boldsymbol{\theta} to be estimated jointly with the latent field u(s,t)u(s,t), and W(s,t)W(s,t) is a spatio-temporal noise process. To enforce positive smoothness in space and time, W(s,t)W(s,t) cannot in general be white in both space and time, instead requiring some form of spatial structure to prevent generating non-smooth field.

In line with Anderka et al. [1], we linearise the operator DD by a first order Taylor expansion about a linearisation point u0(n)u_0^{(n)}:

D[u]≈D(u0(n))+D0(n)(u−u0(n))=(D−D0(n))u0(n)+D0(n)u(11)\begin{aligned} D[u] &\approx D(u_0^{(n)}) + D_0^{(n)}(u-u_0^{(n)})\\ &=(D-D_0^{(n)})u_0^{(n)}+D_0^{(n)}u \tag*{(11)} \end{aligned}

Then LL can be approximated by

L[u]≈L0(n)u−r0(n),(12)L[u]\approx L_0^{(n)}u-r_0^{(n)}, \tag*{(12)}

where

L0(n)u=∂u∂t−D0(n)uL_0^{(n)}u=\frac{\partial u}{\partial t}-D_0^{(n)}u
r0(n)=D[u0(n)]−D0(n)u0(n)=L0(n)u0(n)−L[u0(n)]\begin{aligned} r_0^{(n)}=D[u_0^{(n)}]-D_0^{(n)}u_0^{(n)} \\ &=L_0^{(n)}u_0^{(n)}-L[u_0^{(n)}] \end{aligned}

We seek an approximate weak solution to the SPDE L0(n)u(s,t)=r0(n)+W(s,t)L_0^{(n)}u(\boldsymbol{s},t)=r_0^{(n)}+W(\boldsymbol{s},t), satisfying

⟨L0(n)u(s,t),ψ⟩=d⟨r0(n),ψ⟩+⟨W(s,t),ψ⟩(13)\langle L_0^{(n)}u(\boldsymbol{s},t),\psi\rangle\overset{d}{=}\langle r_0^{(n)},\psi\rangle+\langle W(\boldsymbol{s},t),\psi\rangle \tag*{(13)}

for some test function ψ\psi. Using a finite element approximation with MM linear basis functions as in equation equation (5), we can discretise the field in space:

∑i=1ns∑j=1ns⟨L0(n)ui(t)ϕi,ϕj⟩=d∑i=1ns∑j=1ns⟨r0,i(n)(t)ϕi,ϕj⟩+⟨Wi(t)ϕi,ϕj⟩(14)\sum_{i=1}^{n_s}\sum_{j=1}^{n_s}\langle L_0^{(n)}u_i(t)\phi_i,\phi_j\rangle\overset{d}{=}\sum_{i=1}^{n_s}\sum_{j=1}^{n_s}\langle r_{0,i}^{(n)}(t)\phi_i,\phi_j\rangle+\langle W_i(t)\phi_i,\phi_j\rangle \tag*{(14)}

To approximate the field in time, we use the Backwards Euler method, dividing the temporal domain into ntn_t equally spaced points {T1,T2,…,Tnt}\{T_1,T_2,\ldots,T_{n_t}\}, such that Tn+1−Tn=hT_{n+1}-T_n=h ∀n<nt\forall n<n_t. The derivative at time Tn+1T_{n+1} is approximated using the current and previous time points:

∂ui∂t∣t=Tn+1≈ui(Tn+1)−ui(Tn)h.(15)\left.\frac{\partial u_i}{\partial t}\right|_{t=T_{n+1}}\approx\frac{u_i(T_{n+1})-u_i(T_n)}{h}. \tag*{(15)}

Euler methods usually require a known initial condition, typically fixing one of the endpoints of the temporal domain. As each step in the Backwards Euler method looks backwards to the previous timepoint, we require some information about the initial state u(T1)\boldsymbol{u}(T_1). Here, we use this recursive structure to relax the assumption of a known initial state and treat the initial condition as uncertain. Rather than assume u(T1)\boldsymbol{u}(T_1) is fixed, we estimate the initial state from the data and supply this as a prior to propagate the uncertainty. We fit a spatial model to the observations from the first time point, then use the resulting GMRF u(T1)∼N(μ,P−1)\boldsymbol{u}(T_1) \sim N(\boldsymbol{\mu}, \boldsymbol{P}^{-1}) as a Gaussian prior for the initial condition. We can then propagate the uncertainty by changing the structure of the white noise process W(s,t)W(\boldsymbol{s},t) such that it has precision P\boldsymbol{P} at time T1T_1. Applying the time discretisation, we obtain a Gaussian prior for u\boldsymbol{u} in the same way as (3), where Q\boldsymbol{Q} is the modified precision matrix for WW:

L0(n)u=r0(n)+Wu∼N(L0(n)−1r0(n),(L0(n)TQL0(n))−1)(16)\begin{aligned} L_0^{(n)}\boldsymbol{u} &= \boldsymbol{r}_0^{(n)} + W \\ \boldsymbol{u} &\sim N\left(L_0^{(n)-1}\boldsymbol{r}_0^{(n)},\left(L_0^{(n)\mathsf{T}}\boldsymbol{Q}L_0^{(n)}\right)^{-1}\right) \tag*{(16)} \end{aligned}

The linearisation point is estimated by iteratively fitting the model. Since the operator DD may depend on unknown parameter θ\boldsymbol{\theta}, inference is performed jointly for the latent field u\boldsymbol{u} and the operator parameters θ\boldsymbol{\theta}. Anderka et al. [1] propose two update rules for the one-dimensional case with Gaussian observations y\boldsymbol{y}, both of which we extend to the two-dimensional case with any observation process that can be adequately approximated using the Laplace Approximation. The “Type I update rule” is a simple weighted average of the nthn^{\text{th}} linearisation point and the posterior mean of the latent field after the nthn^{\text{th}} model fitting, so is independent of the observation process. Let θk(n)\boldsymbol{\theta}_k^{(n)} be the posterior marginal integration nodes for the differential operator parameters, Δk\Delta_k the corresponding integration volume elements, p~(θk(n)∣y)\widetilde{p}(\boldsymbol{\theta}_k^{(n)} \mid\boldsymbol{y}) the marginal posterior probability of θk(n)\boldsymbol{\theta}_k^{(n)}, and μu∣y(θk(n))\boldsymbol{\mu}_{\boldsymbol{u}\mid\boldsymbol{y}}(\boldsymbol{\theta}_k^{(n)}) the posterior mean for the random field u\mathbf{u} at θk(n)\theta_k^{(n)}, as in § 3.2. Then the Type I update rule is:

uˉ(n)=∑kμu∣y(θk(n))p~(θk(n)∣y)Δk(17)\bar{\mathbf{u}}^{(n)} = \sum_k \boldsymbol{\mu}_{\mathbf{u}|\mathbf{y}}(\theta_k^{(n)})\widetilde{p}(\theta_k^{(n)}|\mathbf{y})\Delta_k \tag*{(17)}
u0(n+1)=(1−γ)u0(n)+γuˉ(n),(18)\mathbf{u}_0^{(n+1)} = (1-\gamma)\mathbf{u}_0^{(n)}+\gamma\bar{\mathbf{u}}^{(n)}, \tag*{(18)}

γ∈(0,1]\gamma\in(0,1] is a tunable damping parameter chosen somewhat arbitrarily to balance fast convergence and computational stability.

The “Type II update rule” is as follows:

P‾(n)=∑kPu∣y(n)(θk(n))p~(θk(n)∣y)Δkb‾(n)=∑kPu∣y(n)(θk(n))μu∣y(θk(n))p~(θk(n)∣y)Δku‾(n)=(P‾(n))−1b‾(n)u0(n+1)=(1−γ)u0(n)+γu‾(n),(19)\begin{aligned} \overline{\mathbf{P}}^{(n)} &= \sum_k \mathbf{P}_{\mathbf{u}|\mathbf{y}}^{(n)}(\theta_k^{(n)})\widetilde{p}(\theta_k^{(n)}|\mathbf{y})\Delta_k \\ \overline{\mathbf{b}}^{(n)} &= \sum_k \mathbf{P}_{\mathbf{u}|\mathbf{y}}^{(n)}(\theta_k^{(n)})\boldsymbol{\mu}_{\mathbf{u}|\mathbf{y}}(\theta_k^{(n)})\widetilde{p}(\theta_k^{(n)}|\mathbf{y})\Delta_k \\ \overline{\mathbf{u}}^{(n)} &= \left(\overline{\mathbf{P}}^{(n)}\right)^{-1}\overline{\mathbf{b}}^{(n)} \\ \mathbf{u}_0^{(n+1)} &= (1-\gamma)\mathbf{u}_0^{(n)}+\gamma\overline{\mathbf{u}}^{(n)}, \tag*{(19)} \end{aligned}

where p~(θk(n)∣y)\widetilde{p}(\theta_k^{(n)}|\mathbf{y}) is the marginal posterior probability of θk(n)\theta_k^{(n)}, and μu∣y(θk(n))\boldsymbol{\mu}_{\mathbf{u}|\mathbf{y}}(\theta_k^{(n)}) and Pu∣y(n)(θk(n))\mathbf{P}_{\mathbf{u}|\mathbf{y}}^{(n)}(\theta_k^{(n)}) are the mean and the precision matrix for the random field u\mathbf{u} at θk(n)\theta_k^{(n)}. Anderka et al. [1] prove this rule is an approximate Gauss-Newton method for minimising E(−log⁡p(u∣y,θ))\mathbb{E}(-\log p(\mathbf{u}|\mathbf{y},\theta)) when the observations y\mathbf{y} are Gaussian; we prove that the same holds for any observation process that can be adequately approximated using the Laplace approximation in Supplementary Material S1. Consequently, the proposed framework can be combined with any observation family implemented in R-INLA, substantially broadening its applicability across different data types and contexts.

Application to the Logistic Growth Equation

To illustrate the proposed methodology, we apply it to the logistic growth equation. This equation is widely used to model increasing and spreading biological populations, including invasive and introduced species (Verhulst, 1844; Schurz, 2007; Karim et al., 2023; Hooten and Wikle, 2008). It captures several key features of spatial population dynamics, including density dependent growth, dispersal, and the concept of a local carrying capacity, defined as the maximum population size that can be sustained by the resources available in the environment. It also provides an opportunity to demonstrate the flexibility of the framework across different observation models, as ecological data are often collected through diverse observation processes. Different observation processes may yield, for example, count data, presence-absence records or presence-only observations from the same underlying population; all can be accommodated within the INLA framework. The logistic growth equation therefore provides a useful example for illustrating how physically motivated non-linear SPDEs can be incorporated into spatio-temporal models. We take the following form of the logistic growth equation as the basis for our model:

∂u∂t−αu(1−uK)+∇⋅ξ∇u=σuW(s,t),(20)\frac{\partial u}{\partial t} - \alpha u\left(1-\frac{u}{K}\right) + \nabla\cdot\xi\nabla u = \sigma uW(s,t), \tag*{(20)}

where u(s,t)u(s,t) is the number of animals, α\alpha is the growth rate, KK is the carrying capacity, ξ\xi is the dispersal coefficient, and W(s,t)W(s,t) is a noise term, which is Matérn correlated in space and white in time to give smoothness 1/2 in time and 1 in space. As mentioned in § 3.4, the noise process cannot be completely unstructured (i.e. white in space and time) in this case, as this gives smoothness 0 in space and time. Whilst this is not in the form of (10) due to the term σuW(s,t)\sigma uW(s,t) on the right hand side, it can be rearranged into this form after a log transformation. The σuW(s,t)\sigma uW(s,t) term makes the stochastic variation density dependent, which is both algebraically convenient for our purposes and more biologically realistic. (Schurz, 2007), as larger populations typically experience greater absolute variability than smaller populations. For example, year-to-year fluctuations of tens of individuals may be common in a population of 1000 animals but are unlikely in a population of only 15 animals. Consequently, the variance of the stochastic component increases with population size rather than remaining constant across all densities.

To enforce u>0u > 0, consider a log transformation u=exp⁡(v)u = \exp(v). We derive the mean and covariance for vv, which can then be included as a random effect in the linear predictor for any observation process. Working on the log scale is useful for interpretability in cases with a log link; for example a Log Gaussian Cox Process (LGCP) could have the log intensity equal to the log number of animals. The full derivation of the GRF of the log number of animals, v∼N(L−1r0(n),(L⊤QL)−1)v \sim N\left(L^{-1}r_{0}^{(n)}, (L^{\top}QL)^{-1}\right), is given in Supplementary Material S2.

Simulation Study

The proposed logistic growth model is implemented in R-INLA and is available in the R package INLAloggrowth. Built as a wrapper around inlabru, the package is fully compatible with the observation families and non-linear predictor framework available in inlabru. It automates the iterative fitting procedure described in § 3.4, enabling efficient inference for the logistic growth model with minimal user intervention. We use the cgeneric framework within R-INLA to perform the computationally intensive calculations, such as calculating the precision matrix, using sparse matrix algebra in C for scalability and speed. All model fitting was performed on the Crop Diversity HPC (Percival-Alwyn et al., 2025).

To compare the proposed model with existing methods, we perform a simulation study on point pattern observations. We aim to infer the state and parameters of this equation from point pattern data, motivated by the increasing use of citizen science observations in ecological spatial models (see e.g., (Seaton et al., 2024; Pacifici et al., 2017; Panunzi-vesm). et al., 2024)). In such settings, data are typically collected as individual sightings with spatial locations, rather than as aggregated counts. We simulate 10 years of point pattern observations from the spatial logistic growth model over a 1×11 \times1 square, fit the models on the first five years and test the out-of-sample forecasting abilities on the latter five. We focus only on the case where the data are generated by the logistic growth equation, as the problem of model misspecification for logistic growth-like models is an ongoing research topic (Browning et al., 2025; Simpson et al., 2022; Simpson and Maclaren, 2024).

In addition to the logistic growth model, we fit 3 other models to the simulated data. We consider two separable spatio-temporal random effects: an IID Matérn model for each time point, and the Kronecker product of the Matérn model and a first order autoregressive (AR1) model in time. We also consider the non-separable critical diffusion model from Lindgren et al. [2], as it is the most similar to the proposed model. In order to obtain parameter estimates for the growth rate and carrying capacity for these models, we use the analytical solution to the non-spatial logistic growth equation:

p(t)=Kp0exp⁡(αt)K−p0+p0exp⁡(αt)t>0,(21)p(t) = \frac{Kp_0 \exp(\alpha t)}{K - p_0 + p_0 \exp(\alpha t)} \qquad t > 0, \tag*{(21)}

where p0p_0 is the (estimated) initial population. It is not possible to directly estimate the dispersal parameter ξ\xi using a Matérn model, as Matérn models have a spatial range parameter representing the distance at which the correlation is 0.1. The dispersal parameter ξ\xi is a diffusion coefficient representing the rate at which the population spreads through space per unit of time, so is a spatio-temporal parameter rather than a purely spatial parameter. For the Matérn models, the intensity function of the LGCP is log⁡(λ(s,t))=log⁡(p(t))+ζ(s,t)\log(\lambda(s,t)) = \log(p(t)) + \zeta(s,t) for t>0t > 0, where p(t)p(t) is the deterministic logistic growth solution and ζ(s,t)\zeta(s,t) is a spatio-temporal random effect, modelled using either an IID, AR1, or diffusion structure. For the logistic growth model, log⁡(λ(s,t))=v(s,t)\log(\lambda(s,t)) = v(s,t), where vv is the log number of animals.

The same mesh, priors, and starting values were used for each model. Since the data are simulated, the true intensity function is known, allowing posterior predictive performance to be assessed by comparing predicted and true intensities. We calculate three strictly proper scores: the mean squared error (MSE), the median absolute error (MAE) and the continuous ranked probability score (CRPS) (Matheson and Winkler, 1976). Similarity between the mean predicted and true intensity maps was quantified using the Structural Similarity Index (SSIM) (Jones et al., 2016; Wang et al., 2004).

Results

The logistic growth model recovered accurate estimates for all parameters (Table 1). All models returned credible intervals containing the true value for the growth and carrying capacity. Estimates of the precision parameter were more variable across models. The IID, diffusion, and logistic growth models all returned credible intervals that included the true value for the precision parameter, although uncertainty was substantially greater for the diffusion model. In contrast, the AR1 model yielded a narrower interval that excluded the true value. The separable models tended to slightly overestimate the carrying capacity and had large uncertainties for the growth rate, causing inaccurate in-sample and out-of-sample predictions that overestimated the abundance (Figure 1). The non-separable diffusion model performed slightly better as it was able to capture some of the complexity in the changing spatial pattern, but was not able to predict the dispersing behaviour in the out-of-sample predictions.

ParameterGrowth α\alphaCarrying Capacity KKRange/Dispersal ξ\xiPrecision 1/σ1/\sigma
Truth0.810000.155
IID model0.82 (0.33,1.31)1307 (886, 1698)2.75 (1.17, 5.28)3.24 (2.11, 5.38)
AR1 Model0.78 (0.32, 1.25)1168 (805, 1524)2.53 (2.41, 2.66)2.86 (1.94, 4.42)
Diffusion0.82 (0.548, 1.095)1088 (717, 1459)2 (0.62,7.39)16 (0.56, 469)
Logistic Growth0.54 (0.30, 0.96)953 (693,1308)0.11 (0.05, 0.20)3.75 (2.19,6.45)

Table 1. Posterior means and 95% credible intervals for each model parameter

True abundance and mean predicted log intensity (abundance) for all models for all 10 years

Figure 1. True abundance and mean predicted log intensity (abundance) for all models for all 10 years. All plots are on the same binned colour scale.

The proposed logistic growth model gave much more accurate in-sample predictions (Figure 2), capturing the abundance and distribution of the population. It also gave better out-of-sample forecasts than the other models, with the true intensity being inside the 95% prediction interval for all years (Figure 3). This is reflected in the mean SSIM value being closest to 1 (Table 2), showing that the logistic growth predictions are the most similar to the true intensity.

Sample predictions for the logistic growth model

Figure 2. In sample predictions (years 1-5) for the logistic growth model. From top to bottom: mean predicted intensity, true intensity, and standard deviation of the predictions scores (Table 2). The two separable models in general have the highest posterior predictive scores, showing how separable models can struggle to capture spatial structures that evolve over time. The diffusion model performs better as it is able to capture some of the non-separable spatial-temporal dependence and diffusive behaviour, but not the non-linearity.

Out of sample forecasts for the logistic growth model

Figure 3. Out of sample forecasts (years 6-10) for the logistic growth model. 100 predictions were generated from the model. From top to bottom: the true intensity, the mean predicted intensity, the 2.5% quantile predicted intensity and the 97.5% quantile predicted intensity. All plots are shown on the same scale

MetricIIDAR1DiffusionLogistic Growth
In-sample MSE1.011.010.600.01
Out-of-sample MSE0.110.530.160.04
In-sample MAE1.011.000.760.06
Out-of-sample MAE0.350.7120.390.17
In-sample CRPS43.743.929.62.74
Out-of-sample CRPS9.3226.512.22.24
Mean SSIM0.7780.6990.7970.901

Table 2. Posterior predictive scores and mean SSIM for the 4 models. For the posterior predictive scores (MSE, MAE, CRPS), lower values indicate better predictive performance. SSIM ranges from -1 and 1, with higher values indicating greater similarity between the true map and the mean posterior map; a value of -1 represents complete dissimilarity while a value of 1 indicates identical maps. The best score for each metric is in bold.

The logistic growth model outperforms the other models in all the posterior predictive

Case Study - Eurasian Collared Dove

To demonstrate the potential utility of this logistic growth model for invasive species, we apply the model to a case study of the Eurasian Collared Dove (Streptopelia decaocto) in the United States (U.S.). We use data from the North American Breeding Bird Survey (BBS) between 1998 and 2003 (Ziolkowski et al., 2026), previously used in logistic growth models by Hooten and Wikle (2008) and Scheidt and Hurlbert (2014). The dataset provides a particularly suitable case study because the species’ introduction and range expansion in

North America are well documented. First introduced to the Bahamas in 1974, this species since spread to Florida in the late 1970s and early 1980s and from there to the rest of the US (Hengeveld, 1993). The species underwent rapid population growth and spatial spread following its introduction, making it an example of the type of growing and dispersing population that the logistic growth equation is intended to describe.

The BBS data consist of yearly counts from approximately 39.2km long transects across North America. Observers stop approximately every 800m to conduct a 3-minute point count, repeated 50 times along the transect. We take the total number of Collared Doves observed on each transect (Figure 4). Following Hooten and Wikle (2008) and Scheidt and Hurlbert (2014), we discard all transects where Collared Doves were never seen in the study period, giving 269 transects where Collared Doves were seen at least once between 1998-2003. A large proportion (58%) of the counts are zeros. Some of these are “true” zeros, where the doves were not observed because they were not present. Other zero counts reflect imperfect detection, where Eurasian Collared Doves were present but not seen by the recorders. To account for these excess zeros, we use a zero-inflated Poisson model, which allows zeros to arise from two separate processes: a zero-generating process and a Poisson count process. We take the log intensity of the Poisson part to be the proposed logistic growth model v(s,t)v(s,t).

European Collared Dove counts for 1998–2003

Figure 4. European Collared Dove counts, 1998-2003. Triangles are transects where no doves were observed; circles are transects where at least one dove was seen.

P(ys,t∣λ,θ)=p×1ys,t=0+(1−p)×exp⁡(−λ(s,t))λ(s,t)ys,tys,t!(22)\mathbb{P}(y_{s,t} \mid\lambda,\boldsymbol{\theta}) = p \times\mathbb{1}_{y_{s,t}=0} + (1-p) \times\frac{\exp(-\lambda(s,t))\lambda(s,t)^{y_{s,t}}}{y_{s,t}!} \tag*{(22)}
log⁡(λ(s,t))=v(s,t)\log(\lambda(s,t)) = v(s,t)

Results

The carrying capacity posterior (Table 3) is broadly in line with the previous studies on these data. Scheidt and Hurlbert (2014) estimated individual carrying capacities for each transect using logistic and quadratic growth models for the carrying capacities. They estimate carrying capacities of between 0 and 93 doves/transect, with most falling in the 0-30 range (Scheidt and Hurlbert, 2014, Fig.3). Our model estimates a mean carrying capacity of 13 (12,14) doves/transect, which fits within this range. As our estimate is the mean carrying capacity across all sites, it captures less variability than the individual site estimates of Scheidt and Hurlbert (2014). It is difficult to directly compare the other parameters with the previous studies, as Scheidt and Hurlbert (2014) estimate the individual transect growth rates using an exponential growth model, so obtain lower estimates of between 0 and 0.3. Hooten and Wikle (2008) estimates the growth rate to be very close to 0 (< 0.02 (Hooten and Wikle, 2008, Fig. 3)); this seems unlikely as the population is clearly expanding and is possibly due to the zero-inflated nature of the data. Our estimate of 1.65 (1.62, 1.69) suggests that the population is growing steadily, in keeping with existing literature (Romagosa and Labisky, 2000; Hengeveld, 1993).

ParameterPosterior Mean95% Credible interval
Growth Rate1.651.62, 1.69
Carrying Capacity1312, 14
Dispersal (km)30.629.9, 31.4
Sigma2.62.5, 2.7
Zero-probability parameter0.280.27, 0.29

Table 3. Parameter posteriors for the Eurasian Collared Dove data

The predicted abundance (Figure 5) shows the doves establishing a stable population in the South East and spreading to the North and West as time goes on, similar to the findings of Hooten and Wikle (2008) and Scheidt and Hurlbert (2014). These results are consistent with the known rapid expansion of the Eurasian Collared Dove across North America and demonstrate that the proposed model can recover biologically plausible growth and dispersal dynamics from zero-inflated count data. This illustrates the potential value of combining mechanistic non-linear process models with the computational efficiency and flexibility of the INLA framework.

Predicted abundance maps of doves from 1998 to 2003

Figure 5. Mean predicted number of doves seen at a BBS transect 1998-2003

Conclusion

In this study, we developed a framework for deriving a Gaussian Markov random field from a two-dimensional non-linear SPDE, enabling the development of mechanism-informed sta tistical models for a broad range of spatio-temporal applications. By incorporating knowledge of the underlying dynamics directly into the latent model, these process-informed statistical models enable inference on mechanistically meaningful and interpretable parameters that provide insight into system behaviour. They can also improve out-of-sample predictive performance relative to the purely statistical alternatives. We further extend previous methodology to accommodate non-Gaussian observation processes, substantially broadening the range of data types and domains to which the framework can be applied.

Maps showing standard deviation for 1998–2003

Figure 6. Standard deviation of the predicted number of doves seen at a BBS transect 1998-2003

Logistic Growth

We demonstrated the utility of this method with a specific application of the logistic growth equation, motivated by its use in ecological contexts. Our simulation study shows that in corporating non-linear dynamics into spatio-temporal covariance functions substantially improves model performance relative to commonly used separable and diffusion-based alternatives. The proposed model was the best across all predictive scores, showing that it could be a useful tool for predicting species distributions across time. As the proposed model was also the data-generating process, some improvement in predictive performance is expected; however, it consistently outperformed the competing models across all predictive scores. The case study of the Eurasian collared dove demonstrates that by extending the method to all non-Gaussian observation processes implemented in R-INLA, we are able to easily account for zero-inflation and therefore obtain more realistic parameter estimates than previous studies. The computational advantages of the finite element discretisation allow calculating predictions at a finer spatial resolution than previously possible. Recent work has shown that finite element approximations can be more accurate than physics-informed neural networks (Grossmann et al., 2024), providing further support for the use of the SPDE approach in mechanism-informed modelling.

One limitation of the logistic growth model is its sensitivity to model misspecification. Browning et al. (2025) demonstrated that spatio-temporal logistic growth models can produce narrow but incorrect parameter posterior distributions when fitted to data generated by non-logistic processes. Hence, parameter estimates should be interpreted with caution. Future work could make this model more robust to misspecification, potentially by building on Browning et al. (2025)’s work with Gaussian processes.

Complexity challenges

Non-linear spatio-temporal models are inherently complex. The latent field needs to be estimated at each of the hundreds or thousands of mesh nodes at each point in time, in addition to estimating the model parameters. While structural identifiability issues can be addressed through careful specification of the underlying PDE, the quantity and quality of data required for practical identifiability may be a limitation in some applications. In the context of the logistic growth model, the Eurasian Collared Dove case study worked well due to the large number of observations and the structured nature of the surveys across the US. For species in the early stages of invasions with sparse records and/or noisier observation processes (e.g. some citizen science programs or instances where multiple data sources with different observation processes need to be integrated), identifiability issues may be more prevalent.

The complexity of the model also presents scalability challenges. In principle, a finer temporal discretisation improves the accuracy of the backwards Euler approximation. However, each additional time point increases the size of the precision matrix by nsn_s rows and columns, where nsn_s is typically in the order of hundreds and thousands. As a result, repeatedly calculating and inverting the precision matrix becomes computationally demanding, with the cost increasing rapidly as the temporal resolution becomes finer. For example, fitting the model to the dove data with 1,396 mesh nodes and six time points required 70 minutes and 44 GB of memory on four CPUs. Consequently, although this framework can accommodate fine spatial and temporal discretisations, doing so in practice requires substantial computational time and resources.

Future Research

There remain several promising avenues for future research. Extending the model to allow spatially varying hyperparameters by using non-stationary SPDE approaches (Ingebrigtsen et al., 2014; Mandujano Reyes et al., 2024) would allow for more realistic inference, and in the context of the logistic growth equation, would enable assessments of how environmental covariates affect population dynamics. Our methodology could be also used for other more complex non-linear SPDEs in different contexts. For example, the Allee effect (Allee, 1931) could be introduced into ecological models to incorporate the idea of a minimum sustainable population density, which is particularly relevant for the removal of invasive species or conservation of critically endangered populations. There is also potential outside of ecology; for instance, advection-diffusion equations could allow for more realistic models of pollutant dispersal (Stockie, 2011). Our framework makes it possible for any 2D univariate non-linear differential equation to become the basis of a flexible statistical model, allowing statisticians to ground their models in the physical reality of the data generating process using the broad array of mechanistic modelling literature. However, this is not without challenges. In particular, calculating the precision matrix in a computationally efficient way is not trivial for the logistic growth model, and similar difficulties would likely be present for the non-stationary model or other non-linear SPDEs. Further work is therefore needed to investigate efficient and identifiable implementations for these more complex model classes.

SUPPLEMENTARY MATERIAL

Appendix: Proof of Type II update rule for non-Gaussian likelihoods, and derivation of the logistic growth model.

R package for spatial logistic growth model: R-package INLAloggrowth containing code to fit the logistic growth model described in the article and the simulated data. Available at https://github.com/ljb34/INLALogisticGrowth

Supplementary Material

L. Blackman; J. Belmont; P.J. Bouchet; J. Illian; E.L. Jones; F. Lindgren

Type II update for Point Processes and other observation processes

The Type II update rule uses the Gauss Newton Method to find the linearisation point u0u_0 that minimises E(−log⁡p(u∣y,θ))\mathbb{E}(-\log p(\mathbf{u}|\mathbf{y},\boldsymbol{\theta})). Anderka et al. [1] proves this for one-dimensional Gaussian observations, here we shall prove that it can be extended to any observation process that can be adequately approximated using the Laplace approximation. We focus on Log Gaussian Point Process observations both because our example use case is a point process, and because it has a more involved approximation than the other observation families in inlabru, so by proving the LGCP case the others follow naturally. Let y\mathbf{y} be observations from a Log Gaussian Cox Process (LGCP) with log intensity u\mathbf{u} governed by a non-linear SPDE model:

y∣u,θ∼Poisson Process⁡(exp⁡(u))(23)\mathbf{y}|\mathbf{u},\boldsymbol{\theta} \sim\operatorname{Poisson\ Process}(\exp(\mathbf{u})) \tag*{(23)}
u∣θ∼N(L−1r,(LTQ−1L)−1)(24)\mathbf{u}|\boldsymbol{\theta} \sim N(\mathbf{L}^{-1}\mathbf{r},(\mathbf{L}^{\mathsf{T}}\mathbf{Q}^{-1}\mathbf{L})^{-1}) \tag*{(24)}
θ∼p(θ)(25)\boldsymbol{\theta} \sim p(\boldsymbol{\theta}) \tag*{(25)}

LL, QQ and r\boldsymbol{r} depend on the linearisation point u0\boldsymbol{u}_0, which we wish to find iteratively using the Type II update rule. By the Gauss-Newton Method:

u0(n+1)=u0(n)−γB−1∇uE(−log⁡p(u∣y,θ))(26)\boldsymbol{u}_0^{(n+1)}=\boldsymbol{u}_0^{(n)}-\gamma\boldsymbol{B}^{-1}\nabla_{\boldsymbol{u}}\mathbb{E}(-\log p(\boldsymbol{u}\mid\boldsymbol{y},\boldsymbol{\theta})) \tag*{(26)}

where B\boldsymbol{B} is the approximate Hessian of p(u∣y,θ)p(\boldsymbol{u}\mid\boldsymbol{y},\boldsymbol{\theta}). For LGCP observations y\boldsymbol{y}:

log⁡p(u∣y,θ)=−12L(u)TQ−1L(u)−aTexp⁡A1u+1TA2u+C(27)\log p(\boldsymbol{u}\mid\boldsymbol{y},\boldsymbol{\theta})=-\frac{1}{2}\mathcal{L}(\boldsymbol{u})^{\mathsf{T}}Q^{-1}\mathcal{L}(\boldsymbol{u})-\boldsymbol{a}^{\mathsf{T}}\exp A_1\boldsymbol{u}+\boldsymbol{1}^{\mathsf{T}}A_2\boldsymbol{u}+C \tag*{(27)}

Using the L(u)\mathcal{L}(\boldsymbol{u}) notation from Anderka et al. [1], L(u)=L(u−L−1r)\mathcal{L}(\boldsymbol{u})=L(\boldsymbol{u}-L^{-1}\boldsymbol{r}) and the Simpson et al. [3] formulation of the LGCP likelihood. a\boldsymbol{a} is the vector of integration weights, A1A_1 is the mapper matrix to the mesh nodes, and A2A_2 the mapper matrix to the observed locations. u\boldsymbol{u} is only defined on the mesh nodes, so A1≡IA_1\equiv I.

∇uE(−log⁡p(u∣y,θ))=E((∇L(u))TQ−1L(u)+a⊙exp⁡u−A2T1)(28)\nabla_{\boldsymbol{u}}\mathbb{E}(-\log p(\boldsymbol{u}\mid\boldsymbol{y},\boldsymbol{\theta}))=\mathbb{E}((\nabla\mathcal{L}(\boldsymbol{u}))^{\mathsf{T}}Q^{-1}\mathcal{L}(\boldsymbol{u})+\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u}-A_2^{\mathsf{T}}\boldsymbol{1}) \tag*{(28)}
∇u2E(−log⁡p(u∣y,θ))=E((∇L(u))TQ−1(∇L(u))+diag⁡(a⊙exp⁡u)):=B(29)\nabla_{\boldsymbol{u}}^2\mathbb{E}(-\log p(\boldsymbol{u}\mid\boldsymbol{y},\boldsymbol{\theta}))=\mathbb{E}((\nabla\mathcal{L}(\boldsymbol{u}))^{\mathsf{T}}Q^{-1}(\nabla\mathcal{L}(\boldsymbol{u}))+\operatorname{diag}(\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u})):=\boldsymbol{B} \tag*{(29)}

where ⊙\mathbin{\odot} denotes pairwise multiplication, a⊙exp⁡u=(a1exp⁡u1,a2exp⁡u2,…,anexp⁡un)T\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u}=(a_1\exp u_1,a_2\exp u_2,\ldots,a_n\exp u_n)^{\mathsf{T}}.

u0(n+1)=u0(n)−γB−1E((∇L(u))TQ−1L(u)+a⊙exp⁡u−A2T1+Bu0(n)−Bu0(n))(30)\boldsymbol{u}_0^{(n+1)}=\boldsymbol{u}_0^{(n)}-\gamma\boldsymbol{B}^{-1}\mathbb{E}((\nabla\mathcal{L}(\boldsymbol{u}))^{\mathsf{T}}Q^{-1}\mathcal{L}(\boldsymbol{u})+\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u}-A_2^{\mathsf{T}}\boldsymbol{1}+\boldsymbol{B}\boldsymbol{u}_0^{(n)}-\boldsymbol{B}\boldsymbol{u}_0^{(n)}) \tag*{(30)}
=(1−γ)u0(n)−γB−1E((∇L(u))TQ−1(L(u)−∇L(u)u0(n))+a⊙exp⁡u(31)=(1-\gamma)\boldsymbol{u}_0^{(n)}-\gamma\boldsymbol{B}^{-1}\mathbb{E}((\nabla\mathcal{L}(\boldsymbol{u}))^{\mathsf{T}}Q^{-1}(\mathcal{L}(\boldsymbol{u})-\nabla\mathcal{L}(\boldsymbol{u})\boldsymbol{u}_0^{(n)})+\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u} \tag*{(31)}
−diag⁡(a⊙exp⁡u)u0(n)−A2T1)(32)-\operatorname{diag}(\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u})\boldsymbol{u}_0^{(n)}-A_2^{\mathsf{T}}\boldsymbol{1}) \tag*{(32)}

Substituting ∇L(u)=L\nabla\mathcal{L}(\boldsymbol{u})=L

u0(n+1)=(1−γ)u0(n)+γB−1E(LTQ−1LL−1r+diag⁡(a⊙exp⁡u)u0(n)−a⊙exp⁡u+A2T1)(33)\boldsymbol{u}_0^{(n+1)}=(1-\gamma)\boldsymbol{u}_0^{(n)}+\gamma\boldsymbol{B}^{-1}\mathbb{E}(L^{\mathsf{T}}Q^{-1}LL^{-1}\boldsymbol{r}+\operatorname{diag}(\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u})\boldsymbol{u}_0^{(n)}-\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u}+A_2^{\mathsf{T}}\boldsymbol{1}) \tag*{(33)}

Using the Laplace approximation, u∣y,θ∼N(μ,(LTQ−1L+diag⁡(a⊙exp⁡μ))−1)\boldsymbol{u}\mid\boldsymbol{y},\boldsymbol{\theta}\sim N(\boldsymbol{\mu},(L^{\mathsf{T}}Q^{-1}L+\operatorname{diag}(\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{\mu}))^{-1}) approximately, where μ=arg⁡max⁡ulog⁡(p(u∣y,θ)\boldsymbol{\mu}=\arg\max_{\boldsymbol{u}}\log(p(\boldsymbol{u}\mid\boldsymbol{y},\boldsymbol{\theta}). Hence μ\boldsymbol{\mu} satisfies ∇uE(−log⁡p(μ∣y,θ))=0\nabla_{\boldsymbol{u}}\mathbb{E}(-\log p(\boldsymbol{\mu}\mid\boldsymbol{y},\boldsymbol{\theta}))=0:

LTQ−1L(μ−L−1r)+a⊙exp⁡u−A2T1=0(34)L^{\mathsf{T}}Q^{-1}L(\boldsymbol{\mu}-L^{-1}\boldsymbol{r})+\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u}-A_2^{\mathsf{T}}\boldsymbol{1}=0 \tag*{(34)}
LTQ−1Lμ=LTQ−1LL−1r+A2T1−a⊙exp⁡u(35)L^{\mathsf{T}}Q^{-1}L\boldsymbol{\mu}=L^{\mathsf{T}}Q^{-1}LL^{-1}\boldsymbol{r}+A_2^{\mathsf{T}}\boldsymbol{1}-\boldsymbol{a}\mathbin{\odot}\exp\boldsymbol{u} \tag*{(35)}

So we can simplify the expectation term in (A11)

E(LTQ−1LL−1r+diag⁡(a⊙exp⁡u)u0(n)−a⊙exp⁡u+A2T1)=E((LTQ−1L+diag⁡(a⊙exp⁡u))μ)≈∑kPu∣y(n)(θk(n))μu∣y(θk(n))p~(θk(n)∣y)Δk(36)\begin{aligned} \mathbb{E}\left(L^{\mathsf{T}}Q^{-1}LL^{-1}r+\operatorname{diag}(a\mathbin{\odot}\exp u)u_0^{(n)}-a\mathbin{\odot}\exp u+A_2^{\mathsf{T}}\mathbf{1}\right) \\ &=\mathbb{E}\left((L^{\mathsf{T}}Q^{-1}L+\operatorname{diag}(a\mathbin{\odot}\exp u))\mu\right) \\ &\approx\sum_k \mathbf{P}_{u\mid y}^{(n)}\left(\theta_k^{(n)}\right)\mu_{u\mid y}\left(\theta_k^{(n)}\right)\widetilde{p}\left(\theta_k^{(n)}\mid y\right)\Delta_k \tag*{(36)} \end{aligned}
:=bˉ(n):=\bar{\mathbf{b}}^{(n)}

As B≈∑kPu∣y(n)(θk(n))p~(θk(n)∣y)Δk:=Pˉ(n)\mathbf{B}\approx\sum_k\mathbf{P}_{u\mid y}^{(n)}\left(\theta_k^{(n)}\right)\widetilde{p}\left(\theta_k^{(n)}\mid y\right)\Delta_k:=\bar{\mathbf{P}}^{(n)}, the Gauss-Newton Method for minimising the log posterior is equivalent to the type II update rule:

u0(n+1)=(1−γ)u0(n)+γ(Pˉ(n))−1bˉ(n)(37)u_0^{(n+1)}=(1-\gamma)u_0^{(n)}+\gamma\left(\bar{\mathbf{P}}^{(n)}\right)^{-1}\bar{\mathbf{b}}^{(n)} \tag*{(37)}

This result will hold for other observation processes that can be adequately approximated using the Laplace approximation, not just point processes, because the simplification in (A14) applies whenever the Laplace approximation is valid.

Derivation of the Logistic Growth Gaussian Random Field

We take the following form of the logistic growth equation as the basis for our model, as described in § 4:

∂u∂t−αu(1−uK)+∇⋅ξ∇u=σuW(s,t).(38)\frac{\partial u}{\partial t}-\alpha u\left(1-\frac{u}{K}\right)+\nabla\cdot\xi\nabla u=\sigma uW(s,t). \tag*{(38)}

We take a log transformation u=exp⁡(v)u=\exp(v) to enforce u≥0u\ge0. Rewriting equation (A16) in terms of vv and dividing through by exp⁡(v)\exp(v), we gain an equation in the form of (10):

∂v∂t−α(1−exp⁡(v)K)+ξ∇2v+ξ∥∇v∥2=σW(s,t)(39)\frac{\partial v}{\partial t}-\alpha\left(1-\frac{\exp(v)}{K}\right)+\xi\nabla^2v+\xi\lVert\nabla v\rVert^2=\sigma W(s,t) \tag*{(39)}

We can then linearise (A17) using a first-order Taylor expansion about a linearisation point v0(n)v_0^{(n)}:

∂v∂t−α(1−exp⁡(v0(n))Kv)−αexp⁡(v0(n))K(v0(n)−1)+ξ∇2v+ξ∥∇v0(n)^∥2=σW(s,t).(40)\frac{\partial v}{\partial t}-\alpha\left(1-\frac{\exp(v_0^{(n)})}{K}v\right)-\alpha\frac{\exp(v_0^{(n)})}{K}\left(v_0^{(n)}-1\right)+\xi\nabla^2v+\xi\left\lVert\widehat{\nabla v_0^{(n)}}\right\rVert^2=\sigma W(s,t). \tag*{(40)}

where ∇v0(n)^\widehat{\nabla v_0^{(n)}} is a numerical approximation of ∇v\nabla v at the linearisation point.

Equation A18 can be rearranged into the same form as the diffusion injected Matérn equation in Lindgren et al. [2], but with an additional drift term r0(n)r_0^{(n)}:

(∂∂t−(a(v0(n))−ξ∇2))v(s,t)=r0(n)+σW(s,t),(41)\left(\frac{\partial}{\partial t} - \left(a(v_0^{(n)}) - \xi\nabla^2\right)\right)v(s,t) = r_0^{(n)} + \sigma W(s,t), \tag*{(41)}

where a(v0(n))=αexp⁡(v0(n))/Ka(v_0^{(n)}) = \alpha\exp(v_0^{(n)})/K and r0(n)=α+αexp⁡(v0(n))(v0(n)−1)/K−ξ∥∇v0(n)^∥2r_0^{(n)} = \alpha+ \alpha\exp(v_0^{(n)})(v_0^{(n)} - 1)/K - \xi\lVert\widehat{\nabla v_0^{(n)}}\rVert^2. This representation motivates choosing W(s,t)W(s,t) to be Matérn correlated in space and white in time, as it places the model in the critical diffusion case, with smoothness 1/2 in time and 1 in space (Lindgren et al., [2]). Completely unstructured noise (i.e. white in space and time) would give smoothness 0 in both space and time, invalidating the assumptions of the numerical discretisation methods and generating an non-smooth field.

Now, apply the finite element method discretisation in space:

(C∂∂t+Ca(v0(n))+ξG)v(t)=Cr0(n)(t)+σCW(t)(42)\left(C\frac{\partial}{\partial t} + Ca(v_0^{(n)}) + \xi G\right)v(t) = Cr_0^{(n)}(t) + \sigma CW(t) \tag*{(42)}

where Ci,j=⟨ϕi,ϕj⟩C_{i,j} = \langle\phi_i,\phi_j\rangle and Gi,j=⟨∇ϕi,∇ϕj⟩G_{i,j} = \langle\nabla\phi_i,\nabla\phi_j\rangle. In practice, to ensure a sparse representation and computational efficiency, CC is approximated by the diagonal matrix C~i,i=⟨ϕi,1⟩\widetilde{C}_{i,i} = \langle\phi_i,1\rangle.

Multiply through by C−1C^{-1}:

(∂∂t+a(v0(n))+ξC−1G)v(t)=r0(n)(t)+σW(t)(43)\left(\frac{\partial}{\partial t} + a(v_0^{(n)}) + \xi C^{-1}G\right)v(t) = r_0^{(n)}(t) + \sigma W(t) \tag*{(43)}

Discretising in time using the backward Euler method and assuming v(T1)∼N(μ,P−1)v(T_1) \sim\mathcal{N}(\boldsymbol{\mu},P^{-1}) gives:

(1h[hI0⋯0−II⋮⋮⋱⋱⋮0⋯−II]+[0⋯⋯00a(v0(n)(T2))⋮⋮⋱⋮0⋯⋯a(v0(n)(Tnt))]+[0⋯⋯00ξC−1G⋮⋮⋱⋮0⋯⋯ξC−1G])[v(T1)⋮⋮v(Tnt)]=[μr0(n)(T2)⋮r0(n)(Tnt)]+[WPW(T2)⋮W(Tnt)](44)\left( \frac{1}{h} \begin{bmatrix} hI & 0 & \cdots& 0 \\ -I & I & & \vdots\\ \vdots& \ddots& \ddots& \vdots\\ 0 & \cdots& -I & I \end{bmatrix} + \begin{bmatrix} 0 & \cdots& \cdots& 0 \\ 0 & a\left(v_0^{(n)}(T_2)\right) & & \vdots\\ \vdots& & \ddots& \vdots\\ 0 & \cdots& \cdots& a\left(v_0^{(n)}(T_{n_t})\right) \end{bmatrix} + \begin{bmatrix} 0 & \cdots& \cdots& 0 \\ 0 & \xi C^{-1}G & & \vdots\\ \vdots& & \ddots& \vdots\\ 0 & \cdots& \cdots& \xi C^{-1}G \end{bmatrix} \right) \begin{bmatrix} v(T_1) \\ \vdots\\ \vdots\\ v(T_{n_t}) \end{bmatrix} = \begin{bmatrix} \mu\\ r_0^{(n)}(T_2) \\ \vdots\\ r_0^{(n)}(T_{n_t}) \end{bmatrix} + \begin{bmatrix} W_P \\ W(T_2) \\ \vdots\\ W(T_{n_t}) \end{bmatrix} \tag*{(44)}

From this, we define the discretised linear operator matrix LL,

L=[I0⋯0−1hI1hI+a(v0(n)(T2))+ξC−1G⋮⋮⋱⋮0⋯−1hI1hI+a(v0(n)(Tnt))+ξC−1G](45)L = \begin{bmatrix} I & 0 & \cdots& 0 \\ -\frac{1}{h}I & \frac{1}{h}I + a\left(v_0^{(n)}(T_2)\right) + \xi C^{-1}G & & \vdots\\ \vdots& & \ddots& \vdots\\ 0 & \cdots& -\frac{1}{h}I & \frac{1}{h}I + a\left(v_0^{(n)}(T_{n_t})\right) + \xi C^{-1}G \end{bmatrix} \tag*{(45)}

the remainder vector r0(n)\mathbf{r}_0^{(n)},

r0(n)=[μr0(n)(T2)⋮r0(n)(Tnt)](46)\mathbf{r}_0^{(n)} = \begin{bmatrix} \mu\\ r_0^{(n)}(T_2) \\ \vdots\\ r_0^{(n)}(T_{n_t}) \end{bmatrix} \tag*{(46)}

and the precision matrix of the noise process

Q=[P0⋯00σ2(C+gG)h⋮⋮⋱⋮0⋯⋯σ2(C+gG)h](47)Q = \begin{bmatrix} P & 0 & \cdots& 0 \\ 0 & \frac{\sigma^2(C+gG)}{h} & & \vdots\\ \vdots& & \ddots& \vdots\\ 0 & \cdots& \cdots& \frac{\sigma^2(C+gG)}{h} \end{bmatrix} \tag*{(47)}

where gg is a spatial scale parameter for the Matérn correlated noise process. The choice of gg is somewhat arbitrary, so we take g=ξg = \xi to link the range to the dispersal of the animals. Then, from (A22), v∼N(L−1r0(n),(L⊤QL)−1)v \sim N\left(L^{-1}r_0^{(n)}, (L^\top QL)^{-1}\right).

References

  1. [1]Anderka, R., Deisenroth, M. P., and Takao, S. (2024). Iterated inla for state and parameter estimation in nonlinear dynamical systems. arXiv preprint arXiv:2402.17036.arxiv.org/abs/2402.17036
  2. [2]Lindgren, F., Bakka, H., Bolin, D., Krainski, E., and Rue, H. (2024). A diffusion-based spatio-temporal extension of Gaussian Matérn fields: (invited article with discussion). SORT-Statistics and Operations Research Transactions, 48(1):3–66.DOI
  3. [3]Simpson, D., Illian, J. B., Lindgren, F., Sørbye, S. H., and Rue, H. (2016). Going off grid: computationally efficient inference for log-gaussian cox processes. Biometrika, 103(1):49–70.arxiv.org/abs/1111.0641

Machine contribution statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How machine contributions are recorded

Paper details

Citation

Cite
Published
Version
Latest

Data & code

Code, data, proofs and workflows the authors linked for testing, review and reproduction. These links are part of this work’s metadata and are released under the same license as the rest of that metadata. Valency doesn’t host the files; each keeps the license set where it’s hosted.

Contents

Pick where to look, or just type