PyDPF: A Python Package for Differentiable Particle Filtering
Not on the map. Why?
Abstract (arXiv)
State-space models (SSMs) are a widely used tool in time series analysis. In the complex systems that arise from real-world data, it is common to employ particle filtering (PF), an efficient Monte Carlo method for estimating the hidden state corresponding to a sequence of observations. Applying particle filtering requires specifying both the parametric form and the parameters of the system, which are often unknown and must be estimated. Gradient-based optimisation techniques cannot be applied directly to standard particle filters, as the filters themselves are not differentiable. However, several recently proposed methods modify the resampling step to make particle filtering differentiable. In this paper, we present an implementation of several such differentiable particle filters (DPFs) with a unified API built on the popular PyTorch framework. Our implementation makes these algorithms easily accessible to a broader research community and facilitates straightforward comparison between them. We validate our framework by reproducing experiments from several existing studies and demonstrate how DPFs can be applied to address several common challenges with state space modelling.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 24 of its 56 references that are in the map. First posted on arXiv 29 Oct 2025.
Builds on
24 of 56 references.
References · 24
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
- 2019Monte Carlo Gradient Estimation in Machine Learningcited by 283
- 2015Deep Kalman Filterscited by 166
- 2017Variational Sequential Monte Carlocited by 95
- 2017Filtering Variational Objectivescited by 91
- 2016DeepMind Labcited by 74
- 2017Auto-Encoding Sequential Monte Carlocited by 65
- 2018Particle Filter Networks with Application to Visual Localizationcited by 65
- 2018Differentiable Particle Filters: End-to-End Learning with Algorithmic Priorscited by 59
12 more
- 2021Differentiable Particle Filtering via Entropy-Regularized Optimal Transportcited by 59
- 2014On Particle Methods for Parameter Estimation in State-Space Modelscited by 47
- 2018DiCE: The Infinitely Differentiable Monte-Carlo Estimatorcited by 46
- 2023An overview of differentiable particle filters for data-adaptive sequential Bayesian inferencecited by 23
- 2014Particle Gibbs with Ancestor Samplingcited by 21
- 2021Differentiable Particle Filtering without Modifying the Forward Passcited by 18
- 2024Normalizing Flow-based Differentiable Particle Filterscited by 10
- 2025Learning to be Smooth: An End-to-End Differentiable Particle Smoothercited by 4
- 2015Statistical Inference for Partially Observed Markov Processes via the R Package pompcited by 2
- 2024Differentiable and Stable Long-Range Tracking of Multiple Posterior Modescited by 2
- 2024Revisiting semi-supervised training objectives for differentiable particle filterscited by 2
- 2024Differentiable Interacting Multiple Model Particle Filteringcited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2025Diffusion differentiable resamplingcited by 2
- 2026Efficient Learning of Deep State Space Models via Importance Smoothingcited by 0
- 2026Efficient Learning of Deep State Space Models via Importance Smoothing20 May 2026
- 2025Diffusion differentiable resampling11 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2023Differentiable Bootstrap Particle Filters for Regime-Switching Models
- 2024Regime Learning for Differentiable Particle Filters
- 2023Learning Differentiable Particle Filter on the Fly
- 2025DiffPF: Differentiable Particle Filtering with Generative Sampling via Conditional Diffusion Models
- 2025DnD Filter: Differentiable State Estimation for Dynamic Systems using Diffusion Models
- 2024Learning state and proposal dynamics in state-space models using differentiable particle filters and neural networks
- 2026SURGE: Approximation and Training Free Particle Filter for Diffusion Surrogate
- 2025Adversarial Transform Particle Filters