Particle rejuvenation of RaoBlackwellized Sequential Monte Carlo smoothers for Conditionally Linear and Gaussian models
Abstract
This paper focuses on Sequential Monte Carlo approximations of smoothing distributions in conditionally linear and Gaussian state spaces. To reduce Monte Carlo variance of smoothers, it is typical in these models to use RaoBlackwellization: particle approximation is used to sample sequences of hidden regimes while the Gaussian states are explicitly integrated conditional on the sequence of regimes and observations, using variants of the Kalman filter / smoother. The first successful attempt to use RaoBlackwellization for smoothing extends the BrysonFrazier smoother for Gaussian linear state space models using the generalized twofilter formula together with Kalman filters / smoothers. More recently, a forward backward decomposition of smoothing distributions mimicking the RauchTungStriebel smoother for the regimes combined with backward Kalman updates has been introduced. This paper investigates the benefit of introducing additional rejuvenation steps in all these algorithms to sample at each time instant new regimes conditional on the forward and backward particles. This defines particle based approximations of the smoothing distributions whose support is not restricted to the set of particles sampled in the forward or backward filter. These procedures are applied to commodity markets which are described using a two factor model based on the spot price and a convenience yield for crude oil data.
1 Introduction
State space models are bivariate stochastic processes where the state sequence is a Markov chain which is only partially observed through the sequence . Conditionally on the state sequence the observations are independent and for all the conditional distribution of given depends on only. These models are used in a large variety of disciplines such as financial econometrics, biology, signal processing, see [DM13] and the references therein. In general state space models, bayesian filtering and smoothing problems, i.e. the computation of the posterior distributions of a sequence of states for given observations , are challenging tasks. Filtering refers to the estimation of the distributions of the hidden state given the observations up to time , while fixedinterval smoothing stands for the estimation of the distribution of sequence of states given observations with .
When the state and observation models are linear and Gaussian, filtering can be solved explicitly using the Kalman filter [Kal60]. Exact solutions of the fixedhorizon smoothing problem can be obtained using either the RauchTungStriebel smoother [RST65] or the BrysonFrazier twofilter smoother [BF63]. This paper focuses on Conditionally Linear and Gaussian Models (CLGM) given for by:
(1) 
where:

is a sequence of independent and identically distributed (i.i.d.) dimensional Gaussian vectors with zero mean and identity covariance.

is a homogeneous Markov chain taking values in a finite space , called regimes, with initial distribution and transition matrix .

are positivedefinite matrices, dimensional vectors and positivedefinite matrices.

is a dimensional Gaussian random variable with mean and variance independent of .
Let be the number of observations. At each time step , the observation is given by:
(2) 
where:

is a i.i.d. sequence of dimensional Gaussian vectors, independent of and .

