Particle Filter with Missing Data

Statistics
Introduced by
Doucet, Godsill, Andrieu (2000); Gordon, Salmond & Smith (1993)
Year
1993-2001
Type
Sequential Monte Carlo estimation
Family
Bayesian / computational

What does it do?

A particle filter adapted for state-space models in which some observations are absent.

The filter tracks a hidden state over time with a cloud of weighted random samples (particles). At a time step with no observed value, the likelihood factor cannot be evaluated and is omitted from the weight update. The particles are propagated under the proposal distribution without a likelihood correction until new data arrive.

The intuition behind the method

Imagine tracking a ship's position using noisy GPS readings that occasionally drop out. A particle filter maintains hundreds of candidate positions (particles), each with a plausibility score. When a GPS reading arrives, the scores are updated to favour particles consistent with that reading. When the GPS is silent, the scores are not updated at that step, and the particles move on according to the ship's dynamics. Resampling periodically discards implausible particles and duplicates plausible ones. Over a long gap, the cloud spreads out, so the posterior becomes more uncertain until the next reading arrives and sharpens it again.

History

Doucet, Godsill and Andrieu (2000) gave a sequential Monte Carlo treatment of Bayesian filtering based on importance sampling. Doucet, de Freitas and Gordon (2001) edited a volume on sequential Monte Carlo methods in practice. The handling of missing observations in this framework follows directly from the weight update, in which the likelihood factor is absent at unobserved steps.

When to use it

Use a particle filter with missing data when a non-linear or non-Gaussian dynamic system is observed sequentially and some time steps yield no measurement, for example because of sensor failure, dropout, or censoring. It is preferable to the Kalman filter when the model is non-linear or the noise is non-Gaussian, and to batch methods when inference must be updated online as data arrive. Do not use it when the state space is very high-dimensional, because particle degeneracy becomes severe. Do not use it when missingness is informative and unmodelled. Do not use it for a linear-Gaussian model, where the Kalman filter with missing data gives an exact and much cheaper solution.

Limitations and considerations

  • Particle degeneracy in high-dimensional state spaces: the number of particles needed for adequate coverage rises steeply with state dimension.
  • Resampling adds Monte Carlo variance and can cause particle impoverishment, in which many particles descend from very few ancestors.
  • Computational cost grows linearly with the number of particles, which makes the method slower than analytic filters on the same problem.
  • Long runs of missing data let particles spread under the dynamics. When the next observation arrives, the likelihood may be concentrated on a small part of the spread, so the ESS can drop sharply at that step.
  • Choosing the proposal distribution and the resampling threshold requires expertise; a poor proposal can make the filter fail silently.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Accommodates non-linear and non-Gaussian state-space models, where the closed-form Kalman updates no longer apply. The result is a Monte Carlo approximation whose accuracy improves as the number of particles grows.
  • Handles missing observations without changing the model structure: at a missing time step the likelihood factor is simply omitted from the weight update.
  • Returns a full set of weighted particles, so the posterior distribution of the hidden state at each time point is available, not only a point estimate.
  • Supports online (sequential) updating: the filter can process each new observation as it arrives.
  • Flexible: any transition and emission densities that can be simulated and evaluated can be used.

Applications

  • Target tracking with a non-linear measurement model in which sensor readings are absent for some intervals.
  • State-space models of animal movement or population dynamics fitted to telemetry or survey series with irregular gaps.
  • Filtering of non-linear or heavy-tailed financial or economic series in which some observations are unavailable on certain dates.
  • Disease-surveillance models in which some reporting periods have no recorded case counts.

How it works

How it works

1

Define a Markov state-space model: the hidden state x_t evolves according to a transition density, and each observed measurement y_t is generated from an emission density. Missing observations are recorded via an indicator r_t equal to zero. At those time steps the emission density is not evaluated, because there is no y_t to evaluate it at.

Formula
x_t \sim p(x_t \mid x_{t-1}), \quad y_t \sim p(y_t \mid x_t) \text{ (observed only when } r_t = 1\text{)}
2

At each time step, propagate every particle forward by drawing new state values from a proposal (importance) distribution q. The bootstrap filter takes the transition density as q, which is simple but can be inefficient when the observation is informative. A general proposal may condition on the current observation, but this applies only at steps where y_t is observed. At a missing step the proposal can condition only on earlier observations, for example by using the transition density alone.

