Particle-Based Score Estimation for State Space Model Learning in Autonomous Driving

Angad Singh, Omar Makhlouf, Maximilian Igl, Joao Messias, Arnaud Doucet, Shimon Whiteson

Abstract

Multi-object state estimation is a fundamental problem for robotic applications where a robot must interact with other moving objects. Typically, other objects' relevant state features are not directly observable, and must instead be inferred from observations. Particle filtering can perform such inference given approximate transition and observation models. However, these models are often unknown a priori, yielding a difficult parameter estimation problem since observations jointly carry transition and observation noise. In this work, we consider learning maximum-likelihood parameters using particle methods. Recent methods addressing this problem typically differentiate through time in a particle filter, which requires workarounds to the non-differentiable resampling step, that yield biased or high variance gradient estimates. By contrast, we exploit Fisher's identity to obtain a particle-based approximation of the score function (the gradient of the log likelihood) that yields a low variance estimate while only requiring stepwise differentiation through the transition and observation models. We apply our method to real data collected from autonomous vehicles (AVs) and show that it learns better models than existing techniques and is more stable in training, yielding an effective smoother for tracking the trajectories of vehicles around an AV.

Introduction

Safe navigation for autonomous vehicles (AVs) relies heavily on the ability to accurately track nearby road users, such as cars and cyclists. This tracking is typically framed as a state estimation problem within State Space Models (SSMs), which define how an object's state evolves (transition model) and how it is perceived by sensors (observation model). While Particle Filters (PFs) are powerful tools for non-linear state estimation, the underlying transition and observation models are often too complex to hand-code. Learning these models from data via gradient descent is the ideal solution, but it faces a significant mathematical hurdle: the non-differentiable nature of the particle filter's resampling step.

The Differentiability Bottleneck

Standard particle filters involve a discrete resampling step where particles with high weights are replicated and those with low weights are discarded. This process is non-differentiable, making it impossible to propagate gradients through time using standard backpropagation. Previous attempts, such as Differentiable Particle Filters (DPFs), have used "soft" resampling or ignored the resulting bias, but these often lead to high variance, training instability, or excessive computational costs that do not scale to large neural networks.

PF-SEFI: Score Estimation via Fisher’s Identity

To overcome these limitations, researchers from Waymo and DeepMind introduced Particle Filtering-Based Score Estimation using Fisher’s Identity (PF-SEFI). Instead of differentiating through the entire filtering process, PF-SEFI leverages Fisher’s Identity to express the gradient of the log-likelihood (the score function) as an expectation over the smoothing distribution.

This approach offers several key advantages:

  • Avoids Differentiable Resampling: By using Fisher's Identity, the method only needs to differentiate through the transition and observation models themselves, bypassing the non-differentiable resampling logic entirely.
  • Linear Scalability: Unlike previous score-estimation methods that scaled quadratically ($O(N^2)$) with the number of particles, PF-SEFI scales linearly ($O(N)$). This enables the use of efficient Jacobian-vector products in modern auto-diff libraries.
  • Fixed-Lag Smoothing: To maintain stability and prevent path degeneracy—where all particles eventually share a single ancestor—the method employs a fixed-lag approximation, looking back a set number of steps to compute the score.
  • Injective Motion Models: For common robotic models like Ackermann steering, the gradient of the transition density simplifies to the gradient of the driving policy, further streamlining computation.

Experimental Evaluation

The method was evaluated on both synthetic datasets and real-world data from the Waymo Open Dataset. The real-world data comprised nearly 10 hours of urban road-user trajectories, where noisy LiDAR point clouds were processed into 2D convex polygons.

Qualitative tracking results on real-world AV data, showing the filter's ability to smooth noisy observations into coherent trajectories.

Results and Discussion

PF-SEFI demonstrated superior performance and stability compared to existing baselines like PFNET and DPF-SGR. On real-world data, PF-SEFI achieved an Average Displacement Error (ADE) of 0.275 meters, a significant improvement over the 0.643 meters achieved by DPF-SGR.

Training curves showing Marginal Log-Likelihood (MLL) over time. PF-SEFI (orange) converges to the true likelihood in synthetic tests (left) and maintains high stability and performance on real-world data (right).

A particularly insightful finding was that the observation model learned via PF-SEFI through self-supervision outperformed models trained on human-labeled bounding boxes. Human labels often contain subtle biases or noise; by learning directly from the raw sensor stream, PF-SEFI captures the true statistics of sensor noise more accurately. Furthermore, while baseline methods often collapsed on longer sequences (50-60 steps), PF-SEFI remained stable regardless of trajectory length.

Conclusion

PF-SEFI provides a scalable and stable framework for learning the parameters of state space models in complex robotic environments. By bypassing the need for differentiable resampling and achieving $O(N)$ complexity, it enables the training of expressive neural network models for high-fidelity multi-object tracking in autonomous driving. Future work will explore extending this method to 3D poses and incorporating multi-agent interactions.

Summary updated

BibTeX
@inproceedings{singh2022particle,
  author = {Angad Singh and Omar Makhlouf and Maximilian Igl and Joao Messias and Arnaud Doucet and Shimon Whiteson},
  title = {{Particle-Based Score Estimation for State Space Model Learning in Autonomous Driving}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=7JVNhaMbZUu},
}
Figure