are positivedefinite matrices, dimensional vectors and matrices.
CLGM play an important role in many applications; see [Sar13] and the references therein for an uptodate account. A crucial feature of these models is that, conditional on the regime sequence , both the state equation and the observation equation are linear and Gaussian, which implies that conditional on the sequence of regimes and on the observations, the filtering and the smoothing distributions of the continuous states can be computed explicitly.
To exploit this specific structure, it has been suggested in the pioneering works of [CL00, DGA00] to solve the filtering problem by combining Sequential Monte Carlo (SMC) methods to sample the regimes with the Kalman filter to compute the conditional distribution of the states sequence conditional on the regimes and on the observations. This is a specific instance of RaoBlackwellized Monte Carlo filters, often referred to as the Mixture Kalman Filter. Improvements of these early filtering techniques have been introduced in [DGK01, SGN05].
The use of RaoBlackwellization to solve the smoothing problem has been proved to be more challenging and has received satisfactory solutions only recently. The first forwardbackward smoother proposed in the literature [FGDW02] was not fully RaoBlackwellized as it required to sample the hidden linear states in the backward pass. An alternative approach, based on the socalled structural approximation of the model suggested in an early paper by [Kim94], was proposed by [Bar06] to avoid to sample a continuous state in the backward pass. This approximation is rather adhoc and the resulting smoother is not consistent when the number of particles goes to infinity. The inaccuracy introduced by the approximation might be difficult to control.
The first fully RaoBlackwellized SMC smoother which should lead to consistent approximations when the number of particles grows to infinity was proposed by [BDM10] and extends the BrysonFrazier smoother for Gaussian linear state space models using the generalized twofilter formula with RaoBlackwellization steps for the forward and the backward filters. This twofilter approach combines a forward filter with a backward information filter which are approximated numerically using SMC for the regime sequence and Kalman filtering techniques for the hidden linear states.
More recently, [SBG12, LBGS13, LBS16] introduced a RaoBlackwellized smoother based on the forwardbackward decomposition of the FFBS algorithm with RaoBlackwellization steps both in the forward and backward time directions. The update of the smoothing distribution of the regime given the observations shares some striking similarities with the RauchTungStriebel smoothing procedure, which is at the heart of the FFBS procedure. The RaoBlackwellization requires to update backward in time the smoothing distribution of the states given the regimes and the observations, which is achieved by using an à la Kalman backward update.
In this paper, we propose to improve the performance of the algorithms introduced in [BDM10] and in [SBG12, LBGS13, LBS16] by using additional RaoBlackwellization steps which allows to sample new particles in the backward pass. This approach may be seen as an extension of the ideas of [FC03] for RaoBlackwellized smoothers. In [BDM10], for all , the sampled forward and backward sequences are merged to approximate the posterior distribution of . This provides an approximation whose support is restricted to the particles produced at time by the backward particle filter. As noted in [FWT10, Secion 2.6], these twofilter smoothers are prone to suffer from degeneracy issues when the algorithm associates forward particles at time with backward particles at time . We propose to approximate the marginal smoothing distribution of by merging the sampled forward and backward trajectories at times and and integrating out all possible paths between time and time and between time and time instead of sampling random variables. Similarly, in the backward pass of [SBG12, LBGS13, LBS16], a regime is sampled at time using the particles produced by the forward filter at time . In this case, particle rejuvenation may be introduced by using the forward weighted samples at time and extending these trajectories at time with a Kalman filter for all possible values of the regime. Then, is sampled in using an appropriately adapted weight.
The paper is organized as follows. The algorithms introduced in [BDM10] and in [SBG12, LBGS13, LBS16] as long as the proposed rejuvenation associated with each method are presented in Section 2. The performance of all these methods is illustrated in Section 3 with simulated data. In Section 4, an application to commodity markets is presented; the performance of our procedure is illustrated with crude oil data. A detailed derivation of the algorithms is provided in the Appendix.
2 RaoBlackwellized smoothing algorithms
This section details the Sequential Monte Carlo algorithms which can be used to approximate the conditional distribution of the states or the marginal distributions of given the observations . For all matrix let be the determinant of . If is a positivedefinite matrix, for all define
where for any vector or matrix , denotes the transpose matrix of . Let be the probability density of the conditional distribution of given and be the probability density of the conditional distribution of given :
(3)  
(4) 
where
All the algorithms considered in this paper are based on forwardbackward or twofilter decompositions of the smoothing distributions and share the same forward filter presented in Section 2.1.
2.1 Forward filter
The SMC approximation of may be obtained using a standard RaoBlackwellized algorithm. The procedure produces a sequence of trajectories associated with normalized importance weights () used to define the following approximation of :
(5) 
where is the Dirac delta function. In this equation, the conditional distribution of the hidden state given the observations and a trajectory is a Gaussian distribution whose mean and variance may be obtained by using the Kalman filter update.
Initialization
At time , write, for all ,
are sampled independently in with probabilities proportional to
Then, and are computed using a Kalman filter:
where for all positive integer , is the identity matrix. Each particle particle is associated with the importance weight .
Iterations
Several procedures may be used to extend the trajectories at time .
For all sampled trajectories and all , [CL00] used the incremental weights:
The conditional distribution of given , and is a Gaussian distribution with mean and variance where
Therefore,
where:
(6)  
(7) 
In [CL00], for all , an ancestral path is chosen with probabilities proportional to . Then, the new regime is sampled in with probabilities proportional to . A drawback of this method is that only ancestral paths that have been selected using the importance weights are extended at time . Following [BGM08], this may be improved by considering all the offsprings of all ancestral trajectories . Each ancestral path has offsprings at time , it is thus necessary to choose a given number of trajectories at time (for instance ) among the possible paths. To obtain the weight associated with each offspring write the following approximation of based on the weighted samples at time :
Therefore, each ancestral trajectory of the form , , , is associated with the normalized weight . Several random selection schemes have been proposed to discard some of the possible offsprings to maintain an average number of particles at each time step. Following [BGM08], we might choose between the KullbackLeibler Optimal Selection (KLOS) or the ChiSquared Optimal Selection (CSOS) to associate a new weight to each of the trajectories. If the new weight is 0, then the corresponding particle can be removed.
KLOS: is chosen as the solution of :
For all and , if then the new weight is and if :
CSOS: is chosen as the solution of :
For all and , if then the new weight is and if :
Then, in both cases, all particles such that are discarded and for all the other trajectories defined as an ancestral path extended by , the new corresponding weight in (5) is given by the normalized weight . In the numerical sections of this paper, the KullbackLeibler Optimal Selection (KLOS) scheme is used.
2.2 FFBS based algorithms
2.2.1 FFBS algorithms of [Sbg12, Lbgs13, Lbs16]
[SBG12, LBGS13, LBS16] proposed a RaoBlackwellized procedure to sample the regime backward in time following the same steps as in the Forward Filtering Backward Smoothing algorithm [HK98, DGA00]. The algorithm relies on the decomposition given, for all , by:
This decomposition is similar to the RauchTungStriebel decomposition of the filtering distribution. The first factor on the right hand side of the previous equation is nevertheless more difficult to handle because it itself relies on all the observations. As noted by [SBG12], this term can be computed recursively by considering the following decomposition:
(8) 
The second factor in the last equation may be approximated using the ancestral trajectories and the associated importance weights produced by the forward filter. Therefore, may be approximated by:
Then, a trajectory approximatively distributed according to may be sampled following these steps:

