DiffPF: Differentiable Particle Filtering with Generative Sampling via Conditional Diffusion Models
Ziyu Wan, Lin Zhao
TL;DR
DiffPF addresses state estimation in nonlinear, high-dimensional, and multimodal dynamics by introducing a conditional diffusion model that learns a flexible posterior sampler conditioned on predicted particles and current observations. It replaces traditional importance weighting and resampling with a diffusion-based update that yields equally weighted samples drawn from $p(\bm{x}_t \mid \bm{\c}_t)$, enabling fully differentiable end-to-end training. Across synthetic and real-world benchmarks, including highly multimodal global localization and KITTI visual odometry, DiffPF outperforms state-of-the-art differentiable filters, often with far fewer particles. The approach demonstrates that conditional diffusion samplers can produce high-quality posterior representations in complex filtering tasks, with practical implications for robotics and perception.
Abstract
This paper proposes DiffPF, a differentiable particle filter that leverages diffusion models for state estimation in dynamic systems. Unlike conventional differentiable particle filters, which require importance weighting and typically rely on predefined or low-capacity proposal distributions. DiffPF learns a flexible posterior sampler by conditioning a diffusion model on predicted particles and the current observation. This enables accurate, equally-weighted sampling from complex, high-dimensional, and multimodal filtering distributions. We evaluate DiffPF across a range of scenarios, including both unimodal and highly multimodal distributions, and test it on simulated as well as real-world tasks, where it consistently outperforms existing filtering baselines. In particular, DiffPF achieves an 82.8% improvement in estimation accuracy on a highly multimodal global localization benchmark, and a 26% improvement on the real-world KITTI visual odometry benchmark, compared to state-of-the-art differentiable filters. To the best of our knowledge, DiffPF is the first method to integrate conditional diffusion models into particle filtering, enabling high-quality posterior sampling that produces more informative particles and significantly improves state estimation.
