GraphGrad: Efficient Estimation of Sparse Polynomial Representations for General State-Space Models
Abstract
State-space models (SSMs) are a powerful statistical tool for modelling time-varying systems via a latent state. In these models, the latent state is never directly observed. Instead, a sequence of observations related to the state is available. The state-space model is defined by the state dynamics and the observation model, both of which are described by parametric distributions. Estimation of parameters of these distributions is a very challenging, but essential, task for performing inference and prediction. Furthermore, it is typical that not all states of the system interact. We can therefore encode the interaction of the states via a graph, usually not fully connected. However, most parameter estimation methods do not take advantage of this feature. In this work, we propose GraphGrad, a fully automatic approach for obtaining sparse estimates of the state interactions of a non-linear state-space model via a polynomial approximation. This novel methodology unveils the latent structure of the data-generating process, allowing us to infer both the structure and value of a rich and efficient parameterisation of a general state-space model. Our method utilises a differentiable particle filter to optimise a Monte Carlo likelihood estimator. It also promotes sparsity in the estimated system through the use of suitable proximity updates, known to be more efficient and stable than subgradient methods. As shown in our paper, a number of well-known dynamical systems can be accurately represented and recovered by our method, providing basis for application to real-world scenarios.
I Introduction
State-space models (SSMs) are a powerful tool for describing systems that evolve in time. SSMs are utilised in many fields, such as target tracking, [1], epidemiology [2], ecology [3], finance [4], and meteorology [5]. State-space models represent a dynamical system via an unobserved hidden state and a series of related observations. The objective is then to estimate the hidden state, conditional on the series of observations. Estimation of the state using only observations available at the time the state occurs is called the filtering problem, while estimation of the state using the entire observation series, is known as the smoothing problem. In order to solve either of these problems, one must know both the conditional densities of the hidden state and of the observation.
When the state transition and observation model are linear and admit Gaussian densities, a linear-Gaussian state-space model is obtained, and one can solve the filtering and smoothing problems exactly using the Kalman filter [6] and RTS smoother [7] respectively. If the state dynamics or observation model are not linear, then we have a non-linear state-space model (NLSSM), and the Kalman filter cannot be applied without simplifying the model. In this case we can use Gaussian approximations, such as the Unscented Kalman filter [8] or the extended Kalman filter, although in many cases a Gaussian approximation is not sufficiently rich to capture the behaviour of the system. In such cases, more accurate results might be obtained by a particle filter, which approximates the posterior density of the state via a series of importance weighted Monte Carlo samples [9]. However, all of these techniques require knowing the form of the transition and observations models, and for all parameters therein to be known. It is common for the parameters to be unknown, and therefore they must be estimated. Furthermore, in many cases, the form of the model is not known, and therefore we must impose a form before we can estimate anything.
Estimating the parameters of a non-linear state-space model is a difficult task, even when the model is known. One challenge is that the exact likelihood is usually intractable for general non-linear models, and we must use a stochastic estimate thereof. A further problem is that we cannot efficiently compute gradients of the likelihood, and hence we cannot easily compute the maximum likelihood estimator, nor utilise standard modern sampling schemes such as Hamiltonian Monte Carlo. Thanks to the recent advent of differentiable particle filters [10, 11, 12], it recently became possible to obtain the gradient of the estimated likelihood of model parameters, and hence became much simpler to fit them using, e.g., maximum likelihood, assuming the form of the model is known.
In dynamical systems, many phenomena occur with rates proportional to a polynomial function of the state dimensions. For example, in population modelling, birth-immigration-death-emigration models are often used, within which the dynamics of the rates are dependent on 2nd degree polynomials of the state-space. Furthermore, the well known Lorenz 63 [13] and Lorenz 96 [14] models both have rates of change described by 2nd degree polynomials, and are known to be highly chaotic systems of equations. We can therefore see that polynomial systems can describe complex phenomena, and hence a crucial problem is to learn the coefficients of a polynomial approximation to the transition function of a NLSSM.
Contribution. In this paper, we propose GraphGrad, a method to model and learn the transition distribution of a non-linear state-space model via a polynomial approximation of the state.
-
•
The proposed approximation can represent a rich class of systems, as many dynamical systems are described by a series of differential equations that are polynomial functions of the states. The resulting systems are interpretable, with the interactions between variables having interpretation similar to the rate terms in a dynamical system.
-
•
Our method uses a differentiable particle filter, allowing us to use a first order optimisation scheme to perform parameter estimation, improving robustness whilst decreasing computation time. Furthermore, we promote sparse systems by the use of a proximity update, thereby increasing interpretability, and improving stability compared to naive subgradient updates of a penalised loss.
-
•
GraphGrad is unsupervised, as we optimise the (penalised) parameter log-likelihood, and therefore do not require knowledge of the underlying hidden state to be trained.
-
•
GraphGrad is fast both to fit and to evaluate, and provides excellent performance in challenging scenarios, even when the underlying system is not of polynomial form, i.e., under model mismatch.
Structure. In Section II, we present the underlying particle filtering methodology that we build upon, and introduce the differentiable particle filter, as well as the notation used throughout this paper. We present the method in Section III, and discussion in Section IV. We present several numerical experiments in Section V, and conclude in Section VI.
II Background
II-A Particle filtering
The general state-space model can be described by
(1) |
where denotes discrete time, is the state of the system at time , is the observation at time , is the density of the hidden state , given the previous state , is the density of the observation given the hidden state , and is a set of model parameters. The initial value of the hidden state is distributed . The state sequence is typically hidden, whilst the related sequence of observations is known.
Filtering methods aim at estimating the hidden state at time , denoted , typically utilising the posterior density function of the state conditional on the observations up to time , denoted . Particle filters approximate this density, , using a set of Monte Carlo samples (particles) and their associated weights, . The posterior density can then be approximated by
(2) |
A commonly used particle filtering method is the sequential importance resampling algorithm, given in Alg. 1. At every time-step , the particles and normalised weights, , are calculated. First, we perform the resampling step (line 6), which generates samples, sampling , with probability . The resampling step is vital to avoid the degeneracy of the filter, i.e., to ensure diversity in the particle set and obtain more accurate approximations of the posterior distribution, . Next, particles , , are drawn from the proposal distribution (line 8). Finally, we incorporate the observation , which is done via the particle weights, given by , , in line 9, and the normalised weights (line 10).
II-B Parameter estimation in state-space models
In many problems of interest, the parameter is not known, and must be estimated. The posterior distribution of in the state-space model can be factorised as , where is the parameter of interest, is the prior distribution of the parameter , and is given by
(3) |
where [15]. The prior distribution encodes our pre-existing beliefs as to the value and structure of the parameter , and can be used for regularisation, e.g., by the Lasso [16].
There are many methods to estimate parameters given its posterior density function . We can broadly classify these parameter estimation methods as point estimation methods and distributional methods. Point estimation methods provide a single estimate that is, in some defined way, the optimal value. An example of a point estimation method is the maximum-a-posteriori (MAP) estimator, that defines the optimal value of as the one that maximises the posterior density . The method proposed in this work yields a MAP estimator.
In the case of a linear-Gaussian state-space model, we have closed form methods for the MAP estimator assuming a diffuse prior [15], and efficient methods for obtaining the MAP estimator for sparsity promoting priors [17]. Distributional methods estimate the posterior distribution of the parameter, with common methods being importance sampling [18], Markov chain Monte Carlo [19], and variational inference [20]. For the linear-Gaussian state-space model, we can utilise reversible jump Markov chain Monte Carlo to obtain an estimate of the distribution of sparsity [21], however no similar method exists for the general state-space model. Our proposed method in this work is a point estimation method.
For general SSMs, the likelihood of the parameter , necessary to compute the posterior and hence to design a procedure to maximise it, cannot be obtained in closed form. We can estimate it using the particle filter, by the Monte Carlo estimate
(4) |
where and are the weights of the particle filter in Alg. 1 [15, Chapter 12]. Note that the weights are dependent on the parameter through their computation in Alg. 1. Using these weights, we construct an estimate of the log-likelihood by
(5) |
where results from the proportionality in Eq. (4), and we note that if resampling occurred at time , which is always the case if following Alg. 1, we have . Note that, in practice, log-weights are used for numerical stability, and we compute using a logsumexp reparameterisation.
II-C Differentiable particle filter
The outputs of the particle filter, as given in Alg. 1, namely , are not differentiable with respect to [12], because of the resampling step on line 6. The resampling step requires sampling a multinomial distribution. Sampling a multinomial distribution is not differentiable, as an infinitesimal change in the input probabilities can lead to a discrete change in the output sample value [12].
Differentiable particle filters (DPFs) are recently introduced tools that modify the resampling step of the SIR particle filter to be differentiable, and therefore lead to a particle filtering algorithm that is differentiable with respect to [11, 22, 12, 23]. There exist a number of DPF methods, based on various techniques for making the resampling step differentiable. These range from weight retention in soft resampling [10], to optimal transport [11]. An overview of the DPF and its interplay with deep learning methods can be found in [22], which motivates our choice of differentiable particle filter, and our usage of stochastic gradient descent methods.
In this work, we built upon the DPF approach from [12], which utilises a stop gradient operator to make the resampling step differentiable. We summarise this method in Alg. 2. This algorithm yields unbiased gradient estimates with minimal computational overhead, and does not modify the behaviour of the forward pass of the particle filter.
In Alg. 2, at each time-step , we first sample the previous particle set, sampling , , with probability (line 6). The value of determines the ancestry of the -th particle at time . Note that we apply a stop gradient operator to the weights in the sampling method, and therefore do not attempt to propagate gradients through sampling a discrete distribution. We then set the weights of all particles to whilst preserving gradient information in the weights by dividing the weights by themselves, applying a stop-gradient operation to the divisor, and then multiplying by the constant (line 7). The rest of the DPF proceeds as Alg. 1, described in Sec. II-A, with the particle sampling, weighting, and normalisation steps unmodified.
The DPF is particularly useful when estimating parameters, as we can compute the gradients of functions of the likelihood and of the particle trajectories, and therefore compute parameters optimising a chosen loss function. In particular, we typically use likelihood-based losses when performing inference where the hidden state is unknown in the training data, and trajectory-based losses when the sequence of hidden states is known for the training data. Examples of likelihood-based losses are the negative log-likelihood and the ELBO. The mean-square error of the inferred state is a typical trajectory-based loss. Note that the trajectory of the hidden states depends on the weights, and therefore the weights must be differentiable even if the loss function is based only on the trajectory.
Given a loss function based on the weights and/or particles of a differentiable particle filter, we can compute the minimiser using a gradient-based optimisation scheme. This is efficient, especially compared to the gradient-free methods previously required, and is more robust to the stochasticity of the likelihood and state estimates, as many gradient schemes are designed with noisy gradients in mind [24, 25].
II-D Notation
We here present our notation, used throughout the paper. We denote by the -th column vector of matrix , and by the -th row vector of matrix . We denote by the identity matrix.
We denote by the binary indicator function, which returns when satisfies , and otherwise. We denote by the sign function. We denote by the absolute value function. All three functions can be applied element-wise to a matrix or vector.
We denote by the natural numbers including , and by the natural numbers excluding .
We denote by the number of times the item occurs in the list , and by the set of all length combinations of the elements of the set with replacement, up to reordering. For example, we have and .
We denote by the stop-gradient operator applied to , with properties as defined in [12].
III Sparse estimation of non-linear state-space models
This Section presents our main contribution. We propose our approach to model and learn the state transition distribution of a general state-space model. Our approach builds upon a polynomial approximation to the transition distribution parameterised by , a matrix of real numbers encoding polynomail coefficients, to be learnt, and a fixed (i.e., known) integer matrix of monomial degrees associated with .
The positive integer denotes the fixed maximum degree of our polynomial approximation. The number of monomials of degree in variables is . No other model parameters are assumed unknown, hence is equal in our case to , and, in particular, . For example, in the additive zero-mean Gaussian noise case, we have
(6) |
where is the covariance of the state noise distribution, and, for every ,
(7) |
is our considered polynomial approximation. The degree matrix is constructed from the number of hidden states and the maximum degree , and is a static parameter.
The remainder of this section is structured as follows. Our polynomial model is thoroughly described in Section III-A. We then design an approach to learn the coefficient matrix using a maximum-a-posteriori estimator under a sparsity inducing penalty. We next discuss in Section III-B the graphical interpretation of and the key role of sparsity. We then use the Lorenz 63 dynamical system as a pedagogical example to better illustrate the usefulness of our model, in Section III-C. We move to the presentation of our approach to estimate , starting from the problem definition in Section III-D, a single batch algorithm S-GraphGrad in Section III-E, and a practical mini-batch implementation, leading to our final algorithm B-GraphGrad, in Section III-F.
III-A Constructing a polynomial approximant
In order to learn a polynomial approximation to the state transition distribution, let us first define the learnt and static parameters of our polynomials. A polynomial is the result of summing a number of monomials, and hence can be constructed as a sum of estimated monomial terms. The degree of a monomial is given by the sum of the powers of its constituent terms, with a polynomial having degree equal to the maximum degree of its constituent monomials. In our model, we assume a fixed maximum degree for our polynomial approximation.
Once is set, we construct all length sequences of positive integers that sum to , resulting in
(8) |
unique sequences. This simple procedure allows us to generate the powers of all monomial terms in a polynomial of degree , that we store in an matrix, denoted , with the term corresponding to the power of state dimension in the -th monomial term. The polynomial expression is then defined by matrix , following Eq. (7). The ordering of the monomials is arbitrary but must be consistent, as it implies the order of the columns of and .
III-A1 Generating the degree matrix
We will now specify the construction of , the degree matrix. As before, is such that is the power of state dimension in the -th monomial term. For example, if , and, for some , , then the value of the -th monomial term when evaluating the transition of the -th state dimension is , where is a learnt coefficient. The degree matrix is static, and hence the same for every state, meaning that all states fit a polynomial of the same maximum degree.
Our method for construction the degree matrix is given in Alg. 3, where ‘’ and ‘’ are defined in Sec. II-D. Alg. 3 takes the union of all possible combinations with replacement of the set of length less than or equal to , denoting by the resulting set. We then construct by setting each entry equal to the number of times occurs in the -th element of , for and .
We observe that . Note that the set has no inherent ordering, but we access it by index. We must therefore impose an ordering on the set . One such ordering is lexicographical ordering. To apply this ordering, we first count how many times each number appears in an element of . We then order these elements by the number of times appears, and in case of equality comparing the number of times appears, and so on until . Note that the ordering of the degree matrix does not change the properties of the algorithm. In this work, for interpretability, we sort monomials in ascending order by degree, then sorting by lexicographical order as a tiebreaker within degree, as this aligns closely with how the degree matrix is generated in Alg. 3, by iterating over degrees.
III-A2 Initialising the coefficient matrix and evaluating the polynomial
Now that is constructed, to evaluate the resulting polynomial for each state dimension, we require , encoding the coefficients of each monomial term in every state dimension. These coefficients are our object of inference, and therefore should be stored in a manner admitting efficient evaluation of the polynomial.
We have monomials for each of the state dimensions, and therefore we propose to store the monomial coefficients in an matrix , where corresponds to the coefficient of the -th monomial when computing state . This gives us a total of parameters to estimate.
Following usual broadcasting rules, given , , and , we can now evaluate the value of our polynomial at any by Eq. (7). Note that is scalar, with being the vector multiplied by the scalar . In effect, evaluates the -th monomial term with coefficient , and this calculation is reused for every state dimension, with applying the coefficients, which are unique to each state dimension. Once the model is initialised, our goal is to learn the coefficient matrix , since this matrix, in conjunction with the known fixed degree matrix , defines the transition density in Eq. (1), where is the set of learnt parameters, in our case .
III-B A graphical interpretation of matrices and
Within time series modelling, we can often interpret the driving parameters of a sparse model as a graph encoding the connectivity of the system [17, 21, 26, 27, 28, 29]. This is the case here as well, where we observe that, for , state dimension affects state dimension in our estimated dynamics if , where we note that is an matrix. We can interpret this in terms of Granger causality, where we see that including information from state improves the knowledge on state , and therefore we say that state Granger-causes state if .
We are therefore able to construct a directed graph of our estimated system from the matrices and . This graph has adjacency matrix , defined by , where we have an edge from node to node if , and no edge if . If this graph is not fully connected, or equivalently if there exist such that , then some state dimensions do not directly interact in our estimated system.
We can also interpret our system as a collection of graphs, , where the -th graph has adjacency matrix . Each can be interpreted as encoding the connectivity resulting from the -th monomial. A sparsity promoting prior on also promotes sparsity in these graphs. We can therefore interpret our method of estimating as estimating multiple interacting sparse graphical models, one for each of the underlying monomials.
III-C An example: Lorenz 63
We present here a worked example utilising the Lorenz 63 model. The Lorenz 63 model [13] is a popular chaotic oscillator model, with a discrete time variant given by,
(9) |
where is the time elapsed between observations, the state noise term, and the observation noise term, and are real scalar parameters, often taken as . The initial condition is arbitrary, so long as it is non-zero, and is often taken to be .
We can see that the transition state system in Eq. (9) is described by a degree polynomial in variables. Therefore, using our notations, we have
under lexicographical ordering, and
under lexicographical-in-degree ordering. From the lexicographical-in-degree ordering, the resulting degree matrix is
Given the above degree matrix , we can extract from Eq. (9) the true coefficient matrix ,
which, notably, is sparse with elements out of equal to zero. We can verify that inputting the above and into Eq. (6) and Eq. (7) yields the system given in Eq. (9). Furthermore, we construct the adjacency matrix from the above and matrices, yielding the adjacency matrix and associated directed graph given in Fig. 1.
In this example, the coefficient matrix is sparse, while the adjacency matrix gives a highly connected graph. Imposing a sparse at the estimation stage therefore gives more information than the adjacency matrix , as we also obtain estimates of the type of interactions that occur between the hidden states.
III-D Parameter estimation
We now move to the learning procedure, for the unknown parameter . This is done via a maximum-a-posteriori approach, that is by minimising the penalised negative log-likelihood , given by
(10) |
where
(11) |
and is a sparsity promoting penalty term acting on , with penalty weight . Hence, we aim to compute
(12) |
We propose to adopt the penalty to promote sparsity, given by
(13) |
We propose to solve Eq. (12), using a first-order optimisation scheme, combining a gradient step on the log-likelihood, and a proximity step over . We will now describe the gradient step, and then describe the proximity step.
III-D1 Estimating the parameter likelihood and its gradient
In order to resolve Eq. (12) using a first order optimisation scheme, we require to evaluate the negative log-likelihood and its first derivative with respect to , given the observation series and the state-space model. We propose to estimate the likelihood through Eq. (4), where we have , our parameter of interest. We then transform this quantity to the negative log-likelihood through negating the logarithm of the resulting estimate. For stability reasons, in practice, log-weights are used, and the log-likelihood is thus computed directly. The obtained estimate of the log-likelihood depends on the particle weights, which, in the standard SIR particle filter of Alg. 1, are subject to a non-differentiable resampling step.
Thankfully, we can utilise the DPF approach discussed in Sec. II-C, to obtain an estimate of the negative log-likelihood with respect to our parameter , and the gradient of the negative log-likelihood with respect to . The DPF yields a stochastic estimate of the gradient, which we can use to perform gradient based minimisation of the negative log-likelihood. In order to be robust to gradient noise, we propose to rely on first-order updates from the deep learning literature, where stochastic gradients are common due to stochastic input batches. In our experiments, we utilise the Novograd optimiser [25, 30] to compute our gradient updates for the negative log-likelihood, as it is robust to gradient outliers [30].
We denote the result of the gradient update utilising the negative log-likelihood at iteration ,
(14) |
where is a step of a given minimisation scheme with learning rate applied to with gradient of the negative log-likelihood obtained from running the particle filter with parameter and observations .
III-D2 Proximal update on the penalty term
Given that we can estimate the negative log-likelihood and its gradient , we now need to account for the penalty term . Note that the penalty is not differentiable when a coordinate is , hence it cannot be optimised using standard gradient descent if we aim to recover sparse estimates. It is however convex, and particularly well suited to the use of a proximity operator update [31], that can be understood as an implicit subgradient step.
The proximity operator update, for the penalty, reads as a simple soft thresholding, so that our resulting scheme; combining both steps, is
(15) |
where the soft-thresholding operator,
is applied element-wise. The above algorithm belongs to the class of stochastic proximal gradient methods, the convergence of which is well studied, for instance in [32, 33].
Note that automatic differentiation can also be used when applying the penalty, as the penalty admits a subgradient [34, 35]. However, the proximal operator update is more computationally efficient, and more stable. The proximal operator is also more versatile, as it allows using other penalties such as low rank, or penalty, which cannot be applied by the subgradient method [36].
III-E S-GraphGrad algorithm
We have now all the elements for solving (12). We first start with a full batch implementation, in Alg. 4, which we call S-GraphGrad, and which operates on the entire series of observations at once.
III-E1 S-GraphGrad description
S-GraphGrad takes as input the series of observations , the number of steps , the penalty parameter , the degree matrix , the initial coefficient value , and the learning rate , producing as output a sparse matrix of polynomial coefficients. S-GraphGrad iterates for steps, with the -th step proceeding as follows.
First, we run a differentiable particle filter with the estimate of the coefficients from the previous step with observations (line 4). When running the filter, we assume that we either know or have suitable estimates of the observation model and the proposal distribution , as well as the state noise. For example, if the noise is additive and Gaussian, we have Eq. (6), and would require a suitable estimate of . Other noises can be accounted for, such as multiplicative Gaussian, assuming a definition of how the estimated polynomial model and the noise interact to compute .
While running the filter, we process the weights to obtain an estimate of the likelihood of the parameter using Eq. (4), and use automatic differentiation to obtain an estimate of (line 5). We then apply a gradient-based update step, on the negative log-likelihood, of a given minimisation scheme with learning rate to , yielding . Namely, the gradients are those of the negative log-likelihood, as we are aiming to maximise the log-likelihood, and hence we minimise the negative log-likelihood using the minimisation scheme (line 6).
We then apply the proximal update at , yielding , the estimated coefficient matrix at step (line 7). In the case of the penalty the proximity operator is the soft thresholding operator, depending on the learning rate of and a penalty parameter of .
III-E2 Combating likelihood degeneracy
In practice, using S-GraphGrad is hampered by likelihood degeneracy, which causes the likelihood to evaluatenumerically as zero due to the limited precision of floating point arithmetic. This could result in the gradient vanishing, and hence numerical failure of the scheme.
A typical way to combat this is by using log weights, different floating point representations, or gradient scaling, but these do not address the core problem, which is that the likelihood becomes more concentrated the longer the observations series is. We will now discuss this phenomenon, and how we mitigate it.
For observation series longer than a few elements, the likelihood function, given in Eq. (4), when evaluated with parameters that do not yield dynamics close to the true dynamics, is numerically . Numerical zeros are a limitation of computer arithmetic, and in this case result from the multiplication of the very low likelihoods that occur in an unadapted filter to yield a result that is numerically zero. Note that, if operating on a log scale, we instead obtain rather than 0, but the root cause is the same. Note that even when the dynamics are perfectly known we still observe this phenomenon, and here we aim to mitigate the effect of unadapted parameters, not the fundamental issue of likelihood accumulation in particle filters.
There are several standard ways to mitigate the effects of likelihood concentration within state-space models, such as variance inflation, where we increase the magnitude of the state and observation covariances to decrease likelihood concentration, or simply running the particle filter with a larger number of particles. However, both of these methods break down as the length of the observation series increases, as they do not address the underlying issue of the parameters not being adapted to the observed data.
The likelihood degenerating causes the gradients of the log-likelihood to explode, and hence makes it impossible to perform gradient-based inference. We can address this issue by running our method multiple times, first to fit a coarse estimate, and then refining this estimate over several subsequent iterations. We fit this coarse estimate using only the first few observations, and then gradually introduce more observations, refining our estimate and mitigating likelihood degeneracy due to unadapted parameters.
III-F B-GraphGrad algorithm
We end this section by presenting B-GraphGrad, our final method for estimating the dynamics of a general non-linear state-space model via a polynomial approximation. This method builds upon that described Alg. 4 (S-GraphGrad) in Sec. III-E, proposing a sequentially-batched implementation of the method, utilising an observation batching strategy to mitigate likelihood concentration issues.
The proposed method is doubly iterative: we iterate over telescoping batches of observations, within which we iteratively estimate the coefficients of our polynomial approximation. We create batches of observations by for . Note that these batches are of increasing size, with for . Within each batch of observations, we perform runs of Alg. 4 (S-GraphGrad). We perform batching to avoid numerical errors, as the first sampled trajectories, with parameters close the the initial random initialisation, will likely have an extremely small log-likelihood, which compounds numerical errors when computing the weights in Alg. 2 [9]. Note that, in the case that the true system can represented as a polynomial, few batches may be needed. Indeed, in the case of the Lorenz 63 oscillator, we require only a batch of observations to initialise the coefficients, and can then proceed with estimation on series of lengths exceeding . However, in general the true system is not polynomial, so we proceed with fixed-size batches for simplicity and robustness. We present the method in Alg. 5 (B-GraphGrad), and describe it below.
III-F1 B-GraphGrad description
As stated in Sec. III-F, B-GraphGrad builds upon S-GraphGrad, implementing observation batching to mitigate likelihood generation for unadapted models. In particular, B-GraphGrad runs for iterations, with the -th iteration running S-GraphGrad with iterations on the observation series . This allows us to ‘warm up’ the coefficient parameter , so that when we are performing estimation on the entire series we do not encounter issues due to likelihood concentration. We avoid these issues by learning first on small series, which have relatively dispersed likelihoods due to their length. By learning an initial estimate of the transition dynamics on the initial batches, we have a better model when we come to estimating on the longer series that can display likelihood issues when the model is not adapted.
B-GraphGrad proceeds as follows. First, we construct the degree matrix given the selected maximum degree and hidden state dimension . is constructed following Alg. 3 described in Sec. III-A1. We note that is a static parameter, and is not learnt through our training. We then generate an initial value for , denoted . We can choose this value randomly, as we avoid likelihood related issues through our batching procedure. In Alg. 5 (B-GraphGrad) we draw element-wise by sampling a uniform distribution, however in principle any real valued distribution could be used, such as a standard normal distribution. After initialising , we generate the observation batches. We then iterate over the batches of observations. For batch , we run Alg. 4 (S-GraphGrad) with the parameter estimate from the previous batch, , and label the resulting updated parameter by . The -th batch is the final batch and trains using the entire series of observations, outputting the final value , which is learnt so as to optimise our objective function Eq. (12).
IV Discussion
We now discuss our algorithm, B-GraphGrad, as given in Alg. 5, and provide some potential extensions and modifications to particular systems.
IV-A GraphGrad prerequisites
In order to apply GraphGrad, we must either know or have estimates of the observation model and its noise process, and must know the form of the state noise. The observation model are typically assumed known in dynamical systems, such as by the intrinsic properties of the sensors used, or are estimated from previous studies. We require that the likelihood of the observation is differentiable with respect to , as otherwise we cannot apply the differentiable particle filter. If we use a proposal distribution , then we must be able to sample from this distribution differentiably with respect with , and it must admit a differentiable likelihood with respect with .
Furthermore, we assume that the state noise is such that we can sample it in a differentiable manner. An example of such a noise is the Gaussian distribution, from which we can generate sample differentiably with regard to the distribution parameters using the reparameterisation trick [37]. Many distributions can be sampled differentiably with regard to their parameters using similar tricks, such as the multivariate t distribution (with known degrees of freedom), which could be used if heavier tails are required.
IV-B Computational cost
B-GraphGrad, as given in Alg. 5, requires evaluations of the particle filter to obtain the negative log-likelihood and its gradient. The particle filter is of time complexity and therefore our method is of complexity . Indeed, we evaluate the particle filter times, and obtain the gradients via reverse-mode automatic differentiation, which is of the same time complexity as the function we differentiate. Note that we neglect here the complexity cost of sampling distributions and evaluating the likelihoods in the particle filter, as these vary from model to model, and occur the same number of times across filter runs.
The cost of evaluating the polynomial in Eq. (7) is small, and of complexity . We note that the polynomial evaluation can be efficiently parallelised as is fixed, so it is possible to evaluate the polynomial by performing an associative scan over evaluating the monomials. That is, we can evaluate the terms in parallel, and then evaluate their product and sum in parallel. Furthermore, the vector-scalar element product is typically automatically abstracted to an SIMD operation, speeding evaluation up by a factor of .
Finally, we note that the computation of the particle filter and its gradient can be accelerated by observing that the computations in the differentiable particle filter depend on the previous state only through the particles and the weights. Under this restriction, we can implement the particle filter as a scan-with-carry. Therefore, it is possible to construct the computational graph of the particle filter, and therefore of its gradient, from the computational graph of the scanned function, yielding a much smaller graph than from the entire filter [34].
IV-C Exploiting parallelisation to decrease runtime
B-GraphGrad, if implemented following Alg. 5, is a sequential algorithm. Sequential operation is required as the estimate at each step depends on the estimate at the previous step. However, we can use parallel computing to reduce the elapsed time of the computation by computing fewer batches.
In particular, the batching proposed in B-GraphGrad is very conservative, in that the batch size increases by the same increment in all instances. In practice, as the approximand uses few parameters, with each parameter having a distinct effect, we rapidly adapt to the system within the first few batches.
We hence propose a more efficient procedure. We initialise independent coefficient matrices, , and learn each independently in parallel for batches of observations. Then, we check if there exists a subset of the coefficient matrices such that the coefficient matrices are close in value, for example by attempting to find such that for some matrix norm and . If this matrix exists, then this indicates that the coefficient matrices have adapted to the system. We then cease batching, and learn on the entire series of observations using the coefficient matrices in our subset, aggregating after finishing optimisation, e.g., via an element-wise mean. If the subset cannot be constructed, we continue learning for another batch of observations, and then recheck the above condition, stopping when either we exhaust the set of observations or the subset of matrices can be constructed.
This batching method can take advantage of parallel processing by performing optimisation on each independent parameter in parallel, with the subset construction and matrix calculations being cheap in comparison. This accelerates our inference by reducing the number of batches that need to be constructed, therefore reducing the run time of the algorithm.
V Numerical study
We here present our experimental results, to illustrate and discuss the performance of our proposed approach. We are interested in the recovery of the underlying model in dynamical systems described by polynomial ordinary differential equations (ODEs), namely the Lorenz 63 (Sec. V-B) and Lorenz 96 (Sec. V-C) oscillators, and estimating a non-polynomial system, the Kuramoto oscillator (Sec. V-D). In each case, we use an Euler discretisation to build a discretised form for the model, and we map it with our problem formulation where the goal is to recover an estimate of a ground truth matrix .
We implement the proposed B-GraphGrad algorithm, and compare it against the fitting of a polynomial of the same degree using a maximum likelihood scheme, which we denote pMLE, for polynomial maximum likelihood estimator. This scheme is identical to our B-GraphGrad scheme, except that we remove the proximal steps. pMLE fits a fully dense model, so in its case we present only RMSE, as the sparsity metrics are predetermined (i.e., no sparsity is recovered).
V-A Experimental setup
For our numerical experiments, we use the following settings, unless stated otherwise. We use the Novograd optimisation scheme [25, 30], for update in Alg. 4 line 6, with a fixed learning rate of . We split our observation series into batches such that , therefore giving a batch size increment of approximately . We use particles in our particle filter in Alg. 2. denotes the length of the observation series. For a given polynomial degree , we construct the degree matrix following Sec. III-A1.
Performance assessment is performed using several quantitative metrics, either based on the recovery of the sparse support of (in terms of specificity, precision, recall, and F1 score), or of its entries (in terms of root mean square error, RMSE). We define an element of as numerically zero if it is lower than in absolute value, as this is approximately the precision of single precision floating point arithmetic. Perfect recovery of positive and negative values is indicated by in all sparsity metrics, and RMSE.
We choose the penalty parameter for a system with state dimension and maximal degree by tuning it on a synthetic system. This system is not used to generate the data for fitting, and is only used to tune . This system is such that it has the same dimension state and a maximal degree of as the model we are fitting. We generate the matrix of this system such that it is sparse, with the dense elements drawn from , and then scaled such that the maximal singular value of is . We discretise this system using an Euler discretisation with a timestep equal to the timestep of the system we aim to estimate, adding zero mean Gaussian noise terms and to the state and observations respectively, with . We then optimise via setting , with chosen to maximise the accuracy of the estimated of this system using B-GraphGrad, via iterations of bisection over the interval .
V-B Lorenz 63 model
We start our experiments, with the Lorenz 63 system [13], which we transform into an NLSSM using an Euler discretisation with a timestep of , yielding the system
(16) | ||||
with the observation model . Hence, . We choose such that is equal to in the first element, and elsewhere. We set , with unless stated otherwise. Note that we present the true and matrices for this system in Sec. III-C We use , as these parameters are known to result in a chaotic system, and we set . Our particle filter is initialised with .
We average the results, for our method GraphGrad, and its competitor pMLE, on independent realisations of the specified dynamical system. Hereafter we present our results, on three scenarios, namely assuming maximum degree or , and varying the series length, then considering a varying noise amplitude.
V-B1 Varying series length, maximum degree
method | RMSE () | spec. | recall | prec. | F1 | |
---|---|---|---|---|---|---|
B-GraphGrad | 1.6 | 0.90 | 0.92 | 0.96 | 0.94 | |
pMLE | 2.4 | - | - | - | - | |
B-GraphGrad | 1.0 | 0.98 | 0.97 | 0.98 | 0.98 | |
pMLE | 1.6 | - | - | - | - | |
B-GraphGrad | 0.4 | 1.00 | 1.00 | 1.00 | 1.00 | |
pMLE | 0.8 | - | - | - | - | |
B-GraphGrad | 0.2 | 1.00 | 1.00 | 1.00 | 1.00 | |
pMLE | 0.3 | - | - | - | - |
method | Relative runtime | Absolute runtime (ms) | |
---|---|---|---|
B-GraphGrad | 1 | 51 | |
B-GraphGrad | 3.86 | 197 | |
B-GraphGrad | 15.64 | 768 | |
B-GraphGrad | 62.25 | 3175 |
Table I presents the results for learning over a range of series lengths with a maximal degree of . In this case, estimating requires learning parameters. Here, we assumed the knowledge of the correct degree of the underlying system, so these results serve to provide a baseline for the performance of our method in the scenario where the degree is known. We note that, for many dynamical systems, a default degree of is a sensible modelling choice, as this type of interaction in the rate is very common in many systems, such as in chemical and biological networks, population modelling, and meteorological systems. We observe that the performance of our method improves as the number of observations increases, indicating that our method well incorporates information from new observations. Furthermore, we see that, even for a small number of observations, our method recovers the system connectivity well, even if the RMSE is not as good for low values of . This is due to changes in the system connectivity and the presence or absence of system terms having a large effect, and thus being relatively easy to infer compared the the specific value of the terms, the effects of which are obscured by the noise inherent to the system. Overall, we observe excellent performance, with good recovery of all parameters at all tested series lengths. We see that pMLE does not perform well, mostly because it recovers a fully dense system, and therefore yields matrix with many nonzero parameters that are, in truth, zero. Hence, the RMSE is poor, as the value of the truly nonzero parameters is affected by the value of the falsely nonzero parameters.
From the results given in Table II, we see that our runtime seems to scale quadratically in . This follows from the linear complexity of the particle filter in , and the number of batches also scaling linearly in as per the experimental setup. Each batch runs a particle filter of a fixed length, with each batch running a longer filter than the previous, and therefore the algorithm runtime scales quadratically with . However, one can use the batching method presented in the introduction of Sec. III-F to remove the quadratic scaling by fixing the number of batches, in which case the runtime scales linearly in . We note that runtimes were gathered using desktop grade hardware, and that the implementation specifics of the algorithm can affect the runtime by several orders of magnitude, with memory management and buffer reuse having large impacts on performance. The runtime in Table II were obtained using JAX 0.4.33 [34], running on Ubuntu 24.04 LTS, with code executed on an Intel i7 9700K at 4.95GHz. We stress that the runtimes provided are a guide only, and that the implementation specifics matter as much as the hardware.
V-B2 Varying series length and maximum degree
method | RMSE () | spec. | recall | prec. | F1 | |
---|---|---|---|---|---|---|
B-GraphGrad | 2.0 | 0.84 | 0.90 | 0.92 | 0.91 | |
pMLE | 2.8 | - | - | - | - | |
B-GraphGrad | 1.5 | 0.96 | 0.95 | 0.97 | 0.96 | |
pMLE | 2.0 | - | - | - | - | |
B-GraphGrad | 0.7 | 0.97 | 0.98 | 0.97 | 0.97 | |
pMLE | 1.3 | - | - | - | - | |
B-GraphGrad | 0.4 | 1.00 | 1.00 | 1.00 | 1.00 | |
pMLE | 1.0 | - | - | - | - |
Table III presents the results of our GraphGrad method over a range of series lengths with maximal degree of . In this case estimating requires estimating parameters. A degree of is greater than the true degree of the system, which, as we recall, is not in general known beforehand. Systems with a degree of are uncommon, however it is possible to approximate non-polynomial systems, with higher degree allowing better approximation of the dynamics. For example, the Kuramoto oscillator [38] can be well approximated via a centralised Taylor approximation, which our method can learn directly.
We observe that the performance of our method improves as the number of observations increases, indicating that our method well incorporates information from new observations, and does not over fit given the over specification of the model relative to the system we are learning. We note a decrease in performance relative to Table I where the degree is that of the underlying system, however the results improve as increases.
Furthermore, we note that the change in RMSE is more severe than the changes in sparsity metrics, as a small number of degree 3 terms are fit, where in reality they should be zero. As RMSE is computed only on terms recovered as non-zero, these contribution of these deviations is large relative to that of the degree 2 terms. We see that our method performs well, with the sparsity metrics being close to those of the system. The RMSE is inferior to the system, but still significantly outperforms the comparable polynomial MLE.
V-B3 Variable noise magnitude
method | RMSE () | spec. | recall | prec. | F1 | |
---|---|---|---|---|---|---|
B-GraphGrad | 0.09 | 1.00 | 1.00 | 1.00 | 1.00 | |
pMLE | 0.3 | - | - | - | - | |
B-GraphGrad | 0.3 | 1.00 | 1.00 | 1.00 | 1.00 | |
pMLE | 0.6 | - | - | - | - | |
B-GraphGrad | 1.0 | 0.98 | 0.97 | 0.98 | 0.98 | |
pMLE | 1.6 | - | - | - | - | |
B-GraphGrad | 1.8 | 0.90 | 0.85 | 0.87 | 0.86 | |
pMLE | 2.3 | - | - | - | - |
In Table IV, we present the results of our method over a range of noise magnitudes , now fixing the number of observations to . We remind that the results from Tables I and III, were obtained using . We observe that our method performs well for all tested values of , especially in sparsity metrics. As expected, the recovery quality degrades as the signal to noise ratio decreases when we increase . We note that a large affects both the system and the observation, so increasing it has a particularly pronounced effect.
V-B4 Likelihood degeneracy
In Sec. III-E2, we discussed the effect of likelihood concentration on parameter estimation in the particle filter. We demonstrate this phenomenon below, giving the mean number of timesteps before the likelihood becomes numerically zero for a stochastic variant of the Lorenz 63 model, given by Eq. (9).
number of particles | 5 | 10 | 20 | 50 | 100 | 250 | 500 | 1000 |
---|---|---|---|---|---|---|---|---|
timesteps before degeneracy | 7.8 | 12.2 | 15.7 | 23.8 | 35.3 | 57.5 | 76.8 | 111.3 |
It is clear from Table V that increasing the number of particles does combat the likelihood degeneracy, though it does not solve it, with computational cost increasing significantly for small gains. It is for this reason that we do not display the results of GraphGrad, instead displaying only B-GraphGrad, as GraphGrad fails to converge using single precision arithmetic due to these likelihood issues.
V-B5 Prox update compared to subgradient update
B-GraphGrad uses the proximal operator of the norm to apply a sparsity promoting penalty, following Sec. III-D2. However, as noted, we can also use subgradient methods to minimise our cost function including the penalty. Using standard convex analysis definition, a subgradient of the norm at an element (i.e., an element of the subdifferential of L1 function, at ), is a vector of same dimension than , with entries equal to , using the convention . Note that, numerically, we never encountered exactly zero entries when running the subgradient descent method, and subgradient at a (resp. ) entry is taken as (resp. ). We use the same learning rate of than in the proximal version, and the same parameters for the number of inner/outer iterations. The computational cost differences within each step are negligible, however the proximal method is overall much more efficient, as the proximal version appears to converge faster.
We test both the subgradient approach and the proximal approach on the same system as Sec. V-B1. We present both the average absolute value of elements where the ground truth is , and the RMSE of the estimate. Parameters are set per Sec. V-B1.
method | Recall | RMSE () | |
---|---|---|---|
B-GraphGrad (prox) | |||
B-GraphGrad (subgrad) | |||
B-GraphGrad (prox) | |||
B-GraphGrad (subgrad) | |||
B-GraphGrad (prox) | |||
B-GraphGrad (subgrad) | |||
B-GraphGrad (prox) | |||
B-GraphGrad (subgrad) |
The proximal operator method is more efficient per iteration, in particular, we obtain estimates closer to the ground truth in the same number of iterations as the subgradient method. Further, as the methods have negligable difference in computational cost, this illustrates the superiority of the proximal over the subgradient method for this problem.
V-C Lorenz 96 model
The Lorenz 63 system, while well studied and challenging to estimate, is only 3 dimensional. In order to test the applicability of our method to higher dimensional chaotic systems, we test on the Lorenz 96 system [14], which we transform into a NLSSM using an Euler discretisation, yielding the system
(17) | ||||
for with , where , , and . For this experiment we choose . Therefore, in the case of , estimating requires estimating parameters, and the case of estimating requires estimating parameters. We choose a forcing constant of , which is known known to result in a chaotic system. The connectivity graph of this system, constructed following Sec. III-B, is given in Figure 5, where we observe that state is affected by states and , with index boundaries such that state is equivalent to state for any .
We set , with unless stated otherwise. We discretise this system with a timestep of . We choose , and fix such that is equal to in the first element, and elsewhere. Our particle filter is initialised with . We note that the system is of polynomial form, and therefore can be exactly recovered by our model, assuming equal or larger than two.
method | RMSE () | spec. | recall | prec. | F1 | |
---|---|---|---|---|---|---|
B-GraphGrad | 1.8 | 0.92 | 0.93 | 0.93 | 0.93 | |
pMLE | 2.6 | - | - | - | - | |
B-GraphGrad | 1.4 | 0.96 | 0.95 | 0.94 | 0.95 | |
pMLE | 2.0 | - | - | - | - | |
B-GraphGrad | 0.8 | 0.99 | 0.97 | 0.98 | 0.98 | |
pMLE | 1.3 | - | - | - | - | |
B-GraphGrad | 0.3 | 1.00 | 1.00 | 1.00 | 1.00 | |
pMLE | 0.8 | - | - | - | - |
method | RMSE () | spec. | recall | prec. | F1 | |
---|---|---|---|---|---|---|
B-GraphGrad | 2.4 | 0.80 | 0.92 | 0.73 | 0.82 | |
pMLE | 0.32 | - | - | - | - | |
B-GraphGrad | 2.0 | 0.89 | 0.96 | 0.86 | 0.91 | |
pMLE | 2.5 | - | - | - | - | |
B-GraphGrad | 1.1 | 0.95 | 0.98 | 0.96 | 0.97 | |
pMLE | 2.2 | - | - | - | - | |
B-GraphGrad | 0.5 | 1.00 | 1.00 | 1.00 | 1.00 | |
pMLE | 1.6 | - | - | - | - |
We see that in both cases of and , GraphGrad performs well, outperforming pMLE by a considerable margin. We see no significant deterioration of performance in GraphGrad in this setting, noting that we are estimating parameters in the case, and parameters in the case.
V-D Kuramoto oscillator
The Kuramoto oscillator [38] is a mathematical model that describes the behaviour of a system of phase-coupled oscillators. The model is described, for all , by
(18) |
where denotes the phase of the -th oscillator, and is the coupling constant between oscillators. However, this does not restrict , which will, in general, diverge to as . To address this, we transform Eq. (18) by introducing derived parameters and such that
(19) |
which restricts . This is done purely for computational reasons, and does not affect the properties of the system or interpretation of in any way. We transform Eq. (19) into a NLSSM using an Euler discretisation, yielding
(20) | ||||
for where denotes the phases in the discretised system to ease comparison with the rest of the work. We choose , and . We set , with . We discretise this model with a timestep of . We sample and . Our particle filter is initialised with . We run the system until , and then begin collecting observations.
We note that this model cannot be represented exactly as a polynomial, and therefore the classification metrics used to illustrate sparsity recovery do not make sense. Therefore, we only present a normalised RMSE metric, where we compare the relative error in recovering the hidden state. nRMSE is given by , where is the sequence of means recovered by an estimator, is the sequence of means recovered by a particle filter running with the true model, and is the sequence of states we generate when creating our synthetic data. Therefore, indicates identical performance in terms of state recovery between the true model and an approximation.
We compare the performance of GraphGrad against the pMLE as above, but also against the true model, where we estimate the parameters using maximum likelihood, which we denote by TrueMLE. TrueMLE is an oracle algorithm, and serves as a baseline for the case there the form of the model is known. TrueMLE assumes the form the model in Eq. (20) is known, and estimates the and parameters using maximum likelihood.
We see in Figure 8 that TrueMLE gives the best results, which is expected given that it it is an oracle algorithm with respect to the form of the dynamics, whilst the other methods estimate both the form of the dynamics and the parameters thereof. Within these methods, GraphGrad performs significantly better than the polynomial MLE, and on average has only greater RMSE than state recovery with the true model and known parameters, whilst also assuming no knowledge of the underlying dynamics.
VI Conclusion
In this work, we have proposed GraphGrad, a method for fitting a sparse polynomial approximation to the transition function of a general state-space model. GraphGrad utilises a differentiable particle filter to learn a polynomial parameterisation of a general state-space model using gradient methods, from which we infer the connectivity of the state. GraphGrad promotes sparsity using a proximal operator, which is computationally efficient and stable. Our method is memory efficient, requiring only to keep track of a few parameters. Moreover, it is expressive, as many well known systems can be exactly represented by polynomial rates. Our method can utilise long observation series without vanishing gradients as we utilise observation batching to mitigate likelihood degeneracy. The method displays strong performance inferring the connectivity of a chaotic system, and keeps performing well when the true system cannot be exactly represented by the approximation.
References
- [1] X. Wang, T. Li, S. Sun, and J. M. Corchado, “A survey of recent advances in particle filters and remaining challenges for multitarget tracking,” Sensors, vol. 17, no. 12, p. 2707, 2017.
- [2] T. A. Patterson, A. Parton, R. Langrock, P. G. Blackwell, L. Thomas, and R. King, “Statistical modelling of individual animal movement: an overview of key methods and a discussion of practical challenges,” AStA Advances in Statistical Analysis, vol. 101, pp. 399–438, 2017.
- [3] K. Newman, R. King, V. Elvira, P. de Valpine, R. S. McCrea, and B. J. Morgan, “State-space models for ecological time-series data: Practical model-fitting,” Methods in Ecology and Evolution, vol. 14, no. 1, pp. 26–42, 2023.
- [4] A. Virbickaitė, H. F. Lopes, M. C. Ausín, and P. Galeano, “Particle learning for Bayesian semi-parametric stochastic volatility model,” Econometric Reviews, 2019.
- [5] A. M. Clayton, A. C. Lorenc, and D. M. Barker, “Operational implementation of a hybrid ensemble/4d-Var global data assimilation system at the Met Office,” Quarterly Journal of the Royal Meteorological Society, vol. 139, no. 675, pp. 1445–1461, 2013.
- [6] R. E. Kalman, “A new approach to linear filtering and prediction problems,” Transactions of the ASME–Journal of Basic Engineering, vol. 82, no. Series D, pp. 35–45, 1960.
- [7] H. E. Rauch, F. Tung, and C. T. Striebel, “Maximum likelihood estimates of linear dynamic systems,” AIAA Journal, vol. 3, no. 8, pp. 1445–1450, 1965.
- [8] E. A. Wan and R. Van Der Merwe, “The unscented Kalman filter for nonlinear estimation,” in Proceedings of the IEEE 2000 Adaptive Systems for Signal Processing, Communications, and Control Symposium (Cat. No. 00EX373). IEEE, 2000, pp. 153–158.
- [9] A. Doucet, A. M. Johansen et al., “A tutorial on particle filtering and smoothing: Fifteen years later,” Handbook of nonlinear filtering, vol. 12, no. 656-704, p. 3, 2009.
- [10] P. Karkus, D. Hsu, and W. S. Lee, “Particle filter networks with application to visual localization,” in Proceedings of the Conference on Robot Learning. PMLR, 2018, pp. 169–178.
- [11] A. Corenflos, J. Thornton, A. Doucet, and G. Deligiannidis, “Differentiable particle filtering via entropy-regularized optimal transport,” arXiv preprint arXiv:2102.07850, 2021.
- [12] A. Ścibior and F. Wood, “Differentiable particle filtering without modifying the forward pass,” arXiv preprint arXiv:2106.10314, 2021.
- [13] E. N. Lorenz, “Deterministic nonperiodic flow,” Journal of atmospheric sciences, vol. 20, no. 2, pp. 130–141, 1963.
- [14] ——, “Predictability: A problem partly solved,” in Proc. Seminar on predictability, vol. 1, no. 1. Reading, 1996.
- [15] S. Särkkä, Bayesian Filtering and Smoothing. Cambridge University Press, 2013.
- [16] R. Tibshirani, “Regression shrinkage and selection via the lasso,” Journal of the Royal Statistical Society: Series B (Methodological), vol. 58, no. 1, pp. 267–288, 1996.
- [17] V. Elvira and É. Chouzenoux, “Graphical inference in linear-Gaussian state-space models,” IEEE Transactions on Signal Processing, vol. 70, pp. 4757–4771, 2022.
- [18] S. T. Tokdar and R. E. Kass, “Importance sampling: a review,” Wiley Interdisciplinary Reviews: Computational Statistics, vol. 2, no. 1, pp. 54–60, 2010.
- [19] C. Andrieu, A. Doucet, and R. Holenstein, “Particle Markov chain Monte Carlo methods,” Journal of the Royal Statistical Society: Series B (Statistical Methodology), vol. 72, no. 3, pp. 269–342, 2010.
- [20] D. M. Blei, A. Kucukelbir, and J. D. McAuliffe, “Variational inference: A review for statisticians,” Journal of the American Statistical Association, vol. 112, no. 518, pp. 859–877, 2017.
- [21] B. Cox and V. Elvira, “Sparse bayesian estimation of parameters in linear-gaussian state-space models,” IEEE Transactions on Signal Processing, vol. 71, pp. 1922–1937, 2023.
- [22] X. Chen and Y. Li, “An overview of differentiable particle filters for data-adaptive sequential Bayesian inference,” arXiv preprint arXiv:2302.09639, 2023.
- [23] W. Li, X. Chen, W. Wang, V. Elvira, and Y. Li, “Differentiable bootstrap particle filters for regime-switching models,” arXiv preprint arXiv:2302.10319, 2023.
- [24] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014.
- [25] J. Li, V. Lavrukhin, B. Ginsburg, R. Leary, O. Kuchaiev, J. M. Cohen, H. Nguyen, and R. T. Gadde, “Jasper: An end-to-end convolutional neural acoustic model,” arXiv preprint arXiv:1904.03288, 2019.
- [26] E. Chouzenoux and V. Elvira, “Graphit: Iterative reweighted l1 algorithm for sparse graph inference in state-space models,” in ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2023, pp. 1–5.
- [27] ——, “Sparse graphical linear dynamical systems,” Journal of Machine Learning Research, vol. 25, no. 223, pp. 1–53, 2024.
- [28] ——, “Graphical inference in non-markovian linear-gaussian state-space models,” in ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2024, pp. 13 141–13 145.
- [29] E. Tan, D. Corrêa, T. Stemler, and M. Small, “A backpropagation algorithm for inferring disentagled nodal dynamics and connectivity structure of dynamical networks,” IEEE Transactions on Network Science and Engineering, vol. 11, no. 1, pp. 613–624, 2024.
- [30] B. Ginsburg, P. Castonguay, O. Hrinchuk, O. Kuchaiev, V. Lavrukhin, R. Leary, J. Li, H. Nguyen, and J. M. Cohen, “Stochastic gradient methods with layer-wise adaptive moments for training of deep networks,” CoRR, vol. abs/1905.11286, 2019. [Online]. Available: https://arxiv.org/abs/1905.11286
- [31] P. L. Combettes and J.-C. Pesquet, “Proximal splitting methods in signal processing,” Fixed-Point Algorithms for Inverse Problems in Science and Engineering, pp. 185–212, 2011.
- [32] L. Rosasco, S. Villa, and B. C. Vũ, “Convergence of stochastic proximal gradient algorithm,” Applied Mathematics & Optimization, vol. 82, pp. 891–917, 2020.
- [33] P. L. Combettes and J.-C. Pesquet, “Stochastic approximations and perturbations in forward-backward splitting for monotone operators,” Pure and Applied Functional Analysis, vol. 1, no. 1, pp. 13–37, 2016.
- [34] J. Bradbury, R. Frostig, P. Hawkins, M. J. Johnson, C. Leary, D. Maclaurin, G. Necula, A. Paszke, J. VanderPlas, S. Wanderman-Milne, and Q. Zhang, “JAX: composable transformations of Python+NumPy programs,” 2018. [Online]. Available: https://github.com/google/jax
- [35] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga et al., “Pytorch: An imperative style, high-performance deep learning library,” Advances in Neural Information Processing Systems, vol. 32, 2019.
- [36] F. Bach, R. Jenatton, J. Mairal, G. Obozinski et al., “Optimization with sparsity-inducing penalties,” Foundations and Trends® in Machine Learning, vol. 4, no. 1, pp. 1–106, 2012.
- [37] D. P. Kingma and M. Welling, “Auto-encoding variational bayes,” arXiv preprint arXiv:1312.6114, 2013.
- [38] Y. Kuramoto, Chemical Oscillations, Waves, and Turbulence. Springer, 1984.