Set with probabilities proportional to .

For all , set with probabilities proportional to .
This algorithm requires to compute the quantity . This predictive quantity is available analytically using Kalman filtering techniques. However, this has to be done for each trajectory , which leads to an algorithm with a prohibitive computational complexity. [LBS16] proposed a procedure computationally less intensive by conditioning with respect to and then marginalizing with respect to this variable:
(9) 
This is similar to the twofilter decomposition of the smoothing distribution, see Section 2.3. By [LBS16],
where the proportionality is with respect to and
where the proportionality is with respect to . These quantities may be computed recursively backward in time with:
Then, for , define and and write
As ,
Then, by (9),
(10) 
where the proportionality is with respect to and
where . Therefore,
If are independent copies of , the SMC approximation of [LBS16] of the joint smoothing distribution of the regime is:
2.2.2 Particle rejuvenation of FFBS algorithms
The crucial step of the FFBS algorithm is the decomposition (8) which allows to extend a backward trajectory by choosing a particle in the set produced by the forward filter (and discarding the states ). An improved version of this FFBS algorithm which is not constrained to sample states in the support may be defined for all by writing:
Replacing in the integral by the particle approximation obtained during the forward pass and using Kalman filtering techniques for each trajectory and each yields:
where
On the other hand, for all , is computed as in (10) with all possible values and not only the regime of the filtering pass . This means that a Kalman filter must be used for each trajectory which may be extended by . Denote by and the mean and covariance matrix of the law of given obtained as in (6) and (7). Then,
(11) 
where the proportionality is with respect to and
where is defined as . The distribution is then approximated by :
(12) 
By integrating over all possible paths , is sampled in . This particle rejuvenation step allows to explore states which are not in the support of the particles produced by the forward filter and improves the accuracy and the variance of the original FFBS algorithm, see Section 3 for numerical illustrations.