- Introduced by
- Gordon, Salmond & Smith (1993); extended by Doucet, de Freitas & Gordon (2001)
- Year
- 1993–2001
- Type
- Sequential Bayesian filtering
- Family
- Bayesian / computational
What does it do?
Sequential Monte Carlo (SMC), usually implemented as a particle filter, estimates hidden states of a dynamical system when the observations are noisy measurements of those states.
The measurement-error model is written explicitly as an observation density with an error variance, and that density enters the algorithm through the importance weights. At each time step the method yields a weighted set of particles that approximates the posterior distribution of the latent state.
The intuition behind the method
Imagine tracking an object whose true position is unknown and whose GPS readings are imprecise. SMC with measurement error maintains many hypothetical positions (particles), each with a weight reflecting how plausible it is given the latest noisy reading. After each new observation, particles that fit the data well receive higher weight; those that do not fit are discarded. The weighted ensemble at any time step is a nonparametric approximation to the full Bayesian posterior, capturing both uncertainty in the hidden state and the corrupting effect of measurement noise.
History
The bootstrap particle filter is usually traced to Gordon (1993), which Cappé, Godsill and Moulines (2007) describe as commonly regarded as the first instance of modern sequential Monte Carlo approaches. Those authors note that the techniques were initially focussed on tracking and vision and have since become very widespread across signal and image processing. Doucet, de Freitas and Gordon (2001) compiled Sequential Monte Carlo Methods in Practice, an edited volume on SMC methods; its contents are not summarised here.
When to use it
Choose this method when the hidden state evolves over time, the observations are noisy measurements of it, and the model is nonlinear or the noise is non-Gaussian, so that the closed-form Kalman filter does not apply. It suits problems where a full filtered distribution over the state is needed at each time point rather than a Gaussian summary. Do not use it when the model is linear and Gaussian, where the Kalman filter is exact and much cheaper. It is also a poor choice when the state has many dimensions, because the number of particles needed grows quickly with dimension, or when the measurement error is so small that the likelihood is very sharply peaked, unless a suitable proposal distribution is available.
Limitations and considerations
- When the measurement error variance is small relative to the spread of the transition density, the likelihood term is sharply peaked and most particles receive negligible weight; the bootstrap proposal, which ignores the current observation, then degenerates quickly.
- Computational cost scales with the number of particles N, and the accuracy of posterior summaries depends on both N and the quality of the proposal distribution.
- The number of particles needed to cover the state space grows rapidly with the state dimension.
- If the measurement error variance is unknown, the basic filter conditions on a fixed value. Estimating it jointly with the state requires extensions such as particle MCMC or the Liu–West filter, which add their own tuning and cost.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Handles nonlinear transition and observation models without the linearisation that extended or unscented Kalman-type filters rely on.
- The measurement density enters only through the importance weight, so any observation density that can be evaluated up to a constant can be used, including heavy-tailed or discrete noise models.
- The bootstrap filter requires only the ability to sample from the transition density and to evaluate the measurement likelihood.
- Returns full filtered distributions over the hidden state rather than only means and variances.
Applications
- Target tracking and navigation systems where sensor readings are corrupted by noise.
- Epidemiological models estimating true disease incidence from under-reported or mis-measured case counts.
- Financial time series with latent volatility estimated from noisy price observations.
- Ecological state-space models linking population abundance to imperfect survey counts.
- Robotics localisation (SLAM) with uncertain range and bearing sensor measurements.
- Econometric estimation of dynamic stochastic general equilibrium (DSGE) models with measurement equations.
How it works
How it works
The model has two parts: a transition density describing how the hidden state evolves, and a measurement density linking the true state to the noisy observation. The measurement error variance sets how strongly each observation is trusted relative to the state predicted by the transition model.
Formula
x_t \sim p(x_t \mid x_{t-1}), \quad y_t \sim p(y_t \mid x_t, \sigma_\varepsilon^2)Particles are proposed from q, the importance distribution. The bootstrap filter takes q to be the transition density, while more efficient proposals also condition on the current observation. Each particle's weight is updated by the measurement likelihood times the transition density, divided by q; with the bootstrap choice this reduces to the measurement likelihood alone.
Formula
w_t^{(i)} \propto w_{t-1}^{(i)} \frac{p(y_t \mid x_t^{(i)})\,p(x_t^{(i)} \mid x_{t-1}^{(i)})}{q(x_t^{(i)} \mid x_{t-1}^{(i)}, y_t)}When the effective sample size, approximated as the inverse of the sum of squared normalised weights, falls below a threshold chosen by the user, degenerate particles are eliminated by resampling: drawing N new particles with replacement proportional to their weights. The threshold is a tuning choice, commonly expressed as a fraction of N. Resampling prevents weight collapse and maintains a representative particle cloud.
After resampling, the empirical distribution of particles approximates the filtered posterior of the hidden state given all observations up to the current time. Posterior means, credible intervals, and predictive distributions are computed as weighted averages over the particle cloud.
Formula
p(x_t \mid y_{1:t}) \approx \sum_{i=1}^{N} w_t^{(i)}\,\delta(x_t - x_t^{(i)})Common pitfalls
- Using too few particles, leading to poor posterior approximation and high Monte Carlo variance.
- Neglecting resampling or resampling too aggressively (every step), which impoverishes particle diversity.
- Mis-specifying the measurement-error variance, which can cause the filter to ignore observations or follow noise.
- Failing to validate the measurement model with posterior predictive checks before trusting filtered estimates.
- Applying particle filters to linear-Gaussian state-space models where the Kalman filter is exact and far more efficient.
Frequently asked questions
How does this differ from a standard particle filter?
The label does not name a different algorithm. It refers to the standard particle filter applied to a state-space model whose observation equation contains an explicit error term. The emphasis is that the measurement-error density, rather than an exact observation, determines the weight update. The particle filter entry describes the same procedure.
When should I use a Kalman filter instead?
If the state transition and observation models are both linear and the noise is Gaussian, the Kalman filter is the exact Bayesian solution and should be preferred. SMC is needed only when the model is nonlinear or the noise is non-Gaussian; otherwise it is an expensive approximation to an available closed-form solution.
How do I choose the measurement-error variance?
It can be specified from instrument calibration data, estimated jointly with the hidden state using parameter estimation extensions (e.g. Liu–West filter or particle MCMC), or treated as a hyperparameter and selected by maximising the marginal likelihood, which the particle filter can estimate as a by-product of its weight normalisation. Sensitivity analysis with a range of plausible values is recommended.
How many particles are enough?
There is no universal answer. A common practice is to increase N until posterior summaries stop changing across independent runs, while monitoring the effective sample size and the variability of the weight estimates. Small measurement error (a high signal-to-noise ratio) makes the likelihood sharply peaked, so the filter typically needs more particles or a better proposal distribution; multimodal posteriors also require more particles.
Can SMC handle missing observations?
Yes. When an observation is missing, the weight update step is simply skipped for that time step — particles are propagated forward through the transition model but their weights are not changed. This is one of the practical advantages of particle filters over likelihood-based methods that require imputation.
Related methods
Sources
Doucet, A., de Freitas, N., & Gordon, N. (Eds.). (2001). Sequential Monte Carlo Methods in Practice. Springer New York.
ISBN: 978-0-387-95146-1Cappe, O., Godsill, S. J., & Moulines, E. (2007). An overview of existing methods and recent advances in sequential Monte Carlo. Proceedings of the IEEE, 95(5), 899-924.
Open DOI reference