4 ms·
Ive never found a practical implementation of particle filters that was deployed on a real system. PF are a poor choice for tracking a solution that does not ha
by jvanderbot 7y ago
Ive never found a practical implementation of particle filters that was deployed on a real system. PF are a poor choice for tracking a solution that does not have wildly divergent measurements that can cause "lost robot" types of situations. Even then, PF is a fine temporary and high cost stopgap to converge to a "filterable" solution with only one predominant mode / a tight cluster of oarticles. At that point, a closed form approximate filter makes better sense in terms of cpu cost, memory, etc. Save the memory for feature maps and the CPU cost for iterations or at worst a few extra hypotheses on your primary filter.
- galangalalgol 7y agoAs you say, measurements with multimodal error, but also measurements with horribly non linear observation or time models. It has to be pretty bad though, otherwise a UKF would be better.
- credit_guy 7y agoFor those not familiar, UKF = unscented Kalman filter. And by the way, there is no such thing as "scented" KF. The inventor of the UKF, whose name was Jeff Uhlmann, didn't want this method to be called after his name, so he picked a random word in the dictionary. [1] https://en.wikipedia.org/wiki/Unscented_transform https://en.wikipedia.org/wiki/Unscented_transform
- jvanderbot 7y agoUKF is, in my mind, a principled version of the particle filter. Its a really clean way of operating and I cant emphasize enough the power of explicitly conditioning on decision variables, i.e. multi hypothesis formulations of UKF, EKF, or even Batch filters, all of which require orders of magnitude less CPU / mem. (e.g. I'm not sure about this echo or that, so I'll propegate explicitly conditioned on those unknowns two reasonable hypotheses that are effectively unimodal rather than sampling the entire posterior probability space). The exponential set of probabilities then allows you to take action to remove hypotheses or trim by weight. And, this is only required when you encounter huge uncertainties nonlinearities or multimodalities, so it is explicitly adaptive to the situation. I've never seen a sampling or reweighting strategy that provides a decent job of this. PF is throwing CPU and memory at the problem, and it does reasonably well but for anything Ive worked on or dug into, the CPU and Memory is alwayd better used elsewhere in the system.
- galangalalgol 7y agoAgreed, by using PF you are throwing your hands up and admitting you have no idea how to model your observations. If you can correctly model any aspect of the problem that will be both better performing and more efficient. I use PF to help me figure out a distribution mostly. Even UKF is usually overkill for me. Anything less than 2n+1 sigma points gets beat by a 1st order ekf.
- Symmetry 7y agoThey work pretty well if you've got a robot navigating indoors via lidar versus a map. We used one for the QC Bot which made it to production. Also, an economist I dated for a bit used particle filter in her research.
- isatty 7y agoIt’s definitely a high cost implementation but it’s worked well as a brute force solution for multiple non linear measurements like multiple cameras + sonar etc.
- jvanderbot 7y agoMH EKF has worked much better for range, bearing, and visual association in TRL 9 applications I've worked on.