Imagine trying to track a submarine through murky water. You can hear pings â noisy echoes that tell you roughly how far away something is â but the ocean scrambles the signal. You cannot see the submarine. You don't know where it went between pings. Yet Navy sonar operators pin down its position with startling accuracy.
The algorithm behind that trick â and behind the self-locating phone in your pocket, the drones that fly through GPS-denied buildings, and the Mars rovers that navigate on their own â is called the particle filter (also known as Sequential Monte Carlo, or SMC).
The idea is disarmingly simple: instead of tracking a single best guess of where the target is, you maintain thousands of guesses at once â called particles â each representing one plausible position and velocity. Every time a new noisy sensor reading arrives, you ask each particle: "How well does this reading fit if I were here?" Particles that fit well get more copies in the next round; particles that fit poorly get dropped. The cloud of survivors is your running estimate of reality.
This predict-weight-resample loop, invented by Neil Gordon, David Salmond, and Adrian Smith in 1993, transformed state estimation. Kalman filters â the reigning approach since the Apollo missions â could only handle Gaussian noise and linear dynamics. Particle filters handle any distribution, any nonlinear motion model, any weird sensor. The cost is computation: you need enough particles to fill the plausible space, and that number can explode in high dimensions.
Comments
Loading comments...