- Introduced by
- Gordon, Salmond & Smith (bootstrap particle filter, 1993); extended by Doucet et al. (2001)
- Year
- 1993
- Type
- Sequential Bayesian state estimation
- Family
- Bayesian / computational
What does it do?
A dynamic particle filter is a sequential Monte Carlo algorithm that tracks an evolving hidden state over time by maintaining a population of weighted random samples — particles — each representing a plausible trajectory.
As new observations arrive, particle weights are updated via the likelihood and the population is resampled, keeping the representation concentrated on the most probable state regions in a fully nonlinear and non-Gaussian setting.
The intuition behind the method
Imagine tracking an aircraft using noisy radar readings. Instead of one guess about its position, you maintain a population of hypothetical positions (particles), each with a weight reflecting how well it explains the latest reading. At every time step you propagate each particle forward through the aircraft's motion model, up-weight those whose predicted radar return matches what was actually observed, discard unlikely ones through resampling, and keep diversity through the motion noise. The surviving particles approximate the posterior distribution of the aircraft's true position, without requiring Gaussian assumptions.
History
The bootstrap particle filter was proposed by Gordon, Salmond and Smith in 1993 as an algorithm for implementing recursive Bayesian filters, in which the required state density is represented by random samples that are updated and propagated. In their bearings-only tracking example it performed far better than the standard extended Kalman filter. Doucet, de Freitas and Gordon (2001) edited a volume collecting sequential Monte Carlo methods and applications. Later developments in the literature include auxiliary particle filters, Rao-Blackwellized particle filters for mixed linear-nonlinear models, and particle MCMC for parameter estimation.
When to use it
Use a dynamic particle filter when the state-space model is nonlinear or the noise is non-Gaussian, so that the linear-Gaussian assumptions behind the Kalman filter do not hold and the Kalman filter is only an approximation. It also requires a first-order Markov state, observations that are conditionally independent given the state, a transition model that can be simulated, and an observation density that can be evaluated. Typical settings include object tracking, robot localization, stochastic volatility estimation, and filtering of disease incidence from case counts. Do not use it when the model is linear-Gaussian, where the Kalman filter is exact and far cheaper. Be cautious when the state dimension is high, because performance deteriorates as dimension increases and the practical limit depends on the model and the accuracy required, or when computation is too limited to run a sufficient number of particles.
Limitations and considerations
- Performance degrades rapidly as state dimension grows (curse of dimensionality); the practical limit depends on the model and required accuracy, and high-dimensional problems usually need structural assumptions or specialised variants.
- Requires choosing the number of particles N: too few leads to poor approximation, too many is computationally expensive.
- Resampling introduces Monte Carlo variance and can cause particle impoverishment in nearly deterministic systems.
- Smoothed (offline) estimates of past states require additional algorithms such as particle smoothing, adding complexity.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Handles nonlinear dynamics and non-Gaussian observation and process noise without approximation.
- Produces a full posterior distribution over the hidden state at each time step, not just a point estimate.
- Naturally extends to online / real-time inference: particles are updated sequentially as data arrive.
- Flexible: any transition and observation model that can be simulated and evaluated point-wise is supported.
- Relatively straightforward to implement; the bootstrap particle filter requires only sampling and likelihood evaluation.
Applications
- Object and target tracking in radar, sonar, and computer vision where motion models are nonlinear.
- Robot localization and simultaneous localization and mapping (SLAM) in robotics.
- Stochastic volatility estimation and option pricing in financial econometrics.
- Epidemiological state estimation: filtering infection rates and reproduction numbers from reported case counts.
- Fault detection and condition monitoring in engineering systems with noisy sensor streams.
- Weather and geophysical data assimilation for nonlinear ensemble prediction.
How it works
How it works
The model is specified as a state-space: a transition density p(x_t | x_{t-1}) describing how the hidden state x_t evolves over time (the dynamic model), and an observation density p(y_t | x_t) describing how measurements y_t relate to the state. The method assumes that the hidden state is first-order Markov, that observations are conditionally independent given the current state, and that both densities are known (the transition density can be sampled from, the observation density can be evaluated point-wise). Both can be nonlinear and non-Gaussian, which is the defining advantage over the Kalman filter.
Formula
x_t = f(x_{t-1}, v_t),\quad y_t = h(x_t, w_t)At each time step t, each particle x_t^(i) is propagated by sampling from the transition density (the bootstrap choice of proposal). The particle's importance weight is then updated recursively: w_t^(i) is proportional to w_{t-1}^(i) times the likelihood p(y_t | x_t^(i)), and the weights are normalised to sum to one. Particles consistent with the new observation gain weight, and those that are not lose weight. If resampling is carried out at every step, the previous weights are all 1/N and the update reduces to w_t^(i) proportional to p(y_t | x_t^(i)).
Formula
w_t^{(i)} \propto w_{t-1}^{(i)}\, p(y_t \mid x_t^{(i)}),\quad \hat w_t^{(i)} = \frac{w_t^{(i)}}{\sum_{j=1}^{N} w_t^{(j)}}The weighted particle cloud forms a discrete approximation to the filtering distribution p(x_t | y_{1:t}). Quantities of interest, such as the posterior mean, credible intervals, or the probability of exceeding a threshold, are computed as weighted averages over the N particles, and the accuracy improves as N grows.
Formula
p(x_t \mid y_{1:t}) \approx \sum_{i=1}^{N} w_t^{(i)}\,\delta(x_t - x_t^{(i)})When the effective sample size falls (most weight concentrates on a few particles), resampling replaces the population: N particles are drawn with replacement with probabilities equal to the normalised weights, and all weights are reset to 1/N. Afterwards, expectations are approximated by the plain average (1/N) times the sum of f(x_t^(i)). This prevents degeneracy but introduces Monte Carlo variance; systematic or stratified resampling schemes reduce that variance.
Formula
\text{draw } N \text{ particles with probabilities } \hat w_t^{(i)},\quad w_t^{(i)} = \tfrac{1}{N},\quad E[f(x_t)] \approx \tfrac{1}{N}\sum_{i=1}^{N} f(x_t^{(i)})One-step-ahead predictive distributions are obtained by propagating the current particle set through the transition model without yet incorporating y_{t+1}. Multi-step forecasts accumulate uncertainty across repeated propagation steps, naturally reflecting process noise; predictive distributions for future observations additionally reflect observation noise.
Formula
p(x_{t+1} \mid y_{1:t}) = \int p(x_{t+1} \mid x_t)\,p(x_t \mid y_{1:t})\,dx_tCommon pitfalls
- Setting N too small and accepting unstable, high-variance posterior estimates without checking convergence.
- Forgetting to tune the proposal distribution: sampling from the prior as proposal is valid but often inefficient when the likelihood is informative.
- Particle impoverishment in near-deterministic systems: all surviving particles collapse to identical values after resampling; adding artificial noise (jitter) may be needed.
- Treating the particle approximation as exact: Monte Carlo error in weight normalization compounds over time and should be monitored.
- Ignoring computational cost scaling: naively increasing N without algorithmic optimizations makes real-time use infeasible.
Frequently asked questions
How many particles do I need?
There is no universal rule; it depends on the state dimension, the nonlinearity of the model, and the signal-to-noise ratio. Start with a moderate number and increase it, checking that posterior summaries and repeated-run variability stabilise as N grows. High-dimensional or multimodal posteriors may require substantially more particles.
When should I use a particle filter instead of a Kalman filter?
Use a Kalman filter when the state-space model is truly linear and the noise is Gaussian; it is optimal and efficient in that setting. Switch to a particle filter when nonlinearity or non-Gaussianity is substantial, or when the posterior is multimodal (e.g. multiple plausible positions during ambiguous tracking).
What is particle degeneracy and how do I detect it?
Degeneracy occurs when almost all weight concentrates on one or a few particles, making the approximation effectively useless. Monitor the effective sample size ESS = 1 / sum(w_i^2) computed from normalised weights: if ESS drops far below N (e.g. below N/2), resample. Resampling triggered by an ESS threshold is common practice.
Can I estimate model parameters alongside the state?
Not straightforwardly with a basic particle filter, because static parameters do not evolve and quickly degenerate. Common approaches are particle MCMC, which runs particle filters inside an MCMC loop, and SMC-squared methods, which run nested SMC algorithms.
What does 'dynamic' mean in the name?
It refers to the time-evolving state-space setting, in which the hidden state changes at every time step rather than being inferred once. This page describes the bootstrap particle filter (Gordon, Salmond and Smith, 1993); 'dynamic particle filter' is a descriptive label for the same algorithm.
Related methods
Sources
Doucet, A., de Freitas, N. & Gordon, N. (Eds.). (2001). Sequential Monte Carlo Methods in Practice. Springer.
ISBN: 978-0387951461Gordon, N. J., Salmond, D. J. & Smith, A. F. M. (1993). Novel approach to nonlinear/non-Gaussian Bayesian state estimation. IEE Proceedings F – Radar and Signal Processing, 140(2), 107–113.
Open DOI reference