Revisiting semi-supervised training objectives for differentiable particle filters

Jiaxi Li, John-Joseph Brady, Xiongjie Chen, Yunpeng LiOpenReview 2024 · DOI

Abstract: Differentiable particle filters combine the flexibility of neural networks with the probabilistic nature of sequential Monte Carlo methods. However, traditional approaches rely on the availability of labelled data, i.e., the ground truth latent state information, which is often difficult to obtain in real-world applications. This paper compares the effectiveness of two semi-supervised training objectives for differentiable particle filters. We present results in two simulated environments where labelled data are scarce.

Introduction

Differentiable particle filters (DPFs) represent a powerful fusion of neural networks and sequential Monte Carlo methods, enabling the learning of complex state estimation models directly from data. However, a significant hurdle in their practical application is the requirement for ground truth latent state labels during training. In many real-world scenarios, such as robotic navigation or signal processing, while raw sensor observations are abundant, precise state labels are expensive or impossible to obtain. This research investigates whether semi-supervised learning objectives can mitigate this dependency on labeled data.

Methodology

The study evaluates two primary semi-supervised training objectives: the Evidence Lower Bound (ELBO) and Pseudo-likelihood (PL). Both approaches augment a standard supervised loss (Mean Squared Error on available labels) with an unsupervised component:

  1. ELBO (Evidence Lower Bound): Derived from variational inference, this objective maximizes the likelihood of observed data, encouraging the model to explain sensor readings without explicit state knowledge.
  2. Pseudo-likelihood (PL): This method estimates local transition and observation likelihoods within data blocks, previously considered a promising candidate for semi-supervised DPFs.
  3. Baseline: A standard DPF trained solely on the limited labeled data using MSE.

The researchers implemented these objectives using Normalizing Flow-based DPFs, which offer the flexibility needed to model complex, non-Gaussian probability distributions.

Experimental Setup

The objectives were tested in two distinct simulated environments:

  • Multivariate Linear Gaussian Model: A 10-dimensional synthetic environment used to establish baseline performance under ideal, controlled conditions.
  • Simulated Maze Environment: A complex task requiring a robot to navigate using RGB image observations ($24 \times 24$ or $32 \times 32$). The dataset comprises 2,000 trajectories, each 100 time-steps long.

Key Insights

The experiments revealed critical nuances in semi-supervised training for DPFs:

  • The "1% Threshold": In the linear Gaussian model, the ELBO objective provided a substantial performance boost when labeled data was extremely scarce (0.1% to 1%). Beyond this 1% threshold, the benefits of the unsupervised objective diminished rapidly.
  • Pseudo-likelihood Ineffectiveness: Surprisingly, the PL loss contributed negligible performance gains. The authors suggest that previous successes attributed to PL might have actually resulted from other architectural choices, such as the use of autoencoders.
  • Identifiability Challenges: Highly flexible models like Normalizing Flows can be "non-identifiable" in purely unsupervised settings. Without sufficient labels to anchor the model, the neural network may find explanations for observations that do not correspond to the true physical state.

Results

In the linear Gaussian experiments, the ELBO-based approach demonstrated superior performance in low-label regimes.

Performance comparison in the linear Gaussian model. (a) RMSE vs. Epoch shows faster convergence for ELBO. (b) RMSE vs. Percentage of labelled data highlights the benefit at very low label percentages.

As shown in Figure 4, the ELBO-based method (SDPF-ELBO) converges significantly faster and achieves a lower Root Mean Squared Error (RMSE) than both the PL-based method and the supervised baseline when labels are scarce. However, this advantage is less pronounced in the more complex maze environment.

Performance comparison in the maze environment. (a) RMSE vs. Epoch. (b) RMSE vs. Percentage of labelled data. The performance gap between methods is significantly reduced compared to the linear model.

In the maze environment (Figure 1), the performance gap between the different objectives was much smaller. The researchers noted that architectural choices, specifically using an autoencoder to pre-process visual data, had a more significant impact on performance than the choice of semi-supervised loss function. Furthermore, cross-validation for the PL objective often resulted in an optimal weighting near zero, indicating its minimal contribution to the final model performance.

Conclusion

While the ELBO objective shows promise for training DPFs with extremely limited labeled data in simple models, its benefits are harder to realize in high-dimensional visual environments. The findings also cast doubt on the effectiveness of Pseudo-likelihood for this task. Future research should focus on developing more robust unsupervised objectives capable of handling the complexity of real-world sensor data and addressing the identifiability issues inherent in flexible neural state-space models.

Summary updated

BibTeX
@misc{li2024revisiting,
  author = {Jiaxi Li and John-Joseph Brady and Xiongjie Chen and Yunpeng Li},
  title = {{Revisiting semi-supervised training objectives for differentiable particle filters}},
  year = {2024},
  eprint = {2405.01251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.01251},
  howpublished = {OpenReview},
}
Figure