Rao-Blackwellized Particle Smoothing as Message Passing
Giorgio M. Vitetta, Emilio Sirignano, Francesco Montorsi

TL;DR
This paper introduces a novel Rao-Blackwellized particle smoother for conditionally linear Gaussian state-space models, using a factor graph approach to improve fixed-lag smoothing accuracy and efficiency.
Contribution
It develops a new Rao-Blackwellized particle smoothing method tailored for conditionally linear Gaussian models, enhancing existing smoothing techniques with a factor graph framework.
Findings
Improved smoothing accuracy demonstrated on a specific model.
Reduced computational complexity compared to traditional methods.
Effective point mass approximation of the joint smoothing distribution.
Abstract
In this manuscript the fixed-lag smoothing problem for conditionally linear Gaussian state-space models is investigated from a factor graph perspective. More specifically, after formulating Bayesian smoothing for an arbitrary state-space model as forward-backward message passing over a factor graph, we focus on the above mentioned class of models and derive a novel Rao-Blackwellized particle smoother for it. Then, we show how our technique can be modified to estimate a point mass approximation of the so called joint smoothing distribution. Finally, the estimation accuracy and the computational requirements of our smoothing algorithms are analysed for a specific state-space model.
| Formula no. | |||||
|---|---|---|---|---|---|
| 1 | |||||
| 2 |
|
||||
| 3 |
|
| Formula no. | |||
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTarget Tracking and Data Fusion in Sensor Networks · Indoor and Outdoor Localization Technologies · Blind Source Separation Techniques
Rao-Blackwellized Particle Smoothing as Message Passing
Abstract
In this manuscript the fixed-lag smoothing problem for conditionally linear Gaussian state-space models is investigated from a factor graph perspective. More specifically, after formulating Bayesian smoothing for an arbitrary state-space model as forward-backward message passing over a factor graph, we focus on the above mentioned class of models and derive a novel Rao-Blackwellized particle smoother for it. Then, we show how our technique can be modified to estimate a point mass approximation of the so called joint smoothing distribution. Finally, the estimation accuracy and the computational requirements of our smoothing algorithms are analysed for a specific state-space model.
Giorgio M. Vitetta, Emilio Sirignano and Francesco Montorsi
University of Modena and Reggio Emilia
Department of Engineering ”Enzo Ferrari”
Via P. Vivarelli 10/1, 41125 Modena - Italy
email: [email protected], [email protected], [email protected]
Keywords: State Space Representation, Hidden Markov Model, Filtering, Smoothing, Marginalized Particle Filter, Belief Propagation.
1 Introduction
Bayesian filtering and Bayesian smoothing for state space models (SSMs) are two interrelated problems that have received significant attention for a number of years [1]. Bayesian filtering allows to recursively estimate, through a prediction/update mechanism, the probability density function (pdf) of the current state of any SSM, given the history of some observed data up to the current time. Unluckily, the general formulas describing the Bayesian filtering recursion (e.g., see [2, eqs. (4)-(5)]) admit closed form solutions for linear Gaussian and linear Gaussian mixture SSMs [1] only. On the contrary, approximate solutions are available for general nonlinear models; these are based on sequential Monte Carlo (SMC) techniques (also known as particle filtering methods) which represent a powerful tool for numerical approximations [3]-[5].
Bayesian smoothing, instead, exploits an entire batch of measurements to generate a significantly better estimate of the pdf (i.e., a smoothed or smoothing pdf) of SSM state over a given observation interval. Two general methods are available in the literature for recursively calculating smoothing densities, namely the forward filtering-backward smoothing recursion [4], [7] and the method based on the two-filter smoothing formula [8]-[10]. In both cases the computation of smoothing densities requires combining the predicted and/or filtered densities generated by a standard Bayesian filtering method with those produced by a recursive backward technique (known as backward information filtering, BIF, in the case of two-filter smoothing). Similarly as filtering, closed form solutions for Bayesian smoothing are available for linear Gaussian and linear Gaussian mixture models [1], [11]. This has motivated the development of various SMC approximations (also known as particle smoothers) for the above mentioned two methods in the case of nonlinear SSMs (e.g., see [4], [6], [8], [9], [12]-[15] and references therein).
While SMC methods can be directly applied to an arbitrary nonlinear SSM for both filtering and smoothing, it has been recognized that their estimation accuracy can be improved in the case of conditionally linear Gaussian (CLG) SSMs. In fact, the linear substructure of such models can be marginalised, so reducing the dimension of their SMC space [16], [17]. This idea has led to the development of important SMC techniques for filtering and smoothing, known as Rao-Blackwellized particle filtering (also dubbed marginalized particle filtering, MPF) [17] and Rao-Blackwellized particle smoothing (RBPS) [13], [14], [19], respectively.
Recently, the filtering problem for CLG SSMs has been investigated from a factor graph (FG) perspective in [20], where a novel interpretation of MPF as a forward only message passing algorithm over a specific FG has been provided and a novel extension of it, dubbed turbo filtering (TF), has been derived. In this manuscript, the same conceptual approach is employed to provide new insights in the fixed-interval smoothing problem [13] and to develop a novel solution for it. The proposed solution is represented by a novel RBPS method (dubbed Rao-Blackwellized serial smoothing, RBSS) having the following relevant features: a) it can be derived applying the well known sum-product algorithm (SPA) [22], [23], together with a specific scheduling procedure, to the same FG developed in [20] for a CLG SSM; b) unlike the RBPS methods devised in [13] and [14], it can be employed for a SSM in which both the linear and nonlinear state components influence each another; c) its computational complexity is appreciably smaller than that required by the other RBPS techniques; d) it benefits, unlike all the other RBPS techniques, from the exploitation of all the available pseudo-measurements and the ex novo computation of the weights for the particles generated in its forward recursion; e) it can be easily modified to compute the joint smoothing distribution over the entire observation interval (the resulting algorithm is called extended RBSS, ERBSS, in the following). Our simulation results evidence that, for the considered SSM, RBSS achieves a good accuracy-complexity tradeoff and that, in particular, it is slightly outperformed by ERBSS in state estimation accuracy, which, however, at the price, however, of a substantially higher computational cost.
It is worth mentioning that the application of FG methods to Bayesian smoothing is not new. However, as far as we know, the few results available in the technical literature about this topic refer to the case of linear Gaussian SSMs only [22], [24], [25], whereas we exclusively focus on the case in which the mathematical laws expressing state dynamics and/or available observations are nonlinear.
The remaining part of this manuscript is organized as follows. The model of the considered CLG SSM is briefly illustrated in Section 2. A representation of the smoothing problem through Forney-style FGs for both an arbitrary SSM and a CLG SSM is provided in Section 3. In Section 4 the RBSS technique is developed applying the SPA and proper message scheduling strategies to the FG derived for a CLG SSM; moreover, it is shown how it can be modified to estimate a point mass approximation of the joint smoothing distribution. Our FG-based smoothing algorithms are compared, in terms of accuracy and computational effort, in Section 5. Finally, some conclusions are offered in Section 6.
Notations: The probability density function (pdf) of a random vector evaluated at point is denoted ; represents the pdf of a Gaussian random vector characterized by the mean and covariance matrix evaluated at point ; the *precision *(or weight) matrix associated with the covariance matrix is denoted , whereas the transformed mean vector is denoted .
2 System Model
In the following we focus on the discrete-time CLG SSM described in [20], [21]. In brief, the SSM hidden state in the -th interval is represented by the -dimensional real vector ; this is partitioned in a) its -dimensional *linear component * and b) its -dimensional *nonlinear component * (with and ). The update equations of the linear and nonlinear components are given by
[TABLE]
and
[TABLE]
respectively; here, () is a time-varying -dimensional (-dimensional) real function, () is a time-varying () real matrix and () is the -th element of the process noise sequence (), which consists of - dimensional (-dimensional) independent and identically distributed (iid) noise* *vectors (statistical independence between and is also assumed for simplicity). Moreover, in the -th interval some noisy observations, collected in the measurement vector
[TABLE]
are available about ; here, is a time-varying real matrix, is a time-varying -dimensional real function and the -th element of the measurement noise sequence consisting of -dimensional iid noise vectors and independent of both and . In the following Section we mainly focus on the so-called fixed-interval *smoothing problem *[13]; this consists of computing the sequence of posterior densities (where represents the length of the observation interval), given a) the initial pdf and b) the -dimensional measurement vector .
3 A FG-Based Representation of the Smoothing
Problem
In this Section we formulate the computation of the marginal smoothed density (with ) as a message passing algorithm over a specific FG for the following two cases: C.1) a SSM whose statistical behavior is characterized by the Markov model and the observation model ; C.2) a SSM having the additional property of being CLG (see the previous Section).
In case C.1 we take into consideration the joint pdf in place of the posterior pdf . This choice is motivated by the fact that: a) the computation of the former pdf can be easily formulated as a recursive message passing algorithm over a proper FG, since, as shown below, this involves only products and sums of products; b) the former pdf, being proportional to the latter one, is represented by the same FG (this issue is discussed in [22, Sec. II, p. 1297]). Note that the validity of statement a) relies on the following mathematical results: a) the factorization (e.g., see [8, Sec. 3])
[TABLE]
for the pdf of interest; b) the availability of recursive methods, known as Bayesian filtering [2] (and called forward filtering, FF, in the following for clarity) and *backward information filtering *(BIF; e.g., see [8]) for computing the joint pdf and the conditional pdf , respectively, for any .
As far as FF is concerned, the formulation illustrated in [20, Sec. 2] is adopted here; this consists of a measurement update (MU) step followed by a time update (TU) step and assumes the a priori knowledge of the pdf for its initialization. In the MU step of its -th recursion (with ) the joint pdf
[TABLE]
is computed on the basis of pdf , and the new measurement vector . In the TU step, instead, the pdf (5) is exploited to compute the pdf
[TABLE]
representing a prediction about the future state .
A conceptually similar recursive procedure can be easily developed for the -th recursion of BIF (with ). In fact, this can be formulated as a TU step followed by a MU step; these are expressed by
[TABLE]
and
[TABLE]
respectively. Note that this procedure requires the knowledge of the pdf for its initialization (see (7)).
Eqs. (5)-(8) show that each of the FF (or BIF) recursions involves only products of pdfs and a sum (i.e., an integration) of products. For this reason, based on the general rules about graphical models illustrated in [22, Sect. II], such recursions can be interpreted as specific instances of the SPA111In a Forney-style FG, such a rule can be formulated as follows [22]: the message emerging from a node f along some edge x is formed as the product of f and all the incoming messages along all the edges that enter the node f except x, summed over all the involved variables except x. applied to the cycle free FG of Fig. 1 (where the simplified notation of [22] is employed).
More specifically, it is easy to show that eqs. (5) and (6) can be seen as a SPA-based algorithm for forward message passing over the FG shown in Fig. 1 (the flow of forward messages is indicated by red arrows in the considered figure). In fact, if the FG is fed by the message222In the following the acronyms be, fp and sm are employed in the subscripts of various messages, so that readers can easily understand their meaning; in fact, the messages these acronyms refer to represent a form of backward estimation, forward prediction and smoothing, respectively.
[TABLE]
the forward messages emerging from the equality node and that passed along the edge associated with are given by and , respectively [20], [21]. A similar interpretation can be provided for eqs. (7) and (8), which, however, can be reformulated as a SPA-based algorithm for backward message passing over the considered FG. In fact, if the input message
[TABLE]
enters the FG along the half edge associated with (the flow of backward messages is indicated by blue arrows in Fig. 1), the backward message emerging from the node associated with the pdf is given by (see (7))
[TABLE]
Therefore, the message going out of the equality node in the backward direction can be evaluated as (see (8) and (10))
[TABLE]
and this concludes our proof.
These results easily lead to the conclusion that, once the forward and backward message passing algorithms illustrated above have been carried out over the entire observation interval, the smoothed pdf can be evaluated as (see (4), (9) and (12))
[TABLE]
with (note that and )
The FG we develop for case C.2 is based not only on that analysed for case C.1, but also on the idea of representing a mixed linear/nonlinear SSM as the concatenation of two interacting sub-models, one referring to the linear component of system state, the other one to its nonlinear component [20]. This suggests to decouple the smoothing problem for from that for , i.e. the evaluation of * * from that of . In practice, from a graphical viewpoint, two sub-graphs, one referring to smoothing for , the other one to smoothing for , are developed first; then, they are merged by adding five distinct equality nodes, associated with the variables (namely, , , , and ) shared by such sub-graphs. This leads to the FG illustrated in Fig. 2, in which the sub-graph referring to the linear (nonlinear) state component is identified by red (blue) lines, whereas the equality nodes added to merge them are identified by black lines. Note that the sub-graph for the linear (nonlinear) component is derived under the assumption that the nonlinear (linear) component is known. Consequently, smoothing for the linear component can benefit not only from the measurement , but also from the so called pseudo-measurement (see (2))
[TABLE]
which, from a statistical viewpoint, is characterized by the pdf . Similarly, the pseudo-measurement (see (1))
[TABLE]
characterized by the pdf , can be exploited in smoothing for the nonlinear component . These considerations explain why the upper (lower) sub-graph shown in Fig. 2 contains an additional node representing the pdf () and a specific node not referring to the above mentioned pdf factorizations, but representing the transformation from the couple to ( to ); the last peculiarity, evidenced by the presence of an arrow on all the edges connected to such a node, has to be carefully kept into account when deriving message passing algorithms.
Given the FG of Fig. 2, we would like to follow the same line of reasoning as that illustrated for the graphical model of Fig. 1. In particular, given the input backward messages and , we would like to derive a BIF algorithm based on this FG (FF has already been investigated in [20] and [21]) and generating the output backward messages and on the basis of the available a priori information and the noisy measurement . Unluckily, the new FG, unlike the one represented in Fig. 1, is not cycle-free, so that any application of the SPA to it unavoidably leads to* approximate solutions* [23], whatever message scheduling procedure is adopted. In the following Section we show that the RBSS technique we propose represents one of such solutions.
4 Particle Smoothing as Message Passing
In this Section we first illustrate some assumptions about the statistical properties of the SSM defined in Section 2. Then, we develop the RBSS technique and compare its most relevant features with those of the other RBPS algorithms available in the technical literature. Finally, we show how this technique can be modified to estimate the *joint smoothing density *.
4.1 Statistical properties of the considered SSM
Even if the FG representation shown in Fig. 2 can be employed for any mixed linear/nonlinear system described by eqs. (1)-(3), the methods derived in this Section apply, like MPF [17] and TF [20], to the specific class of GLG* *SSMs. For this reason, following [20], [21] we assume that: a) the process noise () is Gaussian and all its elements have zero mean and covariance () for any ; b) the measurement noise is Gaussian having zero mean and covariance matrix for any ; c) all the above mentioned Gaussian processes are statistically independent. Under these assumptions, the pdfs , and are Gaussian with mean (covariance matrix) , and , respectively (, and , respectively). Similarly, the pdfs and are Gaussian with mean (covariance matrix) and , respectively ( and , respectively).
4.2 Derivation of the Rao-Blacwellized serial
smoother
The FF algorithm employed in the forward pass of the proposed RBSS is represented by MPF333Note that TF can be employed in place of MPF in the forward pass of RBSS. However, our computer simulations have evidenced that, in the presence of strong measurement and/or process noise (like in the scenarios considered in Section 5), this choice doe not provide any performance improvement with respect to MPF.. In its -th recursion (with ), the particle set , consisting of distinct particles, is predicted for the nonlinear state component (TU for this component); the weight assigned to the particle is equal to for any , since the use of particle resampling in each recursion is assumed. The particle weights are updated in the MU of the following (i.e., -th) recursion on the basis of the new measurement (MU for the nonlinear component): the new weights are denoted in the following and, generally speaking, are all different. This is followed by particle resampling, that generates the new particle set (usually containing multiple copies of the most likely particles of the set ). A conceptually similar procedure is followed for the linear state component, for which a particle-dependent Gaussian representation is adopted. In particular, in the following, the Gaussian model predicted for in the -th recursion (TU for the linear state component) and associated with is denoted . Note that only a portion of these Gaussian models is usually updated in the MU of the next (i.e., -th) recursion; in fact, this task follows particle resampling, which typically leads to discarding a fraction of the particles collected in the set .
The recursive algorithm developed for the backward pass of the RBSS technique results from the application of the SPA to the FG shown in Fig. 2, and accomplishes BIF and smoothing (i.e., the merge of statistical information generated by FF and BIF). Each of its recursions consists of two parts, the first concerning the linear state component, the second one the nonlinear state component; moreover, these parts are executed serially. The message scheduling employed in the -th recursion of BIF and smoothing (with ) is summarized in Fig. 3, where the edges involved in the first (second) part are identified by continuous (dashed) lines. Similarly to MPF, most of the processing tasks which both parts consist of can be formulated with reference to a single particle; this explains why the notation adopted for the messages appearing in Fig. 3 includes the subscript , that represents the index of the particle (namely, the particle ) representing within the considered recursion.
Before providing a detailed description of the messages passed in the graphical model of Fig. 3, all the messages feeding the considered recursion (i.e., its input messages) and those emerging from it (i.e., its output messages) must be defined. The input messages can be divided in two groups. The first group consists of the messages and , that are predicted the -th recursion of the forward pass; the second one, instead, is made of the messages and , that are generated in the -th recursion of the backward pass. The messages of the first group are defined as
[TABLE]
and
[TABLE]
and can be interpreted as the -th hypothesis about a) the value (namely, ) taken on by the (hidden) nonlinear state component and b) the statistical representation of the (hidden) linear state component associated with such a value, respectively. In the -th recursion of FF, the likelihood of this hypothesis is assessed by evaluating the above mentioned weight ; such a weight, however, is ignored in the backward pass. This choice is motivated by the our belief that, if such a weight is computed ex novo, its accuracy can be improved thanks to the availability of both more refined (i.e., smoothed) statistical information about and additional (backward) information about (see (18) and (19) below).
The input messages of the second group are defined as
[TABLE]
and
[TABLE]
and represent part of the statistical information generated in the previous (i.e., the -th) recursion of the backward pass. In particular, as explained in detail below, the messages and convey the final estimate (i.e., a single particle representation) of and a simplified statistical representation of , respectively. This explains why the RBSS, in the -th recursion of its backward pass, processes the input messages (16)-(19) to compute an estimate, denoted , of and a simplified statistical model, denoted , for ; these information are conveyed by the output messages and , respectively. The evaluation of these messages is based, as already mentioned above, on the scheduling illustrated in Fig. 3 and on the formulas listed in Tables 1 and 2 (actually, the only formulas missing in these Tables are those employed in the evaluation of the message (42) and, in particular, of its parameters (44) and (45); mathematical details about this can be found in [20, Sec. 6]). Such formulas refer to the computation of the message (emerging from an equality node fed by the messages and ) and
[TABLE]
(emerging from a function node fed by the message ), respectively; moreover, they are provided by [22, Table 2, p. 1303] or can be easily derived on the basis of standard mathematical results about Gaussian random variables. For this reason, in the following description of the RBSS backward pass, we provide, for each message, a simple code identifying the specific formula on which its evaluation is based; in particular, the notation TX-Y is employed to identify formula no. Y appearing in Table X. Moreover, to ease the interpretation of the proposed signal processing tasks executed within the RBSS algorithm, the message passing accomplished in the considered recursion is divided in the seven steps described below; steps 1-3 and steps 4-6 refer to the two parts of the message passing shown in Fig. 3, whereas the last step concern the evaluation of: a) the smoothed pdf of and the pdfs of its components; b) the output messages and .
[TABLE]
where
[TABLE]
[TABLE]
, , , , , and .
- Measurement update for - Compute: a) the message
[TABLE]
where and ; b) the messages (see T2-3, T1-3, T2-2 and T1-2, respectively; see also (16), (21) and (24))
[TABLE]
[TABLE]
[TABLE]
and
[TABLE]
Here,
[TABLE]
[TABLE]
, ,
[TABLE]
[TABLE]
, , ,
[TABLE]
and
[TABLE]
- Merge of forward and backward messages about - Compute the message (see (13), (17), (29), T1-2 and Fig. 3)
[TABLE]
where
[TABLE]
[TABLE]
and .
[TABLE]
where
[TABLE]
and
[TABLE]
- Measurement update for - Compute: a) the message
[TABLE]
and the message (see T3-1)
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
[TABLE]
, and ; b) the messages (see T1-1 and T2-1, respectively)
[TABLE]
and
[TABLE]
where and .
- Merge of forward and backward messages about - This requires: a) computing the messages (see (48) and (49))
[TABLE]
and (see (16) and T1-1)
[TABLE]
b) normalising the weight set , i.e. generating the new weight
[TABLE]
for ; c) setting
[TABLE]
for .
- *Generation of smoothed pdfs and input messages for the next recursion *- Compute: a) the pdfs
[TABLE]
[TABLE]
and
[TABLE]
that represent approximations of the marginal smoothed pdfs of and , respectively; b) the input messages
[TABLE]
and
[TABLE]
for the next recursion; here,
[TABLE]
[TABLE]
and
[TABLE]
After completing step 7, the -th recursion of the RBSS technique is over. Then, the recursion index is decreased by one; if it equals zero, the backward pass is over, otherwise a new recursion is started. Note also that the first recursion of the backward pass requires the knowledge of its input messages and , whose evaluation is based on the statistical information generated in the last recursion of the forward pass. In fact, in our work these messages are defined as
[TABLE]
and
[TABLE]
respectively; here, , whereas the parameters and of (63) are evaluated on the basis of formulas (60) and (61), but employing, in place of the Gaussian messages (see (50)), the messages generated by the MU for the linear state component in the last (i.e., in the -th) recursion of FF.
The RBSS algorithm illustrated above deserves various comments, that are listed below.
The message flow in the backward pass proceeds in a reverse order with respect to the forward pass (a similar scheduling in the backward pass has been adopted in [14]); in fact, in MPF the evaluation of particle weights and the prediction of new particles for the next recursion (accomplished in the MU and in the TU, respectively, for the nonlinear state component) precedes the MU and the TU for the linear state component. Moreover, unlike TF, a single pass is accomplished over the FG. 2. 2.
In step 1 a one-step ahead prediction is evaluated for on the basis of the pdf of (provided by the particle-independent message (19)). A conceptually similar task is carried out for in step 4. However, in the last case, pdf prediction does not involve the generation of new particles (like in the TU step of MPF), but only the computation of new weights for the particles originating from the forward pass. For this reason, the support of the pdf (55) estimated for in the backward pass remains exactly the same as that of the corresponding filtered pdf computed in the forward pass. 3. 3.
In step 2 the pdf (21) emerging from step 1 is refined on the basis of a) the measurement and b) the pseudo-measurement , which depends on the particle index through only (since a single particle is available for ). Even if this entails a loss of diversity in the pseudo-measurement set with respect to the corresponding set generated by MPF in the forward pass, the use of these quantities in state estimation is still beneficial. Incidentally, we note that no attention to the exploitation of pseudo-measurements and is paid in the development of the other RBPS methods available in the literature, even if these quantities are known to play an important role in state estimation [17], [20], [21]. 4. 4.
In step 3 the merge of the forward message with the backward message results in the ‘smoothed’ message (36), which is expected to provide a more refined statistical representation of than or alone (under the assumption that ) and, consequently, to improve the accuracy of the particle weights evaluated in steps 4 and 5; note also that and should be assumed, since at the instant () only a backward estimate (a forward prediction) is available for . 5. 5.
In step 3 the equivalence between the expressions (27) and (28) is motivated by the fact that they differ by a scale factor and that scale factors can be always neglected in passing Gaussian messages [22]. 6. 6.
In step 5 the factors , and of the overall weight (50) are related to the state transition , to the statistical representation of (conveyed by the Gaussian message (42)) and to the measurement , respectively. Note also that: a) the weight depends on the (particle-independent) estimate , which can be interpreted as an additional pseudo-measurement originating from our knowledge of the future (and, consequently, unavailable in the forward pass); b) the weight (43) cannot be computed in the forward pass because of the scheduling adopted in MPF (the TU for the nonlinear state component represents the last step accomplished in each recursion of MPF); c) the weight corresponds to the weight computed by MPF in the forward pass but, as already mentioned at point 4), is expected to be more accurate thanks to the availability of more refined statistical information about (conveyed by the message (36) in place of (17)). 7. 7.
Steps 1-6 need to be repeated times, once for each particle of the set ; in practice, this task can be parallelized, since the processing executed for any particle within these steps is not influenced from that carried out for all the other particles. 8. 8.
The expressions of the weights , and have similar mathematical structure (see (39), (43) and (49), respectively) in the sense that they are given by the product of an exponential with a particle-dependent factor. An approximate evaluation of these weights can be obtained neglecting the contribution of a such a factor in each of their expressions. As a matter of fact, our computer simulations have evidenced that, at least for the considered SSM, this simplification does not entail a visible loss in RBSS accuracy. However, if used, it requires the adoption of weight normalization for each of the three weight sets; consequently, the overall weight (see (50)) is computed as
[TABLE]
where for and . 9. 9.
The final particle weights (see (52)) are employed to generate both the final estimate (59) of and the -component Gaussian mixture (GM) (56), expressing our final estimate of the pdf of . This GM, however, is not passed to the next recursion as it is, since this would be make the complexity of our message passing algorithm unmanageable. This is the reason why this pdf is condensed in the Gaussian message (58) by means of a standard transformation, expressed by formulas (60) and (61), and preserving both the mean and the covariance matrix of the GM itself (e.g., see [27, Sect. 4]).
Our final comment concerns the smoothing of the linear state component and has been inspired by the considerations illustrated in [19, Par. IV-D], where it is stressed that in Rao-Blackwellized methods the statistics for the linear state component need to be computed conditionally on the considered nonlinear state trajectories. As a matter of fact, our RBSS algorithm generates a single estimate of nonlinear state trajectory in its backward pass (the -th point of this trajectory is represented by with and by for ); however, the statistical models for the linear state components associated with this trajectory (see (56) or its condensed representation (58)) do not satisfy the above mentioned condition, since they do not actually refer to a specific nonlinear state trajectory. This suggests that, once the RBSS algorithm has been carried out, more refined statistics for the linear state component could be computed by:
Carrying out, first of all, a new forward pass under the assumption that the nonlinear state component is known and, in particular, for and ; this produces a single message in place of the messages (see (17)) for . 2. 2.
Then, accomplishing a new backward pass under the same assumption as the previous point; this generates a single Gaussian message in place of the messages (see (29)) for (note that is still given by (63)). 3. 3.
Finally, merging and in the message , with ( and are assumed) on the basis of (36)-(38), so that a new final estimate is available for .
We believe that, even if this procedure is conceptually appealing, the improvement it may provide in the estimation accuracy for the linear state component is influenced by a) the number of modes of the density of (since the adopted unimodal model for this state component might provide a poor statistical representation of it) and b) the presence of large errors, at specific instants, in the estimated nonlinear state trajectory.
4.3 Comparison of the RBSS algorithm with other RBPS
methods
Despite their substantially different structures, the other RBPS methods available in the technical literature [13], [14], [19] share the following relevant features: 1) the computation of an estimate of the joint smoothing density ; 2) the reuse of FF particles and weights; 3) the use of resampling in the generation of backward trajectories; 4) the exploitation of Kalman techniques for the linear state component. In the following we provide some details about these features, so that some important differences between such techniques and the RBSS algorithm can be easily understood.
The first feature refers to the fact that these techniques aim at generating realizations from the complete joint smoothing pdf . Each realization consists of a) a trajectory (i.e., a set of particles, one for each observation instant) for the nonlinear state component and a set of Gaussian pdfs (one for each observation instant) [13], [19] or b) a trajectory for the entire state [14] (in this case a particle-based representation is adopted for the linear state component too). This approach provides the following relevant advantage: any marginal smoothing density (like those we are interested in) can be easily obtained from the joint density by marginalization (i.e., by discarding the particle sets and the associated Gaussian densities that refer to the instants we are not interested in). This benefit, however, is obtained at the price of a substantial computational complexity in all cases. In fact, the algorithms proposed in [14, p. 443] and [19, p. 357] require to be re-run times, if realizations of are needed; luckily, the processing accomplished in each run reuses all the particles and the weights computed in the forward pass. On the contrary, a single backward pass is accomplished in the algorithm derived in [13, p. 75]; this entails, however, the generation of a new set of weighted particles and Gaussian densities (representing the nonlinear state component and the linear state component, respectively); moreover, the evaluation of marginal smoothing densities is computationally intensive, since it requires merging all the information (particles, weights and Gaussian densities) emerging from both passes (see [13, Par. 4.1.2, p. 80]).
The second feature concerns the fact that the particles and the associated weights generated in the forward pass are reused in the backward pass, even if in different ways. More specifically, in the backward pass of the RPBS techniques of [13] and [19], particles are re-weighted; moreover, each new weight is evaluated as the product of the weight computed in the forward pass for the considered particle with a new weight generated on the basis of backward statistics (see, in particular, step 3)-b)-ii) of Algorithm 1 in [19, p. 357] and the particle smoothing task of Algorithm 4 in [14, p. 443]). On the one hand, the reuse, in the backward pass, of the particles generated in the forward pass greatly simplifies BIF. On the other hand, it places a strong constraint on the support of each of the pdfs computed for nonlinear state component; in fact, such a support is restricted to that identified for the predicted/filtered pdfs in the forward pass. This is the reason why the RBPS technique developed in [13] includes an algorithm for generating, in the backward pass, new particles, which are independent of those computed in the forward pass. The price to be paid for this, however, is represented by the additional computational load due to 1) particle generation in the backward pass and b) the complexity of the method employed for merging forward and backward particles (and their associated weights) to compute the required smoothed densities (see, in particular, [13, Par. 4.1.2, p. 80]).
As far as the third feature is concerned, it is worth mentioning that the use of resampling in [14], [19] is substantially different from that of [13]. In fact, in the first case, resampling is applied to the particle set generated in the TU of each recursion of the forward pass when evaluating a new trajectory in a backward pass; this is motivated by the fact that the mechanism of particle selection can benefit from more refined statistical information, since the new weights generated in the backward pass for the available particle sets are expected to be more reliable than those computed in the forward pass. On the contrary, in the second case, resampling is applied to the new particle set generated in each recursion of the backward pass, exactly like in the forward pass.
Finally, the fourth feature concerns the exploitation of Kalman techniques and, in particular, of Kalman smoothing for the linear state component in the considered RBPS algorithms. Note, however, that a different use of these standard tools is made in the considered manuscripts. In fact, on the one hand, in the RBPS techniques proposed in [13, p. 76] and [14, p. 443] smoothing for linear state component is accomplished within the backward pass and exploits the statistical information about the linear state component generated by Rao-Blackwellized filtering in the forward pass. On the other hand, in [19] the backward pass aims at generating a trajectory for the nonlinear state component only; such a trajectory is based on a) the information generated in the forward pass about this component and b) those generated about the linear state component in the backward pass only. For this reason, in this case, an additional forward pass for the linear state component only is accomplished, under the assumption that the nonlinear state trajectory is known, after that the backward pass has been completed; finally, Kalman smoothing is carried out to merge forward and backward information, as illustrated at the end of the previous Paragraph.
From the considerations illustrated above, it can be easily inferred that, on the one hand, the RBSS algorithm shares feature 4) and part of feature 2) with the other RBPS techniques (in fact, it reuses the FF particles, but not their weights). On the other hand, the RBSS algorithm does not share features 1) and 3); this makes it much faster, since both resampling and the generation of multiple trajectories are time consuming tasks. The other significant differences between the RBSS algorithm and the other methods can be summarized as follows. The algorithms developed in [13] and [14] apply to a mixed linear/nonlinear SSM whose state equation for the nonlinear component (see (1)) does contain the nonlinear term (see, in particular, [13, eq. (50), p. 75] and [14, eq. (10a), p. 441]); consequently, the only alternative method applicable to the SSM expressed by (1)-(3) in its complete form is represented by the technique devised in [19]. Moreover, as mentioned in the previous Paragraph, the RBSS algorithm, unlike all the other RBPS methods, fully exploits the available pseudo-measurements.
4.4 A message passing algorithm for estimating the joint smoothing
density
Even if backward processing in the RBSS algorithm has been explicitly devised for estimating the marginal smoothing densities , the message passing procedure each of its recursion consists of can be easily modified to generate, like the RBPS method proposed in [19], (equally likely) nonlinear state trajectories providing a point mass approximation of the joint smoothing pdf (e.g., see [19, eq. 9]). In practice, this requires: a) accomplishing a single forward pass (MPF) followed by distinct backward passes; b) modifying part of the backward processing devised for RBSS. As far as the last point is concerned, let us focus, like in Paragraph 4.2, on the -th recursion of the backward pass (with ) of the new particle smoother (called enhanced RBSS, ERBSS, in the following). The modifications made within the considered recursion originate from the fact that the nonlinear state trajectory constructed in the ERBSS backward pass consists entirely of particles generated in the forward pass (and not of a linear combination of them, like in RBSS; see (59)). For this reason, we set and , in the input messages (18) and (19), respectively, if the specific particle has been selected within the particle set in the previous (i.e., in the -th) recursion; the other two input messages (16) and (17), however, remain unchanged. ERBSS backward processing can be organized according to seven steps, exactly like RBSS. The first six steps coincide with steps 1-6 of the RBSS algorithm, whereas the remaining one is described below.
- Sample and generate *input messages for the next recursion *- This requires: a) drawing a sample (denoted ) from the particle set , whose elements are characterized by the probabilities ; b) setting and ,, so that the nonlinear backward trajectory is extended by one step, and the input messages (18) and (19) are ready for the next recursion.
The initialization of the ERBSS algorithm requires the knowledge of its input messages and , that are defined as
[TABLE]
and
[TABLE]
respectively; here, denotes the particle selected by sampling the particle set ; the probabilities of its particles are proportional to their weights generated by the MPF MU for the nonlinear state component in its final recursion.
As already mentioned above, the backward pass described above has to be repeated times, once for each of the nonlinear state trajectories; then, smoothing of the linear state component is accomplished for each of them. For this reason, as already explained at the end of Paragraph 4.2, the following tasks are carried out for each nonlinear state trajectory: a) a new forward pass, followed by a new backward pass, is run for the linear state component only (under the assumption that the nonlinear state component is known); b) forward prediction and backward estimation messages are merged.
It is worth stressing that the structure of the proposed ERBSS technique is very similar to that of the Algorithm 2 described in [19, p. 359]; the main differences between these two algorithms can be summarized as follows:
The backward processing developed in [19, p. 359] exploits the knowledge of the particle sets/weights generated in the forward pass, but ignores the associated Gaussian models that represent the forward predictions for the linear state component (actually, the use of such models is limited to the initialization of the backward simulator). Consequently, step 3 of our RBSS algorithm is not accomplished or, equivalently, (37) and (38) are replaced by and , respectively. From a conceptual viewpoint, two specific motivations can be provided for this specific choice. The first is represented by the fact that, generally speaking, the message and the message (see (17) and (29), respectively) refer to a specific forward nonlinear trajectory and to a (unique) backward nonlinear trajectory, respectively, that *do not merge at the considered instant *(i.e., at the instant ); consequently, fusing these densities may result in poor statistical information and, in particular, may lead to the evaluation of inaccurate weights for the particle set . The second motivation is represented by the fact that statistical (Gaussian) models generated by backward processing for the linear state component are really conditioned on the selected nonlinear state trajectory; for this reason, once backward processing is over, a new forward pass only has to be carried for each of the nonlinear trajectories (in other words, unlike the ERBSS technique, an additional backward pass is no more required). 2. 2.
The particle weights evaluated by Algorithm 2 of [19, p. 359] in its backward pass are partly based on the weights (computed in the forward pass). In particular, the weight replaces in the expression of the overall weights (see (50) and [19, Algorithm 1, step 3)-b)-ii), p. 357]) for any and .
Actually, our computer simulations have evidenced that particle smoothing benefits from merging forward and backward information about the linear state component; in fact, this improves both numerical stability of BIF and its estimation accuracy through a more precise evaluation of the overall particle weights . From a conceptual viewpoint, this choice is motivated by the fact that, as already mentioned at the beginning of Paragraph 4.2, the particle and its associated Gaussian model should be considered as two parts of the same hypothesis, so that they should be exploited jointly.
5 Numerical Results
In this Section MPF and the smoothing algorithms developed in this manuscript444Our simulations have evidenced that, for the considered SSM, the Algorithm 2 of [19, p. 359] suffers from ill-conditioning and that, even if its square root implementation is adopted, its computational load and accuracy are very close to that of the ERBSS technique. are compared in terms of accuracy and computational load for a specific CLG system, characterized by , and . The structure of the considered system has been inspired by the example proposed in [26] (where it is proposed as a good example for the application of MPF) and is characterized by: a) the state models
[TABLE]
and
[TABLE]
with , ; b) the measurement model
[TABLE]
with . Note that the state equation (67), unlike its counterpart proposed in [26], depends on , so that the pseudo-measurement (15) can be evaluated for this system.
In our computer simulations our assessment of state estimation accuracy is based on the evaluation of two root mean square errors (RMSEs), one (denoted alg, where ‘alg’ denotes the algorithm this parameter refers to) referring to the (monodimensional) nonlinear state component, the other one (denoted alg) to the (three-dimensional) linear state component; note, however, that the last parameter represents the square root of the average mean square error (MSE) evaluated for the three elements of . Our assessment of computational requirements is based, instead, on assessing the average computation time for processing a single block of measurements (this quantity is denoted CTB in the following). Moreover, in our computer simulations, the following choices have been always made: a) has been selected for the length of the observation interval; b) has been chosen for the EBRSS ( is recommended in [15]).
Some results illustrating a) the dependence of and (CTB) on the number of particles () for the MPF, the RBSS and ERBSS algorithms are illustrated in Fig. 4 (Fig. 5) 555In these and in the following figures simulation results are identified by markers, whereas continuous lines are drawn to ease reading.; in this case and have been selected. From these results the following conclusions can be easily inferred for the considered scenario:
On the one hand, a negligible improvement in the estimation accuracy of all the considered algorithms is achieved for (actually, a similar result has been found for other values of , and ); for this reason, has been selected in all the computer simulations the following results refer to. 2. 2.
The RBSS algorithm outperforms MPF by about () in terms of () for . A negligible improvement in RBSS accuracy can be obtained by accomplishing a further smoothing for the linear state component (as explained at the end of Paragraph 4.2); this reason, this possibility is no more considered in the following. Note also that the RBSS improvement is obtained at the price of a limited computational cost, since its CTB is about twice that of MPF. 3. 3.
The ERBBS algorithm provides a by far richer statistical information than the RBSS algorithm, but achieves slightly better accuracy in state estimation and entails a substantially larger computational load, even for small values of (for instance, the ERBBS computation time is about 100 times larger than that of RBBS for ). Note also that the CTB gap between the EBRSS algorithm and both the RBSS and the MPF techniques becomes larger as increases. For this reason, the ERBBS is not taken into consideration anymore in the following simulations. 4. 4.
A relevant gap between MPF and MPF (RBSS and RBSS) exists; unluckily, the RBSS algorithm is unable to reduce this gap. This can be related to the fact that smoothing accuracy is significantly influenced by that achieved in the forward pass.
A comparison between the MPF and the RBSS state estimation errors has also evidenced that the RMSE improvement provided by the latter algorithm is mainly related to its ‘peak shaving’ effect. In fact, the amplitude of the spikes appearing in the state estimation error at the end of the forward pass are substantially reduced by smoothing. Note, however, that the elements of the system state do not necessarily benefit from this effect in the same way; for instance, for our specific SSM, this effect is stronger for the nonlinear state component than for each of the three elements of the linear state component.
In our work the dependence of and on the intensity of the process noise and on that of the measurement noise has been also analysed. Some results illustrating the dependence of and on (under the assumption that ) are shown in Fig. 6. From these results it is easily inferred that the performance gap between MPF and RBSS shrinks as increases; this is due to the fact that a stronger measurement noise results in a poorer quality of the statistical information generated in the forward pass, and this impairs more and more the RBSS estimation process. Other simulation results (not shown here for space limitations) have also evidenced that, for a given intensity of the measurement noise, the gap between MPF and RBSS (and, similarly, between MPF and RBSS) remains stable as changes (in particular, has been assumed in our simulations).
6 Conclusions
In this manuscript the smoothing problem for SSMs has been analysed from a FG perspective. This has allowed us to devise new RBPS methods for CLG SSMs. Computer simulations for a specific SSM evidence that the RBSS algorithm achieves a good performance-complexity tradeoff. Our future work concerns the application of FG methods to the problems of filtering and smoothing for other classes of SSMs.
Acknowledgment
We would like to thank Dr. Fredrik Lindsten (Uppsala University, Department of Information Technology) for his constructive comments.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] B. Anderson and J. Moore, Optimal Filtering , Englewood Cliffs, NJ, Prentice-Hall, 1979.
- 2[2] M. S. Arulampalam, S. Maskell, N. Gordon and T. Clapp, “A Tutorial on Particle Filters for Online Nonlinear/Non-Gaussian Bayesian Tracking”, IEEE Trans. Sig. Proc. , vol. 50, no. 2, pp. 174-188, Feb. 2002.
- 3[3] A. Doucet, J. F. G. de Freitas and N. J. Gordon, “An Introduction to Sequential Monte Carlo methods,” in Sequential Monte Carlo Methods in Practice , A. Doucet, J. F. G. de Freitas, and N. J. Gordon, Eds. New York: Springer-Verlag, 2001.
- 4[4] A. Doucet, S. Godsill and C. Andrieu, “On Sequential Monte Carlo Sampling Methods for Bayesian Filtering”, Statist. Comput. , vol. 10, no. 3, pp. 197-208, 2000.
- 5[5] F. Gustafsson, “Particle Filter Theory and Practice with Positioning Applications”, IEEE Aerosp. and Electr. Syst. Mag. , vol. 25, no. 7, pp. 53-82, July 2010.
- 6[6] R. Doucet, A. Garivier, E. Moulines and J. Olsson, “Sequential Monte Carlo smoothing for general state space hidden Markov models”, Ann. Appl. Probab. , vol. 21, no. 6, pp. 2109–2145, 2011.
- 7[7] G. Kitagawa, “Non-Gaussian state-space modeling of nonstationary time series”, Journal of the American Statistical Association , vol. 82, pp. 1032-1063, 1987.
- 8[8] G. Kitagawa, “The two-filter formula for smoothing and an implementation of the Gaussian-sum smoother”, Annals of the Institute of Statistical Mathematics , vol. 46, pp. 605-623, 1994.
