Particle Filters and Effective Sample Size

Represent a posterior by weighted samples and diagnose when most of its weight has collapsed onto a few particles.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Propagate candidates, then weight by observation likelihood
  2. Resampling trades weighted variation for duplicates

Propagate candidates, then weight by observation likelihood

A particle filter approximates a state distribution using samples and weights. Move each sample through the dynamics model or another proposal, then update its weight using the relevant likelihood and proposal correction. Normalize so weights sum to one. Particles whose predictions poorly explain the measurement contribute less. One benefit is that particles can represent several distinct plausible regions.

Resampling trades weighted variation for duplicates

For normalized weights \(w_i\), the diagnostic \(1/\sum_i w_i^2\) is \(n\) for \(n\) equal weights. With weights \(0.9,0.1\), it is about \(1.22\). Resampling draws particles with probability proportional to weight, which concentrates computation but can duplicate existing states. It does not invent unexplored regions by itself. Conditional probability gives the weighting logic. Extended Kalman filtering uses a continuous local model instead.[1][2]

References

  1. Neil J. Gordon, David J. Salmond and Adrian F. M. Smith, Novel Approach to Nonlinear and Non-Gaussian Bayesian State Estimation ↩
  2. Russ Tedrake, Underactuated Robotics ↩