Manuscript Offprint
arXiv:2610.38753Metropolized backward sampling for conditional sequential Monte Carlo
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Particle Gibbs samplers with backward sampling are widely used for sampling the smoothing distribution of state-space models, but, with few particles, the new trajectory often coincides with the current one at many time steps. A known but rarely used remedy replaces the random selection of the final particle by a Metropolis–Hastings move which avoids the current particle. We show that, with backward sampling, this remedy only helps at the last time steps, because its effect on the update rates decays geometrically with the distance to the final time. We propose instead Metropolized backward sampling, which makes such a move at every step of the backward pass, forcibly switching trajectories whenever possible. Additionally, we introduce a coupled version which prevents proposing the current trajectory, maximizing the chances of an actual switch versus the current trajectory and performing perfect sampling when the state-space model has no observations, a feature not shared by backward sampling. We prove that, at every time step, both methods dominate backward sampling as they update the state more often and have smaller lag-one autocorrelations than it does. Our methods are drop-in replacements for backward sampling, and can be used to improve any particle Gibbs sampler.
keywords
Backward sampling , Markov chain Monte Carlo , Metropolized Gibbs sampler , particle Gibbs , Peskun ordering , state-space model
1.1 Particle Gibbs and backward sampling
Particle Gibbs samplers (Andrieu, Doucet and Holenstein, 2010) sample the smoothing distribution of a state-space model, or, more generally, the path measure of a Feynman–Kac model (Del Moral, 2004; Chopin and Papaspiliopoulos, 2020), by iterating a conditional sequential Monte Carlo (CSMC) update: a particle filter is run with one particle fixed to the current trajectory, the reference, after which a new trajectory is selected among the particles. In the original algorithm, the new trajectory is obtained by drawing a final-time particle and tracing its ancestry back in time, which we refer to as ancestral tracing (AT). Because of path degeneracy, the early states of the reference are then rarely updated when the time horizon is large compared with the number of particles . Theoretical guarantees are then only obtained when grows linearly with (Andrieu, Lee and Vihola, 2018). Backward sampling (BS) (Whiteley, 2010; Lindsten and Schön, 2013), which adapts the backward simulation of Godsill, Doucet and West (2004) to CSMC, redraws the indices of the new trajectory backwards in time, from probabilities which combine the filtering weights with the transition densities. It dominates AT in asymptotic efficiency (Chopin and Singh, 2015, Theorem 11) and, contrary to AT, remains effective with a number of particles which does not grow with (Lee, Singh and Vihola, 2020; Karjalainen et al., 2026).
1.2 Metropolized Gibbs steps and the forced move
In CSMC, the final index, and, with BS, each earlier index, is drawn by a Gibbs step on the extended space of all the variables generated by the particle filter (Andrieu, Doucet and Holenstein, 2010; Chopin and Singh, 2015), that is, from its conditional distribution, without regard for its current value. However, for discrete variables, Liu (1996) proposed the Metropolized Gibbs sampler, which proposes a value different from the current one, with probabilities proportional to the conditional distribution, and accepts it with a Metropolis–Hastings probability. It dominates the Gibbs step in the ordering of Peskun (1973), and hence in asymptotic variance (Tierney, 1998; Mira, 2001). With two candidates, the Gibbs step is the acceptance rule of Barker (1965), whereas the Metropolized Gibbs step is the Metropolis rule. Chopin and Singh (2013, Section 8) applied this construction to the final index of CSMC with AT, under the name of forced move, and showed that the resulting sampler, which we denote by FM-AT (forced move plus ancestral tracing), dominates AT in the Peskun ordering (Peskun, 1973; Tierney, 1998). The construction extends immediately to BS, which gives FM-BS (forced move plus backward sampling). The forced move does not appear in the published version (Chopin and Singh, 2015), which concentrates on BS. To our knowledge, it is rarely used in practice. There is a simple reason for this: with BS, a forced move at the final time step only changes the final index, while the backward draws at earlier times are exact draws from conditional distributions which forget the final index. We show that, under mixing conditions, the benefit decays geometrically with the distance to the final time (Proposition 2), so that, for even moderately long time series, FM-BS behaves like BS. This is particularly clear when the model factorizes across time, as, in this case, the backward draws are independent of the final index and a forced move at the final time step does not affect any earlier time steps.
1.3 Contributions
To address this issue, we propose to make a forced move at every step of the backward pass. We call the resulting sampler Metropolized backward sampling (M-BS). The key observation is that the index drawn at time has a natural current value: the ancestor of the particle selected at time , which AT keeps deterministically, and which BS ignores. When the output and the reference differ at time , this ancestor is independent of the index of the reference at time , which may therefore be selected again, decreasing efficiency. To fix this, we introduce a coupled Metropolized backward sampling (CM-BS) variant. The index at time is then drawn as with BS, but replaced by a forced move away from the index of the reference if it equals the latter. We prove that CSMC remains valid when each index of the backward pass is drawn from a Markov kernel started from the index of the reference, under a symmetry condition which is directly satisfied by AT and BS, and which, when the output and the reference coincide at the next time step, is the reversibility with respect to the backward-sampling probabilities. When the output and the reference differ, the kernels of M-BS draw the index independently of the index of the reference, so that they may be started from the ancestor instead. This generalized backward pass is summarized in Algorithm 1. It is reversible with respect to the target distribution (Proposition 1), which extends the reversibility of CSMC with BS (Chopin and Singh, 2015, Proposition 9). At every time step, CSMC with M-BS or CM-BS has larger update rates and smaller lag-one autocovariances of all univariate functions of the state than BS and FM-BS (Theorem 1). The update rates of the states at two consecutive time steps are ordered in the same way, as are, for M-BS, their autocovariances (Corollary 1). Given the indices of the reference and of the output at time , the probability that the index of the reference is selected again at time can only decrease when the draw of FM-BS at time is replaced by that of M-BS or CM-BS. At every time , the update rate of M-BS, or of CM-BS, exceeds that of FM-BS by at least the expectation of this decrease under that rule (Proposition 3). When the model factorizes across time and the particles have equal weights, every state is updated under CM-BS, whereas each state is kept with probability under BS and, under M-BS, with a probability which tends to as grows. With two particles and a model which factorizes across time, CSMC with CM-BS performs an independent Metropolis–Hastings step at each time step (Proposition 4). Appendix C extends Algorithm 1, its reversibility, and the results of Sections 4.1 and 4.2 to potential functions which depend on two states and to any resampling scheme under which the expected number of offspring of each particle is times its normalized weight, with ancestor sampling of the reference. Section 5 illustrates these results on a linear-Gaussian model and on the nonlinear model of Gordon, Salmond and Smith (1993), which Andrieu, Doucet and Holenstein (2010) used to illustrate CSMC. The proofs of our results are given in Appendix A.
1.4 Related work
In particle Gibbs with ancestor sampling, Lindsten, Jordan and Schön (2014, Section 6.1) observed that the ancestor index of the reference may be drawn from any Markov kernel which leaves the ancestor-sampling probabilities invariant. The backward pass of Algorithm 1 applies this idea to backward sampling, with kernels started from the indices of the reference. To reduce the cost of ancestor sampling, Lindsten, Jordan and Schön (2014) suggested a Metropolis–Hastings step, which only evaluates the ancestor-sampling weights of the current and proposed indices. They recommended a proposal which never proposes the current index, in the spirit of Liu (1996), without specifying it further. Such a kernel is not the Metropolized Gibbs kernel of Liu (1996), whose proposal requires all the weights, so that, in general, it does not dominate the Gibbs step in the Peskun ordering. In particle smoothing, Bunch and Godsill (2013) also replaced each backward draw by Metropolis–Hastings steps, started from the ancestor of the particle selected at the next time step, to reduce the cost of backward sampling. Dau and Chopin (2023) formulated these steps as independent Metropolis–Hastings steps with the filtering weights as proposal. They proved that a single step per draw gives a convergent and stable smoother, at a cost linear in (Dau and Chopin, 2023, Proposition 4). Their validity rests on the same invariance as that of the forced moves of M-BS started from the ancestors: the ancestor is distributed according to the backward-sampling probabilities, which these kernels leave invariant (Dau and Chopin, 2023, Theorem 2.1; Lemma 4). We use the Metropolized Gibbs kernel instead, whose cost is that of BS, in order to improve the statistical efficiency of the sampler rather than its cost. In the backward pass of CSMC, the steps of Bunch and Godsill (2013) would have the opposite effect of M-BS: because they favour the current index, they would reduce the update rates and increase the autocorrelations.
2 Backward sampling and forced moves
2.1 Feynman–Kac models and conditional SMC
Let be a measurable space, equipped with a -finite measure . We consider a Markov chain on with initial density and transition densities , , with respect to , and potential functions , . The target distribution has density
where we assume that . For a state-space model with transition densities and observation densities , the choice makes the smoothing distribution and the particle filter below the bootstrap filter. The particle filter uses particles at each time step, with the normalized weights , which form the probability vector . We denote by the index of the ancestor at time of the particle . For and , we define the backward-sampling probabilities
Algorithm 1 (CSMC with a general backward pass).
Given the reference trajectory and Markov kernels on which are functions of the particle positions only: , reversible with respect to , and, for and , , such that, for all ,
(a) Draw independent uniforms on . (b) Set and draw for . For , set and , then, for , draw and . (c) Draw . (d) For , draw . (e) Return .
The kernels and of the six selection rules below depend on the particles only through the probabilities and . In Algorithm (d), the kernel at time starts from the index of the reference. If , this is the ancestor of the particle selected at time . For , (3) is the reversibility of with respect to . For , summing (3) over shows that, if and , then , while (3) states that the pair then has the same distribution as when and . For probability vectors and on , the selection rules are built from the forced move and the coupling kernel of and , whose formal definitions are deferred to Sections 2.2 and 2.3. We consider six kernel choices. In the first five, for , so that the indices of the output and of the reference are drawn independently once they differ:
AT: and : ancestral tracing (Andrieu, Doucet and Holenstein, 2010); FM-AT: and : forced move plus ancestral tracing (Chopin and Singh, 2013, Section 8); BS: and : the backward sampling of Whiteley (2010); FM-BS: and : forced move plus backward sampling; M-BS: and : Metropolized backward sampling, which we propose; CM-BS: , , and, for , : coupled Metropolized backward sampling, which we also propose.
For the first five rules, Algorithm (d) is usually implemented as , from the ancestor of the particle selected at time , without the indices of the reference at the times . When , this gives the same joint distribution of the reference and the output (Lemma 4). With AT, , whereas, with M-BS, is drawn by a forced move from at every time step. With CM-BS, if , the index is drawn as with M-BS, by a forced move from the ancestor . Otherwise, it is drawn from , as with BS, and replaced, if it equals , by a forced move from with respect to the probabilities proportional to , . As for BS (Chopin and Singh, 2015, Remark 2), the law of the output does not change if the indices of the reference are fixed, , because the steps of the particle filter are exchangeable and the six selection rules are equivariant under relabelling of the particles. We use uniformly drawn indices in the proofs and fixed indices in the experiments. All six rules require the probabilities , and, except for AT and FM-AT, the probabilities , . CM-BS also requires the probabilities at the times at which and the draw from equals . The costs of BS, FM-BS, M-BS, and CM-BS are therefore of order . The backward pass of M-BS costs exactly as much as that of BS, and that of CM-BS at most twice as much.
2.2 The forced move
Let be a probability vector on . Under the Gibbs kernel, , the new index is drawn from without regard for the current index . The Metropolized Gibbs kernel of Liu (1996), which is the forced move of Chopin and Singh (2013), proposes, from with , an index with probability , and accepts it with probability , so that
and if . For and , is the Metropolis acceptance probability, whereas the probability of moving from to under the Gibbs kernel is that of Barker (1965). For a Markov kernel on and , we write for the expectation of with respect to , and
This is the expectation of when and , so that, if leaves invariant, is the lag-one autocovariance of for the Markov chain with kernel started from .
Lemma 1.
The kernel is reversible with respect to . For , . For every , .
The first two parts of Lemma 1 are due to Liu (1996, Section 2) when for all . Because the probability of moving from to under the Gibbs kernel is , the second part states that dominates the Gibbs kernel off the diagonal, which is the ordering of Peskun (1973). If for some , then the first two parts follow from and for . Because for the Gibbs kernel, the third part follows from the first two by Tierney (1998, Lemma 3).
2.3 A coupling which avoids the current index
The forced move also gives a coupling of two probability vectors and on under which the two indices coincide less often than when they are independent: this is the opposite of classically used maximal couplings (Goldstein, 1979). For , let if and . With , let
That is, an index is drawn from and replaced, if it equals , by a forced move from with respect to the probabilities proportional to , . In particular, , so that the entries of are nonnegative and is a Markov kernel.
Lemma 2.
Let and be probability vectors on . For all , . For , . For every , .
By the first part of Lemma 2, if and , then . The two indices then coincide with probability , whereas independent indices coincide with probability . If is uniform, then for all , so that the two indices never coincide. The second and third parts of Lemma 2 compare with the independent coupling, whose rows all equal , as the second and third parts of Lemma 1 compare with the Gibbs kernel.
3 Validity
Our proofs rely on the extended distribution of Andrieu, Doucet and Holenstein (2010) on the particle positions , the ancestor indices , and a final index , which have joint density
The trajectory traced back from is , with genealogy for . For the variables generated by steps (a) and (b) of Algorithm 1, these indices are those of the reference drawn in Algorithm (a), because by Algorithm (b).
Lemma 3.
Let and run steps (a) and (b) of Algorithm 1. Then , with the trajectory traced back from . Under , conditionally on , the indices and , , , are independent, with the distributions and , respectively.
The first part of Lemma 3 is due to Andrieu, Doucet and Holenstein (2010), in the form of Chopin and Singh (2015, Section 2.3), where the indices of the reference are drawn uniformly before the other particles are generated. The second part of Lemma 3 is the observation of Chopin and Singh (2015, proof of Proposition 9) that, with multinomial resampling, BS is a Gibbs update of all the ancestor indices given the particle positions. It relies on the potential functions depending on the current state only, so that the weights do not depend on the ancestor indices.
Combined with steps (c) and (d) of Algorithm 1, Lemma 3 gives the joint distribution of the indices of the reference and of the output trajectory: given the particle positions, the pairs form a Markov chain backwards in time.
Lemma 4.
Let and run Algorithm 1. Conditionally on , and, given , . For , conditionally on and , and, given , . If for all and , the same holds with in Algorithm (d).
Special cases of Proposition 1 are known: for AT (Chopin and Singh, 2015, Proposition 8; Andrieu, Lee and Vihola, 2018, Theorem 1), for BS (Chopin and Singh, 2015, Proposition 9), and for backward sampling at a subset of the time steps combined with ancestral tracing at the others (Chopin and Singh, 2013, Proposition 15). We are not aware of a proof for general kernels and , so we give one here.
Proposition 1.
For any kernels and as in Algorithm 1, the Markov kernel defined by Algorithm 1 is reversible with respect to . In particular, it leaves invariant.
By Lemma 4, conditionally on the particle positions, the pairs form a backward Markov chain on whose initial distribution and transitions, by the reversibility of and by (3), do not change when the indices of the reference and of the output are exchanged, which gives the reversibility.
Proposition 1 applies to the six selection rules of Section 2, because the identity kernel, the Gibbs kernel, and, by Lemma 1, are reversible with respect to , whereas, for , the kernels satisfy (3), and so do the kernels of CM-BS, by the first part of Lemma 2. For BS, by Lemma 3, has the distribution of the indices traced back from an independent draw of from its conditional distribution given . Proposition 1 then follows from the reversibility of this Gibbs update, which is the proof of Chopin and Singh (2015, Proposition 9).
4 Comparison of the selection rules
4.1 Update rates and autocovariances
Throughout this section, and is the output of one iteration of Algorithm 1, so that and for . Probabilities and expectations conditional on are denoted by and , while those with the name of a selection rule as subscript, such as , are taken under the joint distribution of all the variables, with and the output of Algorithm 1 for said selection rule.
The comparisons rely on a backward recursion for the expected products of a function at the indices of the reference and of the output. For , , , and , let
By Lemma 4, . For , also by Lemma 4, is the conditional expectation of given and , while it equals by definition, so that
For BS and FM-BS, . For AT, is the variance of under if and zero otherwise, whereas, for M-BS and CM-BS, , by Lemma 1 if , and, if , because for M-BS and by Lemma 2 for CM-BS. Backward induction on (7) therefore orders the selection rules at every time step.
Theorem 1.
Let and let be measurable with . Then
and the first inequality also holds with CM-BS in place of M-BS. Moreover,
and the first inequality also holds with CM-BS in place of M-BS.
By stationarity, and have the same variance, so that the lag-one autocorrelations are ordered in the same way. If and , then the expected squared jumped distances (ESJD)
are ordered in the reverse direction. At , the pair has the same distribution under FM-BS as under FM-AT, and under BS as under AT. For bounded potential functions, the comparison of FM-BS and BS at therefore also follows from the Peskun ordering of FM-AT over AT (Chopin and Singh, 2013, Proposition 7), combined with Tierney (1998, Lemma 3) for the autocovariances. The comparison of BS and AT is a weaker form of Chopin and Singh (2015, Theorem 10), who prove lag-one domination for all square-integrable functions of the trajectory.
While Theorem 1 applies to univariate functions, the same argument applies to functions of the states at two consecutive time steps, except for the autocovariances of CM-BS.
Corollary 1.
Let and let be measurable with . Then
If, moreover, the particles at time and those at time are almost surely pairwise distinct under , then the probabilities of are nonincreasing from M-BS to FM-BS, BS, and AT, and are at least as large under CM-BS as under FM-BS.
The particles are pairwise distinct, for example, if and is Lebesgue measure. With for , by Lemma 4, the conditional expectation of given , , and is
For CM-BS and , the functions and are applied in (8) to the two indices of , where and . If , Lemma 2 bounds (8) by its value for the independent coupling, but the inequality is reversed if , so that Corollary 1 does not compare the autocovariances of CM-BS with those of the other rules. Corollary 1 applies, for example, to the gradient of with respect to a parameter of the transition densities, whose expectations under are the terms of the score in Fisher’s identity (Cappé, Moulines and Rydén, 2005). It does not order the lag-one autocovariances of sums of such functions over , which involve products of functions at different time steps.
4.2 The final forced move and the gains at every step
The recursion (7) explains the difference between FM-BS and the two rules which we propose. For FM-BS, the final forced move only affects through the value of at the function , because . The backward-sampling kernels contract this function towards a constant. We measure this contraction by the Dobrushin coefficients (Dobrushin, 1956)
Proposition 2.
Let . Then
where the expectation is taken under . If there is such that for all and , then the right-hand side is at most .
Proposition 2 is related to the literature on the forgetting of particle filters (Del Moral, 2004; Karjalainen et al., 2023). The closest result that we know of is Karjalainen et al. (2026, Lemmas 14 and 15 of the supplementary material), who bound, under a strong mixing condition, a decoupling probability by a term which decays geometrically in the number of time steps plus a term of order .
By Proposition 2, unless the Dobrushin coefficients are close to one, a final forced move only matters at the last time steps. When the model factorizes across time, that is, when does not depend on , the condition of Proposition 2 holds with , so that a final forced move does not change the update rates at the times . For M-BS and CM-BS, by contrast, the recursion (7) adds the nonpositive term at every time . Proposition 3 bounds the resulting gain in update rate from below.
Proposition 3.
Let and assume that the particles are almost surely pairwise distinct under . For , let
with the kernels of M-BS. Then and
The same holds with CM-BS in place of M-BS, in both the kernels and the inequality.
The quantity is the decrease of the probability that the output and the reference coincide at time , given and , when the draw of by FM-BS is replaced by that of M-BS or CM-BS. For , for both rules. For , for M-BS, whose gain is therefore made at the times at which the output and the reference coincide at the next time step, that is, when the sampler struggles to move. For CM-BS, the gain is also made at the other times, with for and .
4.3 Relationship with independent Metropolis–Hastings
With two particles, for every probability vector , so that CM-BS recovers the independent Metropolis–Hastings sampler at each time step when the model factorizes across time, whatever the weights.
Proposition 4.
Let , and assume that, for , does not depend on . Then, under CM-BS and conditionally on and , the indices are independent, with .
With and given, the particles , , are independent draws from , whose weights relative to are . By Proposition 4, one iteration of CSMC with CM-BS therefore replaces each state , independently, by the proposal with probability : this is the independent Metropolis–Hastings sampler with proposal at each time step. With M-BS, by contrast, the index at time is drawn independently of if , as with BS.
If the probabilities and , , , are uniform, as when the potential functions are constant and does not depend on , then the kernels and , and, for CM-BS, the kernels , never keep the current index, by (4) and (5). By Lemma 4, almost surely for every under CM-BS, whereas under BS, and under FM-BS for . Under M-BS, also by Lemma 4, and, for , the probability of is that of divided by , so that
If the particles are pairwise distinct, every state is therefore updated under CM-BS, whereas each state is kept with probability under BS and, under M-BS, with a probability which tends to as grows. With two particles, far from , the moves of M-BS thus follow the Metropolis rule at about a third of the time steps, and the rule of Barker (1965) at the others.
5 Illustration
We consider two state-space models. The first is a linear-Gaussian (LG) model with , , and , where , , , and . The second is the nonlinear (NL) model of Gordon, Salmond and Smith (1993), in the form used by Andrieu, Doucet and Holenstein (2010, Section 3.1): ,
with , , and , as in Andrieu, Doucet and Holenstein (2010). Algorithm 1 uses the bootstrap filter, with the transition density and the observation density, so that the potential functions only depend on the current state.
We estimate the quantities compared in Section 4, which concern one iteration started from the target distribution. For each model and , we draw data sets from the model, so that, given , the trajectory is distributed according to the smoothing distribution. For each data set, we run steps (a) and (b) of Algorithm 1 once with the reference , apply the selection rules BS, FM-BS, M-BS, and CM-BS to the same particles, and record, for each rule and each , the indicator of and the squared jump . Because the particles are almost surely pairwise distinct, almost surely, so that the averages of these quantities over the data sets estimate the update rates and the ESJD, averaged over the distribution of the data under the model. Because the orderings of Section 4 hold for every data set, they also hold for the expectations which these averages estimate. Standard errors are computed from batches of data sets, with the delta method for the ratios. Code to reproduce the experiments can be found at https://github.com/AdrienCorenflos/metropolized-backward-sampling-experiments. We do not show AT, which BS dominates (Theorem 1 and Chopin and Singh, 2015, Theorem 11).
Fig 1: Update rates (top) and ESJD (bottom) of forced move plus backward sampling (FM-BS), Metropolized backward sampling (M-BS), and coupled Metropolized backward sampling (CM-BS), relative to those of backward sampling (BS), at each time step , on the linear-Gaussian (LG) model with and the nonlinear (NL) model with : FM-BS with () and (), M-BS with () and (), and CM-BS with () and (). The ratios are those of the averages over data sets drawn from the model, with one iteration for each data set, started from the trajectory drawn with the data. The shaded bands extend two standard errors on each side of the ratios. For the NL model, the ratios oscillate with the time-dependent term of the transition.
In agreement with Proposition 2, the final forced move of FM-BS only matters at the last time steps (Figure 1): it increases the update rates by to at time , but by less than on average over the time steps. Appendix B gives these averages for all the models and numbers of particles. In agreement with Theorem 1, M-BS and CM-BS increase the update rates and the ESJD at every time step in Figure 1. On average over the time steps, M-BS increases them by to and by to , respectively, for , and by to and by to for . CM-BS increases them by to and by to for , and by to and by to for , so that its averages exceed those of M-BS for all the models and numbers of particles. With stratified resampling and ancestor sampling of the reference, the increases of the update rates for are the same, to for M-BS and to for CM-BS (Appendix E). The gains decrease as grows, because BS then already moves with high probability.
6 Discussion
M-BS replaces each draw of BS by a forced move from the ancestor , at no additional cost, and keeps the reversibility of BS. CM-BS also avoids the index of the reference when , by replacing the draw of BS by a forced move from when it equals . Its backward pass costs at most twice as much as that of BS. Their gains are largest when the index of the reference is often selected again by BS, that is, for small numbers of particles or for uneven weights, which is the regime of interest when each particle is expensive to propagate or to weight. Small numbers of particles also arise in high dimensions, where the number of particles of CSMC can be traded for locality by proposing the particles around the reference (Finke and Thiery, 2023; Corenflos and Finke, 2024): this forms the original motivation for this work.
The analysis we presented here relies on multinomial resampling and on potential functions which depend on the current state only. Together, they make the ancestor indices conditionally independent given the particle positions (Lemma 3), from which the backward Markov chain of Lemma 4, and hence both the reversibility and the recursion (7), follow. With potential functions which depend on two states, as for guided particle filters, or with conditional versions of other resampling schemes (Chopin and Singh, 2015, Section 5; Karppinen, Singh and Vihola, 2024; Finke et al., 2026), this conditional independence fails. Appendix C follows the general conditional resampling approach of Finke et al. (2026): the ancestor index of each state of the reference is drawn by ancestor sampling (Lindsten, Jordan and Schön, 2014) in the forward pass, without additional cost. Conditionally on the particle positions and the ancestor indices, the backward Markov chain of Lemma 4 is then recovered, so that the reversibility and the results of Sections 4.1 and 4.2 extend to these settings. Without ancestor sampling, the forced moves of FM-BS and M-BS from the ancestors still leave the target distribution invariant, which extends the duality of backward and ancestor sampling (Finke, 2015, Proposition 3.27) to forced moves. On the linear-Gaussian model of Section 5 with the locally optimal proposal (Doucet, Godsill and Andrieu, 2000), whose potential functions depend on the previous state, and with ancestor sampling, the update rates and the ESJD of the four selection rules are ordered as in Theorem 1, and CM-BS updates the states to more often than BS with two particles (Appendix D). Theorem 1 and Corollary 1 concern functions of the states at one or two consecutive time steps, except for the autocovariances of CM-BS at two time steps: whether M-BS or CM-BS dominates BS for all square-integrable functions of the trajectory, which would order the asymptotic variances (Tierney, 1998; Mira, 2001), remains open, as does the comparison of M-BS and CM-BS.
As a rule of thumb, we recommend M-BS. It dominates BS in the sense of Theorem 1 at exactly the same cost. For potential functions of the previous state and other resampling schemes, it remains valid with the same forward pass, whereas CM-BS then requires ancestor sampling of the reference and therefore a different implementation of the forward pass. The backward pass of CM-BS also costs up to twice as much as that of BS. CM-BS is worth its additional cost when the potential functions are much more expensive to evaluate than the transition densities, because the forward pass then dominates the cost of an iteration, while the backward pass only evaluates transition densities. This is the case, for example, in approximate Bayesian computation for hidden Markov models whose observation densities are intractable but can be simulated (Jasra et al., 2012; Dean et al., 2014).
Finally, M-BS and CM-BS only change how each backward index is drawn. They can therefore be combined with other improvements of backward sampling, such as the bridge backward sampling of Karppinen, Singh and Vihola (2024). By the duality of backward and ancestor sampling, the forced moves of M-BS correspond to forced moves of the ancestor index of the reference, started from , which are allowed in particle Gibbs with ancestor sampling (Lindsten, Jordan and Schön, 2014, Section 6.1).
References
[author] Andrieu, ChristopheC., Doucet, ArnaudA. and Holenstein, RomanR. (2010). Particle Markov chain Monte Carlo methods. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 72 269–342. With discussion. 10.1111/j.1467-9868.2009.00736.x
[author] Andrieu, ChristopheC., Lee, AnthonyA. and Vihola, MattiM. (2018). Uniform ergodicity of the iterated conditional SMC and geometric ergodicity of particle Gibbs samplers. Bernoulli 24 842–872. 10.3150/15-BEJ785
[author] Barker, A. A.A. A. (1965). Monte Carlo calculations of the radial distribution functions for a proton–electron plasma. Australian Journal of Physics 18 119–134. 10.1071/PH650119
[author] Bunch, PeteP. and Godsill, SimonS. (2013). Improved particle approximations to the joint smoothing distribution using Markov chain Monte Carlo. IEEE Transactions on Signal Processing 61 956–963. 10.1109/TSP.2012.2229277
[author] Cappé, OlivierO., Moulines, EricE. and Rydén, TobiasT. (2005). Inference in Hidden Markov Models. Springer Series in Statistics. Springer, New York. 10.1007/0-387-28982-8
[author] Chopin, NicolasN. and Papaspiliopoulos, OmirosO. (2020). An Introduction to Sequential Monte Carlo. Springer Series in Statistics. Springer, Cham. 10.1007/978-3-030-47845-2
[author] Chopin, NicolasN. and Singh, Sumeetpal S.S. S. (2013). On the particle Gibbs sampler. arXiv:1304.1887v1. First version of Chopin and Singh (2015).
[author] Chopin, NicolasN. and Singh, Sumeetpal S.S. S. (2015). On particle Gibbs sampling. Bernoulli 21 1855–1883. 10.3150/14-BEJ629
[author] Corenflos, AdrienA. and Finke, AxelA. (2024). Particle-MALA and Particle-mGRAD: Gradient-based MCMC methods for high-dimensional state-space models. arXiv:2401.14868v1.
[author] Dau, Hai-DangH.-D. and Chopin, NicolasN. (2023). On backward smoothing algorithms. The Annals of Statistics 51 2145–2169. 10.1214/23-AOS2324
[author] Dean, Thomas A.T. A., Singh, Sumeetpal S.S. S., Jasra, AjayA. and Peters, Gareth W.G. W. (2014). Parameter estimation for hidden Markov models with intractable likelihoods. Scandinavian Journal of Statistics 41 970–987. 10.1111/sjos.12077
[author] Del Moral, PierreP. (2004). Feynman–Kac Formulae: Genealogical and Interacting Particle Systems with Applications. Probability and its Applications. Springer, New York. 10.1007/978-1-4684-9393-1
[author] Dobrushin, R. L.R. L. (1956). Central limit theorem for nonstationary Markov chains. I. Theory of Probability and Its Applications 1 65–80. 10.1137/1101006
[author] Doucet, ArnaudA., Godsill, SimonS. and Andrieu, ChristopheC. (2000). On sequential Monte Carlo sampling methods for Bayesian filtering. Statistics and Computing 10 197–208. 10.1023/A:1008935410038
[author] Finke, AxelA. (2015). On extended state-space constructions for Monte Carlo methods, PhD thesis, University of Warwick.
[author] Finke, AxelA. and Thiery, Alexandre H.A. H. (2023). Conditional sequential Monte Carlo in high dimensions. The Annals of Statistics 51 437–463. 10.1214/22-AOS2252
[author] Finke, AxelA., Johansen, Adam M.A. M., Lee, AnthonyA. and Murray, Lawrence M.L. M. (2026). Resampling in conditional SMC algorithms. arXiv:2606.25603v1.
[author] Godsill, Simon J.S. J., Doucet, ArnaudA. and West, MikeM. (2004). Monte Carlo smoothing for nonlinear time series. Journal of the American Statistical Association 99 156–168. 10.1198/016214504000000151
[author] Goldstein, SheldonS. (1979). Maximal coupling. Zeitschrift für Wahrscheinlichkeitstheorie und Verwandte Gebiete 46 193–204. 10.1007/BF00533259
[author] Gordon, Neil J.N. J., Salmond, David J.D. J. and Smith, Adrian F. M.A. F. M. (1993). Novel approach to nonlinear/non-Gaussian Bayesian state estimation. IEE Proceedings F (Radar and Signal Processing) 140 107–113. 10.1049/ip-f-2.1993.0015
[author] Jasra, AjayA., Singh, Sumeetpal S.S. S., Martin, James S.J. S. and McCoy, EmmaE. (2012). Filtering via approximate Bayesian computation. Statistics and Computing 22 1223–1237. 10.1007/s11222-010-9185-0
[author] Karjalainen, JoonaJ., Lee, AnthonyA., Singh, Sumeetpal S.S. S. and Vihola, MattiM. (2023). On the forgetting of particle filters. arXiv:2309.08517v4.
[author] Karjalainen, JoonaJ., Lee, AnthonyA., Singh, Sumeetpal S.S. S. and Vihola, MattiM. (2026). Mixing time of the conditional backward sampling particle filter. Journal of the Royal Statistical Society Series B: Statistical Methodology 88 1087–1106. 10.1093/jrsssb/qkaf078
[author] Karppinen, SanteriS., Singh, Sumeetpal S.S. S. and Vihola, MattiM. (2024). Conditional particle filters with bridge backward sampling. Journal of Computational and Graphical Statistics 33 364–378. 10.1080/10618600.2023.2231514
[author] Kitagawa, GenshiroG. (1996). Monte Carlo Filter and Smoother for Non-Gaussian Nonlinear State Space Models. Journal of Computational and Graphical Statistics 5 1–25. 10.1080/10618600.1996.10474692
[author] Lee, AnthonyA., Singh, Sumeetpal S.S. S. and Vihola, MattiM. (2020). Coupled conditional backward sampling particle filter. The Annals of Statistics 48 3066–3089. 10.1214/19-AOS1922
[author] Lindsten, FredrikF., Jordan, Michael I.M. I. and Schön, Thomas B.T. B. (2014). Particle Gibbs with ancestor sampling. Journal of Machine Learning Research 15 2145–2184.
[author] Lindsten, FredrikF. and Schön, Thomas B.T. B. (2013). Backward simulation methods for Monte Carlo statistical inference. Foundations and Trends in Machine Learning 6 1–143. 10.1561/2200000045
[author] Liu, Jun S.J. S. (1996). Peskun’s theorem and a modified discrete-state Gibbs sampler. Biometrika 83 681–682. 10.1093/biomet/83.3.681
[author] Mira, AntoniettaA. (2001). Ordering and improving the performance of Monte Carlo Markov chains. Statistical Science 16 340–350. 10.1214/ss/1015346319
[author] Peskun, Peter H.P. H. (1973). Optimum Monte-Carlo sampling using Markov chains. Biometrika 60 607–612. 10.1093/biomet/60.3.607
[author] Tierney, LukeL. (1998). A note on Metropolis–Hastings kernels for general state spaces. The Annals of Applied Probability 8 1–9. 10.1214/aoap/1027961031
[author] Whiteley, NickN. (2010). Contribution to the discussion on ‘Particle Markov chain Monte Carlo methods’ by Andrieu, C., Doucet, A., and Holenstein, R. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 72 306–307. 10.1111/j.1467-9868.2009.00736.x
A Proofs
This appendix gives the proofs of our results, in the order in which they appear.
Let , so that . By the first part of Lemma 1 if , and trivially if , for all . It follows from (5) that, for ,
whereas . The second part follows from for . For the third part, the coefficients , , sum to zero over for every , because is a Markov kernel, and over for every , because by the first part. Because is the sum of these coefficients times , expanding , whose first two terms contribute zero to the sum, gives
where the terms with vanish. The right-hand side is nonpositive by the second part. ∎
This proof is not ours and is provided for completeness and ease of reference. We collect arguments from Andrieu, Doucet and Holenstein (2010) in the form of Chopin and Singh (2015, Section 2.3) and Chopin and Singh (2015, proof of Proposition 9). Steps (a) and (b) of Algorithm 1 draw with probability , then for , and, for and , and , with . With , on the set where for , the variables therefore have the density
The factors and of (1) complete the products over , because . By the definition of the weights, for , and, because ,
which completes the products of the weights over . The density is therefore (6). Because , the indices are functions of and , so that and is the trajectory traced back from . Because the weights depend on only, (6) is, as a function of , proportional to
which gives the second part, by (2). ∎
By Lemma 3, , so that, conditionally on , , and the first claim follows from Algorithm (c). Let . The indices are functions of , of the ancestor indices with , and of the draws of steps (c) and (d) of Algorithm 1 at the times , also with the draws . By Lemma 3, conditionally on and on these variables, the indices , , are therefore independent, with the distributions . Hence . By Algorithm (d), given also , , which depends on these indices only through . With instead, if , because then . If , then is independent of , with the distribution , which is invariant for , so that is independent of , with the distribution . In all cases, these distributions depend on the conditioning variables only through , , and , which proves the claim. ∎
Let and run Algorithm 1, so that and for . By Lemma 4, conditionally on , the pairs , , form a Markov chain on . Its initial distribution is symmetric in , by the reversibility of . At time , its transition from to has the probability , which, by (3), does not change when and are exchanged. Hence, conditionally on , the distribution of does not change when and are exchanged. The pairs and hence have the same distribution, that is, the Markov kernel defined by Algorithm 1 is reversible with respect to . ∎
We show, by backward induction on , that, for every ,
and , where the superscripts indicate the selection rule. For , by Lemma 1,
and . Assume that the claim holds at time . By (7) and the signs of , for M-BS and, in the same way, for CM-BS,
With , we have , so that , whose expectation under the distribution of , which does not depend on the selection rule, is the expectation in Theorem 1. These expectations are finite, because is at most , where by Proposition 1. Given , the event is the disjoint union of the events over the classes of indices whose particles at time are equal, so that , which is ordered by (9). So is its expectation under the distribution of , which does not depend on the selection rule. ∎
Let for , so that
By Lemma 4, its conditional expectation given , , and is (8). With , this is for BS and FM-BS, and also for AT and M-BS if . For , it is for AT, and at most for M-BS, by the third part of Lemma 1. Hence the conditional expectation of given is for BS and FM-BS, at least for AT, and at most for M-BS, so that it is ordered as claimed, by (9) at time . The first claim follows by taking expectations under the distribution of , which does not depend on the selection rule. These expectations are finite, because is at most , where by Proposition 1. If the particles are pairwise distinct, then and if and only if and , almost surely, and, by Lemma 4,
By (9) at time with , the first factor is nondecreasing from M-BS to FM-BS, BS, and AT, and at most as large under CM-BS as under FM-BS. So is the second factor, which is the same under M-BS and CM-BS, because by the second part of Lemma 1. Since both factors are nonnegative, the second claim follows by taking expectations. ∎
For , let , so that is the probability that the backward chain with the kernels , started from at time , is at at time , and, for , let . As in the proof of Theorem 1, , where the sum is over the classes of indices whose particles at time are equal. For BS and FM-BS, , by (7), so that, given , the difference of the update rates is
Each term is minus the lag-one autocovariance of for the Markov chain with kernel started from its invariant distribution . It is therefore nonnegative, by Lemma 1, and upper bounded by the variance of under , by the Cauchy–Schwarz inequality. Summing over ,
because and , and by the triangle inequality, since . The right-hand side is the maximal total-variation distance between the distributions of the backward chain at time started from two indices at time , which is at most (Dobrushin, 1956). The condition on is the one-step case, with a constant , of the mixing condition of Del Moral (2004, Section 3.5.2). Under this condition, for all ,
so that . Hence . ∎
We give the proof for M-BS, that for CM-BS being the same with CM-BS in place of M-BS. Because , the sum over , , of the last term of (7) is . By (7) and (9) at time , it follows that
and , by (7). The claim follows by taking expectations, because for both rules. Finally, , by the second part of Lemma 1, and , so that . ∎
Because does not depend on , for all and . The kernels of CM-BS are therefore and, for , . For a probability vector on , . Indeed, let , the other case being symmetric. By (4), and , so that, with , and . By (5), and . By Lemma 4, conditionally on , the indices therefore have the probability
which proves the claim. ∎
B Averages over the time steps
Table 1 gives the averages over the time steps of the update rates and of the ESJD in the experiment of Section 5, for each model, selection rule, and number of particles.
Table 1: Averages over the time steps of the update rates and of the ESJD, for the four selection rules and , on the linear-Gaussian (LG) model with and the nonlinear (NL) model with , estimated as in Figure 1. The standard errors are below for the update rates and below of the ESJD.
| update rates | ESJD | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 4 | 8 | 16 | 32 | 64 | 2 | 4 | 8 | 16 | 32 | 64 | |
| LG, | ||||||||||||
| BS | 0.310 | 0.569 | 0.749 | 0.861 | 0.925 | 0.960 | 0.296 | 0.536 | 0.700 | 0.801 | 0.859 | 0.892 |
| FM-BS | 0.312 | 0.570 | 0.750 | 0.861 | 0.925 | 0.960 | 0.297 | 0.537 | 0.701 | 0.802 | 0.860 | 0.892 |
| M-BS | 0.419 | 0.642 | 0.782 | 0.873 | 0.929 | 0.962 | 0.373 | 0.584 | 0.721 | 0.808 | 0.862 | 0.893 |
| CM-BS | 0.500 | 0.789 | 0.919 | 0.969 | 0.988 | 0.995 | 0.419 | 0.667 | 0.796 | 0.860 | 0.893 | 0.910 |
| LG, | ||||||||||||
| BS | 0.132 | 0.293 | 0.465 | 0.623 | 0.751 | 0.844 | 0.379 | 0.833 | 1.31 | 1.75 | 2.10 | 2.36 |
| FM-BS | 0.133 | 0.294 | 0.466 | 0.624 | 0.752 | 0.845 | 0.380 | 0.835 | 1.31 | 1.75 | 2.10 | 2.36 |
| M-BS | 0.180 | 0.359 | 0.523 | 0.662 | 0.773 | 0.854 | 0.499 | 0.994 | 1.45 | 1.84 | 2.15 | 2.38 |
| CM-BS | 0.189 | 0.394 | 0.588 | 0.746 | 0.856 | 0.923 | 0.518 | 1.07 | 1.58 | 2.00 | 2.31 | 2.51 |
| NL, | ||||||||||||
| BS | 0.274 | 0.504 | 0.685 | 0.815 | 0.896 | 0.944 | 3.19 | 7.26 | 12.1 | 16.5 | 19.5 | 21.3 |
| FM-BS | 0.277 | 0.506 | 0.687 | 0.816 | 0.897 | 0.944 | 3.25 | 7.32 | 12.2 | 16.5 | 19.5 | 21.3 |
| M-BS | 0.379 | 0.585 | 0.732 | 0.836 | 0.905 | 0.947 | 4.12 | 8.16 | 12.8 | 16.9 | 19.7 | 21.4 |
| CM-BS | 0.450 | 0.714 | 0.868 | 0.945 | 0.978 | 0.991 | 4.66 | 9.29 | 14.3 | 18.2 | 20.6 | 22.0 |
| NL, | ||||||||||||
| BS | 0.163 | 0.346 | 0.527 | 0.682 | 0.801 | 0.883 | 0.751 | 1.63 | 2.56 | 3.47 | 4.24 | 4.81 |
| FM-BS | 0.164 | 0.348 | 0.528 | 0.683 | 0.802 | 0.883 | 0.769 | 1.65 | 2.59 | 3.51 | 4.28 | 4.83 |
| M-BS | 0.236 | 0.435 | 0.596 | 0.724 | 0.822 | 0.892 | 1.00 | 1.93 | 2.83 | 3.66 | 4.37 | 4.86 |
| CM-BS | 0.261 | 0.509 | 0.710 | 0.847 | 0.927 | 0.968 | 1.07 | 2.12 | 3.10 | 3.96 | 4.63 | 5.08 |
C Potential functions of the previous state and other resampling schemes
Our proofs require multinomial resampling and potential functions which depend on the current state only. This section removes both requirements with the construction of Finke et al. (2026, Appendix D). In Algorithm 2, the ancestor index of each state of the reference is drawn by ancestor sampling (Lindsten, Jordan and Schön, 2014) in the forward pass, which is followed by the backward pass of Algorithm 1. Algorithm 2 is reversible for all the kernels of Algorithm 1 (Proposition 5). The results of Sections 4.1 and 4.2 hold for it (Proposition 6). With multinomial resampling and potential functions of the current state, it gives the same joint distribution of the reference and the output as Algorithm 1 (Proposition 7). Without ancestor sampling, the usual implementations of AT, FM-AT, BS, FM-BS, and M-BS leave the target distribution invariant (Proposition 8).
C.1 Model and resampling schemes
Let and , , be potential functions, and let the target distribution have density
where . At each time , the vector of the indices of the ancestors at time of the particles at time is drawn from a resampling scheme (Definition 1). The normalized weights at the times are
which depend on the ancestor indices at time .
Definition 1.
A resampling scheme at time is a distribution on , which may depend on the particles at time and on their weights, such that, for every , the expected number of indices with under is .
Multinomial resampling, with , is a resampling scheme, as are stratified, systematic, residual, and killing resampling, among others (Finke et al., 2026, Section 3). The first part of Lemma 3 extends to this setting (Lemma 5 below), whereas the second part fails, because the weights depend on the ancestor indices, and because the ancestor indices need not be independent (Section D.2 gives an example).
For , , and , let
and let for . These are the backward-sampling probabilities of Lindsten and Schön (2013), which reduce to (2) when depends on the current state only. Below, the denominator is almost surely positive for , , because the weights are positive and is either drawn from or the state of the reference, whose density given its predecessor , a particle at time , is positive. The kernels and of the six selection rules are defined as in Section 2, with these probabilities. For the six rules, is the identity kernel, the Gibbs kernel , or the forced move , which depend on only through .
C.2 Ancestor sampling of the reference
Algorithm 2 (CSMC with ancestor sampling and a general backward pass).
Given the reference trajectory and kernels and as in Algorithm 1, with the probabilities (11) and functions of the particle positions and of the ancestor indices:
(a) Draw uniformly on , set , and draw for . (b) For , draw , and then with probabilities proportional to on the set where . Set and draw for . (c) Run steps (c) to (e) of Algorithm 1.
In Algorithm (b), the index of the ancestor of the state of the reference is drawn by ancestor sampling (Lindsten, Jordan and Schön, 2014). The pair is then drawn by the conditional resampling of Finke et al. (2026, Algorithm 2), given that is the ancestor of the particle . By Definition 1, the normalizing constant of its probabilities is . Equivalently, with probability proportional to the probability that under . The other ancestor indices are then drawn from their conditional distribution under given . Finke et al. (2026, Section 3) give algorithms for these draws for the resampling schemes above. With multinomial resampling, is uniform on , while the other ancestor indices are independent draws from , as in Algorithm (b). Unlike in Algorithm 1, the indices of the reference cannot be fixed in general, because the resampling schemes need not be exchangeable (Finke et al., 2026, Section 2.3). Algorithm (b) computes the probabilities , at a cost of order per time step, so that the costs of the six selection rules are of order , as in Section 2.
For each of the six selection rules, we also consider Algorithm (b) with drawn from the kernel of the rule, with in place of , started from . With the Gibbs kernels of BS and FM-BS, this is Algorithm (b) itself. With the identity kernels of AT and FM-AT, , so that the ancestor of each state of the reference is its predecessor, as in Algorithm (b). With the forced moves of M-BS and CM-BS, is drawn by a forced move from .
Lemma 5.
Let and run steps (a) and (b) of Algorithm 2, with drawn from the kernels of one of the six selection rules. Then and has the density
For , let , the index drawn in Algorithm (b) at time . Because , it is drawn from . Steps (a) and (b) of Algorithm 2 therefore draw with probability , and, at each time , with probability and with probability . With the density (10) of and the densities of the other particles, has the density
Let and . By (11), for ,
Because is reversible with respect to , it follows that
The left-hand side is times the factor of (10) at time times the factor of the density above. On the right-hand side, completes the product over , because . The factor cancels with the denominator of . Similarly, completes the product over . The density of is therefore
By the definition of the weights, and because ,
The product of these potentials divided by is therefore times the product of the sums, which gives (12). ∎
The density (12) is the product of a function of and of
which is a probability distribution of . Hence the marginal density of does not depend on the selection rule. Conditionally on , and, for , given also , . Conversely, by Lemma 5, if has the density (12), then . With multinomial resampling, potential functions of the current state, and the identity kernels, (12) is the extended distribution (6), with for , as in the first part of Lemma 3. With the identity and the Gibbs kernels, it is the extended distribution of Finke et al. (2026, Lemma 1) for CSMC with ancestral tracing and with ancestor sampling, respectively.
Proposition 5.
For any kernels and as in Algorithm 2, the Markov kernel defined by Algorithm 2 is reversible with respect to .
Let and run Algorithm 2. With the Gibbs kernels, . By Lemma 5, conditionally on , and, for , given also , . Let . The kernels of steps (c) and (d) of Algorithm 1 depend on only, so that, at the times , they draw given , , and . Conditionally on , , and , therefore, and, given , . These are the first two sentences of Lemma 4, conditionally on instead of . The proof of Proposition 1 then applies with in place of . ∎
Proposition 6.
Let be the output of Algorithm 2 started from . Theorem 1, Corollary 1, and Propositions 2 and 3 hold with the probabilities (11), with the distribution (12) in place of , and, in Proposition 2, with in place of the condition on .
Condition on instead of in Sections 4.1 and 4.2 and in the proofs of these results in Section A, with and in place of and . The proofs use the first two sentences of Lemma 4, which hold conditionally on by the proof of Proposition 5. They also use Proposition 1, which is replaced by Proposition 5, and the fact that the distribution of the conditioning variables does not depend on the selection rule. This holds for , because steps (a) and (b) of Algorithm 2 do not depend on the kernels. In the proof of Proposition 2, the condition on gives by (11), as before. ∎
Proposition 7.
Assume multinomial resampling, and that does not depend on for . Then, for and any kernels as in Algorithm 1, the reference and the output have the same joint distribution under Algorithm 2 as under Algorithm 1.
Under these assumptions, and are functions of , and so are the kernels. With multinomial resampling and the identity kernels, steps (a) and (b) of Algorithm 2 draw uniformly on , independently of the other variables, so that they generate with the same distribution as steps (a) and (b) of Algorithm 1. By Lemma 5, the marginal density of is therefore the same under both algorithms. Under Algorithm 2, conditionally on , and hence on , and given , by Lemma 5. Under Algorithm 1, the same holds conditionally on , by Lemma 4. The variables thus have the same distribution under both algorithms. So do , because both algorithms draw given and with the same kernels. The reference and the output are functions of these variables. ∎
C.3 Backward passes from the ancestors
Algorithm 3 (CSMC with a backward pass from the ancestors).
Given the reference trajectory and the kernels and of AT, FM-AT, BS, FM-BS, or M-BS, with the probabilities (11):
(a) Run steps (a) and (b) of Algorithm 2, with in Algorithm (b). (b) Draw . (c) For , draw from the kernel started from the ancestor of the particle . (d) Return .
Algorithm (a) is the forward pass of CSMC with the resampling schemes (Finke et al., 2026, Algorithm 27). With multinomial resampling and potential functions of the current state, Algorithm 3 is the usual implementation of Section 2, with the forward pass of Algorithm 1.
Proposition 8.
The Markov kernel defined by Algorithm 3 leaves invariant. With the kernels of AT and FM-AT, it is reversible with respect to .
Let and run Algorithm 3. By Lemma 5 with the identity kernels, conditionally on . Because leaves invariant, conditionally on . Because the marginal density of in (12) does not depend on the kernels, Algorithm (c) then gives the density (12), with in place of and the kernels of the selection rule. By Lemma 5, . With the identity kernels of AT and FM-AT, and for . Conditionally on , therefore has the probability if these identities hold, and zero otherwise. By the reversibility of , this probability does not change when and are exchanged. The reversibility then follows as in the proof of Proposition 1. ∎
The proof uses Algorithm (a) only through conditionally on , which holds for all the kernels of Lemma 5, so that the invariance also holds with ancestor sampling in Algorithm (a). By Lemma 5, the backward pass of Algorithm 3 and the forward pass of Algorithm (b) with the same kernels both lead to the distribution (12). This is the duality of backward and ancestor sampling of Finke (2015, Proposition 3.27), here with forced moves. CM-BS does not have such an implementation, because its kernels for start from the index of the reference. Under Algorithm 2, conditionally on and , by Lemma 5, whereas, with , is a function of and .
D Locally optimal proposals
This section reports the experiment of Section 5 on the linear-Gaussian (LG) model with the particle filter which uses the locally optimal proposal (Doucet, Godsill and Andrieu, 2000), whose potential functions depend on the previous state.
D.1 Particle filter with the locally optimal proposal
The LG model is , , and . The particle filter with the locally optimal proposal is that of Section C, with multinomial resampling, for the model (10) in which , , is the density of the conditional distribution of given and ,
and is the density of given , which is the density of at , whereas is the density of the conditional distribution of given , , and is constant. Because is the transition density of the LG model times the density of given , while is proportional to the density of times that of given , the target distribution (10) is the smoothing distribution. The backward-sampling probability is therefore proportional to times the density of at , as for the bootstrap filter. The four selection rules use these probabilities with Algorithm 2, whose forward pass draws the ancestor index of each state of the reference by ancestor sampling. Their kernels start from the indices of the reference, as in Algorithm (d), because the ancestor drawn by ancestor sampling need not be . With multinomial resampling, the indices of the reference may be fixed, as in the experiment of Section 5.
D.2 Dependence of the ancestor indices on the proposal
The backward-sampling probabilities do not involve the proposal, but the conditional distribution of the ancestor indices given the particle positions does. With , for example, the distribution (12) with the identity kernels shows that, given the particle positions and the final index , the ancestor indices , , are independent, with probabilities proportional to , , the density of the proposal of from . The backward-sampling probability is instead proportional to the density of at . These probabilities differ unless the density of given does not depend on . Moreover, the final index given the particle positions does not have the distribution , which depends on the ancestor indices. The second part of Lemma 3 therefore fails, and so does Lemma 4 conditionally on the particle positions only. Under Algorithm 2, the first two sentences of Lemma 4 hold instead conditionally on the particle positions and the ancestor indices (proof of Proposition 5). Algorithm 2 is therefore reversible, and the four selection rules are ordered with it as in Theorem 1 and Corollary 1 (Propositions 5 and 6), which Section D.3 illustrates.
D.3 Update rates and ESJD
We repeat the experiment of Section 5 on the LG model, with , , , , and , with data sets drawn from the model for each and , and with the locally optimal proposal. For each data set, the forward pass of Algorithm 2 is run once with the reference , and the four selection rules are applied to the same particles.
Figure 2 shows the update rates and the ESJD of FM-BS, M-BS, and CM-BS relative to those of BS at each time step, while Table 2 shows their averages over the time steps. With the locally optimal proposal, the update rates of the four selection rules are larger than with the bootstrap filter of Section 5, for example those of BS with , increase from to for and from to for (Tables 1 and 2). In agreement with Proposition 6, M-BS and CM-BS increase the update rates and the ESJD at every time step in Figure 2, whereas, as for the bootstrap filter, the final forced move of FM-BS only matters at the last time steps. On average over the time steps, M-BS increases the update rates of BS by for and by to for , and the ESJD by to for and by to for , while FM-BS increases both by less than . CM-BS increases the update rates of BS by to for and by to for , and the ESJD by to for and by to for .
Fig 2: Update rates (top) and ESJD (bottom) of forced move plus backward sampling (FM-BS), Metropolized backward sampling (M-BS), and coupled Metropolized backward sampling (CM-BS), relative to those of backward sampling (BS), at each time step , on the linear-Gaussian (LG) model with and the locally optimal proposal: FM-BS with () and (), M-BS with () and (), and CM-BS with () and (), the four rules with Algorithm 2. The ratios are those of the averages over data sets drawn from the model, with one iteration for each data set, started from the trajectory drawn with the data. The shaded bands extend two standard errors on each side of the ratios.
Table 2: Averages over the time steps of the update rates and of the ESJD, for the four selection rules and , on the linear-Gaussian (LG) model with and the locally optimal proposal, estimated as in Figure 2. The standard errors are below for the update rates and below of the ESJD.
| update rates | ESJD | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 4 | 8 | 16 | 32 | 64 | 2 | 4 | 8 | 16 | 32 | 64 | |
| LG, | ||||||||||||
| BS | 0.418 | 0.674 | 0.824 | 0.908 | 0.952 | 0.976 | 0.353 | 0.590 | 0.739 | 0.827 | 0.876 | 0.902 |
| FM-BS | 0.420 | 0.675 | 0.825 | 0.908 | 0.953 | 0.976 | 0.355 | 0.591 | 0.740 | 0.827 | 0.876 | 0.902 |
| M-BS | 0.539 | 0.728 | 0.843 | 0.914 | 0.954 | 0.976 | 0.434 | 0.626 | 0.752 | 0.831 | 0.877 | 0.902 |
| CM-BS | 0.696 | 0.894 | 0.964 | 0.988 | 0.996 | 0.999 | 0.530 | 0.731 | 0.830 | 0.880 | 0.905 | 0.917 |
| LG, | ||||||||||||
| BS | 0.302 | 0.537 | 0.711 | 0.829 | 0.903 | 0.947 | 0.766 | 1.40 | 1.90 | 2.25 | 2.47 | 2.61 |
| FM-BS | 0.305 | 0.539 | 0.711 | 0.829 | 0.903 | 0.947 | 0.773 | 1.41 | 1.90 | 2.25 | 2.47 | 2.61 |
| M-BS | 0.389 | 0.598 | 0.742 | 0.842 | 0.908 | 0.949 | 0.965 | 1.54 | 1.97 | 2.28 | 2.48 | 2.62 |
| CM-BS | 0.452 | 0.700 | 0.846 | 0.927 | 0.967 | 0.986 | 1.09 | 1.75 | 2.19 | 2.45 | 2.61 | 2.69 |
E Stratified resampling
We repeat the experiments of Section 5 and of Section D with stratified resampling (Kitagawa, 1996) instead of multinomial resampling, with Algorithm 2. In stratified resampling, is the index with , for independent uniforms on , . It satisfies Definition 1 (Finke et al., 2026, Section 3.1.2), so that the reversibility and the orderings hold (Propositions 5 and 6). In Algorithm (b), with the conditional stratified resampling of Finke et al. (2026, Algorithm 6), with probability proportional to the length of the intersection of with , , and the other ancestor indices are drawn as in stratified resampling. Because stratified resampling is not exchangeable, the indices of the reference are not fixed, and is drawn uniformly on , as in Algorithm (a). As in Section D, the kernels start from the indices of the reference, and the four selection rules are applied to the same particles, for data sets for each model and .
In Table 3, the averages over the time steps of M-BS and CM-BS exceed those of FM-BS, and those of CM-BS exceed those of M-BS, for all the models and numbers of particles. With , M-BS increases the update rates of BS by to with the bootstrap filter and by with the locally optimal proposal, and CM-BS by to and by to , close to the increases with multinomial resampling. The update rates of BS are slightly smaller than with multinomial resampling (Tables 1 and 3).
Table 3: Averages over the time steps of the update rates and of the ESJD with stratified resampling and Algorithm 2, for the four selection rules and , on the linear-Gaussian (LG) model with and the nonlinear (NL) model with with the bootstrap filter, and on the LG model with the locally optimal proposal, estimated as in Figure 1. The standard errors are below for the update rates and below of the ESJD.
| update rates | ESJD | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 4 | 8 | 16 | 32 | 64 | 2 | 4 | 8 | 16 | 32 | 64 | |
| LG, | ||||||||||||
| BS | 0.304 | 0.564 | 0.747 | 0.860 | 0.925 | 0.960 | 0.300 | 0.545 | 0.708 | 0.806 | 0.862 | 0.894 |
| FM-BS | 0.306 | 0.565 | 0.748 | 0.860 | 0.925 | 0.960 | 0.301 | 0.545 | 0.709 | 0.807 | 0.863 | 0.894 |
| M-BS | 0.411 | 0.638 | 0.780 | 0.872 | 0.929 | 0.961 | 0.379 | 0.595 | 0.729 | 0.814 | 0.865 | 0.895 |
| CM-BS | 0.490 | 0.784 | 0.918 | 0.969 | 0.988 | 0.995 | 0.425 | 0.678 | 0.805 | 0.865 | 0.896 | 0.912 |
| LG, | ||||||||||||
| BS | 0.129 | 0.288 | 0.460 | 0.620 | 0.750 | 0.844 | 0.376 | 0.830 | 1.31 | 1.75 | 2.11 | 2.36 |
| FM-BS | 0.130 | 0.289 | 0.461 | 0.620 | 0.750 | 0.844 | 0.377 | 0.832 | 1.31 | 1.76 | 2.11 | 2.36 |
| M-BS | 0.176 | 0.353 | 0.518 | 0.659 | 0.771 | 0.854 | 0.496 | 0.994 | 1.45 | 1.85 | 2.16 | 2.39 |
| CM-BS | 0.185 | 0.387 | 0.582 | 0.742 | 0.854 | 0.922 | 0.514 | 1.06 | 1.58 | 2.01 | 2.31 | 2.51 |
| NL, | ||||||||||||
| BS | 0.250 | 0.485 | 0.677 | 0.812 | 0.896 | 0.944 | 3.72 | 8.54 | 13.6 | 17.6 | 20.2 | 21.7 |
| FM-BS | 0.252 | 0.487 | 0.678 | 0.813 | 0.896 | 0.944 | 3.79 | 8.63 | 13.7 | 17.7 | 20.2 | 21.7 |
| M-BS | 0.345 | 0.567 | 0.725 | 0.834 | 0.904 | 0.947 | 4.76 | 9.67 | 14.4 | 18.0 | 20.4 | 21.7 |
| CM-BS | 0.409 | 0.691 | 0.861 | 0.943 | 0.977 | 0.991 | 5.34 | 11.0 | 16.1 | 19.5 | 21.4 | 22.3 |
| NL, | ||||||||||||
| BS | 0.153 | 0.334 | 0.518 | 0.677 | 0.799 | 0.882 | 0.759 | 1.67 | 2.63 | 3.55 | 4.31 | 4.85 |
| FM-BS | 0.154 | 0.336 | 0.519 | 0.679 | 0.800 | 0.883 | 0.780 | 1.70 | 2.67 | 3.58 | 4.34 | 4.87 |
| M-BS | 0.221 | 0.421 | 0.588 | 0.720 | 0.820 | 0.891 | 1.01 | 2.00 | 2.92 | 3.75 | 4.44 | 4.91 |
| CM-BS | 0.245 | 0.493 | 0.700 | 0.843 | 0.926 | 0.968 | 1.08 | 2.18 | 3.19 | 4.05 | 4.71 | 5.12 |
| LG, , locally optimal | ||||||||||||
| BS | 0.402 | 0.666 | 0.821 | 0.907 | 0.952 | 0.976 | 0.362 | 0.602 | 0.748 | 0.832 | 0.879 | 0.904 |
| FM-BS | 0.404 | 0.667 | 0.822 | 0.907 | 0.952 | 0.976 | 0.364 | 0.603 | 0.749 | 0.833 | 0.879 | 0.904 |
| M-BS | 0.515 | 0.720 | 0.841 | 0.913 | 0.954 | 0.976 | 0.447 | 0.639 | 0.762 | 0.837 | 0.880 | 0.904 |
| CM-BS | 0.655 | 0.883 | 0.961 | 0.987 | 0.996 | 0.999 | 0.538 | 0.746 | 0.841 | 0.886 | 0.908 | 0.919 |
| LG, , locally optimal | ||||||||||||
| BS | 0.281 | 0.522 | 0.702 | 0.825 | 0.901 | 0.946 | 0.749 | 1.40 | 1.90 | 2.26 | 2.48 | 2.62 |
| FM-BS | 0.282 | 0.523 | 0.703 | 0.825 | 0.902 | 0.946 | 0.754 | 1.40 | 1.91 | 2.26 | 2.48 | 2.62 |
| M-BS | 0.359 | 0.582 | 0.734 | 0.839 | 0.907 | 0.948 | 0.941 | 1.54 | 1.98 | 2.29 | 2.49 | 2.62 |
| CM-BS | 0.413 | 0.678 | 0.836 | 0.923 | 0.966 | 0.985 | 1.06 | 1.75 | 2.20 | 2.47 | 2.62 | 2.70 |
F Differences between the formalization and the paper
F.1 Overview
The results of the paper are formalized in the Lean proof assistant. The formalization is available at https://adriencorenflos.github.io/formalization/metropolized-CSMC. In order to reduce dependencies, we also provided a formal proof of Liu (1996), Tierney (1998, Lemma 3), and Dobrushin (1956) as part of the process. The formalized proofs follow those of Sections A and C, except in the five steps of Sections F.2 to F.6. Instead of forcing the AI model to follow our proofs, we instead document here where it deviated (despite having been given our original proofs as input) as this may be of interest to some readers. The statements of the lemmas, propositions, and theorems are themselves faithful to the paper. Section F.7 gives the assumptions and conventions of the formalization, and Section F.8 the claims of the paper which are not formalized.
F.2 The forced move
In Lemma 1, the third part is derived from the first two without the Gibbs kernel and Tierney (1998, Lemma 3). Because is a Markov kernel which leaves invariant, the computation of the proof of Lemma 2, with and in place of , gives
which is nonpositive by the second part.
F.3 The backward Markov chain of the indices
In Lemma 4, the conditional distributions are not derived one time step at a time, from the fact that is a function of , of the ancestor indices at the times , and of the draws at these times. Instead, the probability of given is computed as the sum over of the probability of given , from Lemma 3, times that of in steps (c) and (d) of Algorithm 1, with traced back from . The sums over the vectors are taken one at a time. Each uses that, if independently for , then , independently of for . The result is the probability
Its factors are the conditional distributions of Lemma 4. The same probability is obtained for the usual implementation of Algorithm (d), with the case split of our proof on and .
F.4 The recursion of the expected products
In Section 4.1, the recursion (7) and the expression (8) are derived from the joint probabilities given , rather than from the expectations conditional on , , and . By the probability of in Section F.3,
Multiplying by and summing over gives (7). Multiplying by instead gives the expectation of given in the proof of Corollary 1, as the sum over of times (8).
F.5 The final forced move
In the proof of Proposition 2, the bound by the variance of under is derived without the Cauchy–Schwarz inequality. By the reversibility of with respect to ,
Because leaves invariant, the bound
shows that the last term is at most twice the variance, so that is at most the variance.
F.6 Multinomial resampling and potential functions of the current state
In the proof of Proposition 7, the marginal densities of under the two algorithms are compared directly. Steps (a) and (b) of Algorithm 2 with the identity kernels are not used. The sum of (12) with the Gibbs kernels over is the function of in the factorization of (12) after Lemma 5, because the other factor is a probability distribution of . With multinomial resampling and potential functions of the current state, this function is the sum of (6) over , which is the marginal density of under Algorithm 1, by Lemma 3.
F.7 Assumptions and conventions of the formalization
The kernels of Algorithms 1 and 2 are assumed to be measurable functions of the particle positions and, for Algorithm 2, of the ancestor indices. The kernels of the six selection rules are proved to satisfy this assumption. The resampling schemes are assumed to be measurable functions of the particles and of their weights, and to satisfy the condition of Definition 1 for every probability vector of weights. The results on the update rates, in Theorem 1, Corollary 1, and Propositions 2, 3, and 6, assume that the diagonal of is measurable, so that is an event. Where the denominator of (2) or (11) vanishes, is defined as .
F.8 Claims which are not formalized
All claims below are minor and affect the comparison or interpretation of the results, but not the nature of the main construction of the paper. The experiments of Section 5 and of Sections D and E are not formalized, nor are the computations for the locally optimal proposal in Section D. Neither are some comparison remarks with other methods in Sections 1 and 6, such as the effect of the steps of Bunch and Godsill (2013) on the update rates. The claims on fixing the indices of the reference, in Section 2 and in Sections C and D, are not formalized as they are common knowledge in the field (and our proofs do not use this fact).
In Section 3, the description of the backward pass of BS as a Gibbs update of given is not formalized. In Section 4.1, the remarks after Theorem 1 and Corollary 1 are not formalized. These are the orderings of the lag-one autocorrelations and of the ESJD, the equality of the distributions of under FM-BS and FM-AT and under BS and AT, the pairwise distinctness of the particles when and is Lebesgue measure, which Section 5 also uses, and the reversal of the bound of Lemma 2 for . In Section 4.2, the consequence of Proposition 2 with for models which factorize across time is not formalized, nor is the interpretation of as the decrease of a conditional probability. In Section 4.3, the probabilities with uniform probabilities and are formalized as probabilities under the backward Markov chain of Lemma 4. Their limit as grows is not formalized, nor are the interpretation of Proposition 4 as the independent Metropolis–Hastings sampler and the proportion of the time steps at which the moves of M-BS follow the Metropolis rule.
In Section C, the almost sure positivity of the denominator of (11) is not formalized. The formalized results do not use it, because of the convention of Section F.7. Only multinomial resampling is proved to satisfy Definition 1, whereas stratified, systematic, residual, and killing resampling are taken to satisfy it from Finke et al. (2026, Section 3). The failure of the second part of Lemma 3 in this setting, of which Section D.2 gives an example, is not formalized. Neither is the distribution of in Algorithm (b) with multinomial resampling. Finally, neither are the reductions, with multinomial resampling and potential functions of the current state, of (12) with the identity kernels to (6), and of Algorithm 3 to the usual implementation of Section 2.