Formula
x_t^{(i)} \sim q(x_t \mid x_{t-1}^{(i)}, y_{1:t})
3

Update each particle's importance weight by the ratio of the joint density to the proposal density. When y_t is missing (r_t = 0), the factor p(y_t | x_t) is absent. For the bootstrap proposal, the remaining ratio is 1, so the weights are unchanged. For a general proposal, the weight is multiplied by the transition density divided by the proposal density, which is generally not 1, so the weights change even though the observation is missing.

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_{1:t})}
4

Across a run of missing time steps, the weights carry no new likelihood information and particles spread according to the proposal dynamics. Uncertainty therefore grows over the gap. The rule is valid when the missingness is ignorable (missing at random, or missing completely at random); when missingness depends on the unobserved state, the model must include an explicit model for the indicator r_t.

5

After weighting, assess degeneracy with the effective sample size (ESS), where ESS is one over the sum of the squared normalised weights. When ESS falls below a threshold (commonly N/2), resample particles with probability proportional to their weights and reset all weights to 1/N. Resampling concentrates the particles in high-probability regions but adds Monte Carlo variance and can reduce particle diversity, so the threshold should be checked for the application.

Common pitfalls

  • Treating missing values as observed zeros, or carrying the last observed value forward, instead of omitting the likelihood factor at those steps. This biases the posterior.
  • Using too few particles, especially around long stretches of missing data, which leads to weight collapse when observations resume.
  • Ignoring whether missingness is informative. If the absence of a measurement depends on the hidden state (for example, a sensor fails only at extreme values), the missing-at-random assumption is violated and the indicator must be modelled.
  • Defining a proposal that uses y_t when y_t is missing, which is not possible in practice, or that is not adjusted for the gap, so the weights are computed incorrectly.
  • Not monitoring the effective sample size over time. A persistently low ESS indicates that the filter has degenerated.
  • Applying the particle filter to a linear-Gaussian model with missing data where the Kalman filter already provides an exact and much cheaper solution.

Frequently asked questions

How exactly does the particle filter skip a missing observation?

At a time step where y_t is missing, the likelihood p(y_t | x_t) cannot be evaluated, so that factor is left out of the weight update. For the bootstrap filter, the transition-to-proposal ratio is 1, so the weights stay the same. For a general proposal, the weight is still multiplied by the transition density divided by the proposal density, so the weights can change. In both cases the particles are propagated forward under the proposal, and the posterior spreads over the missing interval.

Do I need to do anything special if many consecutive observations are missing?

Long gaps increase uncertainty, because particles spread under the dynamics without likelihood information. You may need more particles to keep adequate coverage, and you should monitor the ESS across the sequence, especially at the first observation after the gap. If the missingness is predictable, a proposal that accounts for the upcoming gap may help.

When should I use the Kalman filter instead?

If the state-space model is linear and all noise is Gaussian, the Kalman filter handles missing observations exactly and cheaply by skipping the measurement-update step at missing time points. The particle filter is needed when non-linearity or non-Gaussian noise makes the Kalman approximation inadequate.

What if the data are not missing at random?

The standard approach assumes the missingness is ignorable (missing at random or completely at random). If whether an observation is missing depends on the unobserved state, for instance if a sensor fails precisely when the signal is extreme, the missingness mechanism must be modelled jointly with the state, with a separate model for the indicator r_t.

How many particles do I need?

There is no universal rule. The answer depends on the dimension of the state space and on the quality of the proposal. Common starting points range from a few hundred to several thousand particles. Monitor the effective sample size (ESS = 1 / sum of squared normalised weights) over time. If the ESS routinely falls far below N/2, increase the number of particles or improve the proposal.

Related methods

Sources

  1. Doucet, A., de Freitas, N. & Gordon, N. J. (Eds.) (2001). Sequential Monte Carlo Methods in Practice. Springer, New York.

    ISBN: 978-0387951461
  2. Doucet, A., Godsill, S. & Andrieu, C. (2000). On sequential Monte Carlo sampling methods for Bayesian filtering. Statistics and Computing, 10(3), 197-208.

    Open DOI reference