Differentiable Interacting Multiple Model Particle Filtering

John-Joseph Brady, Yuhui Luo, Wenwu Wang, Víctor Elvira, Yunpeng Li

TL;DR

This paper introduces the Differentiable Interacting Multiple Model Particle Filter (DIMMPF), a novel algorithm that allows for end-to-end learning of complex dynamic systems with changing behaviors (regimes). By combining differentiable particle filtering with an interacting multiple model approach, the DIMMPF can learn both the individual behavioral patterns and the rules governing transitions between them, outperforming existing methods in accuracy.

What Problem Does This Paper Address?

Many real-world systems, such as financial markets or tracking systems, exhibit sudden shifts in their behavior. These shifts are often modeled as "regime-switching" systems, where the system operates in one of several distinct modes or regimes. Accurately estimating the system's state and learning the parameters of these complex models, especially when the number of regimes is large or the switching dynamics are unknown, is a significant challenge. Traditional particle filters struggle with learning these unknown switching dynamics and can suffer from computational inefficiency or parameter estimation biases. This paper aims to bridge this gap by developing a particle filter that is not only capable of handling regime switching but is also fully differentiable, enabling gradient-based learning of all model components, including the unknown switching mechanism.

Methods

The core contribution is the Differentiable Interacting Multiple Model Particle Filter (DIMMPF). It builds upon the Interacting Multiple Model Particle Filter (IMMPF) framework but makes it end-to-end differentiable. Key methodological aspects include:

  • Differentiable Particle Filtering (DPF): The algorithm is designed to allow gradients to flow through the entire filtering process, enabling gradient-based parameter learning. This is crucial for learning complex models, especially those parameterized by neural networks.
  • Interacting Multiple Model (IMM) Approach: The DIMMPF integrates multiple models (representing different regimes) and allows them to interact, improving the efficiency and accuracy of state estimation.
  • Learning Unknown Switching Dynamics: Unlike previous methods that assumed the switching mechanism was known, the DIMMPF uses neural networks to parameterize and learn the "switching dynamic" (how the system transitions between regimes) from data.
  • Novel Gradient Estimator: The paper proposes a new gradient estimator with lower variance than existing approaches, which is proven to be consistent. This estimator is crucial for effective parameter learning.
  • Rao-Blackwellisation: To improve gradient estimation, the authors incorporate a partial Rao-Blackwellisation technique, which reduces variance by analytically marginalizing out certain variables.

Datasets

The paper evaluates the DIMMPF on simulated data generated from three distinct switching dynamics:

  • Markov Switching System: A standard model where regime transitions follow a Markov chain.
  • Pólya-urn Distribution: A setting with more frequent switching, where regimes become more likely over time.
  • Erlang Distributed Switching: A more complex dynamic designed to test the algorithm's ability to learn both short-term and long-term dependencies.

No real-world datasets are used for evaluation in this paper.

Key Insights and Ideas

  • End-to-End Learning for Regime Switching: The DIMMPF is the first DPF approach that can learn both the individual regime models and the unknown switching dynamics simultaneously. This is a significant step towards learning complex, non-stationary systems.
  • Gradient Consistency is Crucial: The paper emphasizes the importance of consistent gradient estimators for reliable parameter learning. Their novel estimator is theoretically proven to be consistent, which is a key advantage.
  • Rao-Blackwellisation Improves Gradients: Applying partial Rao-Blackwellisation to the gradient estimation process significantly reduces variance, leading to more stable and accurate learning.
  • Learning Switching Dynamics is Hard but Possible: The Erlang-distributed switching dynamic, chosen for its complexity, demonstrates the DIMMPF's capability to learn challenging, non-Markovian transition patterns.

Key Results

  • State-of-the-Art Accuracy: The DIMMPF consistently achieved the lowest mean squared filtering error across all three simulated environments (Markov, Pólya, and Erlang), outperforming baseline methods like Transformers, LSTMs, and the previous state-of-the-art RLPF.
  • Competitive Inference Speed: While training the DIMMPF can be computationally intensive, its inference speed is comparable to other differentiable particle filter approaches.
  • Consistent Gradient Estimates: Theoretical proofs demonstrate that the DIMMPF provides consistent estimators for both filtering means and their gradients.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Parameterizing the Proposal Process: The current DIMMPF learns model parameters but not an efficient proposal process, which is crucial for particle filter performance. Future work could focus on learning an efficient proposal.
  • Known Number of Regimes: The algorithm requires the number of regimes ($N_{reg}$) to be known a priori. Determining the optimal number of regimes automatically is an open problem.
  • More Complex Environments: Extending the DIMMPF to more challenging, real-world environments and exploring more advanced architectures (e.g., attention mechanisms) for parameterizing the switching dynamic are suggested.
  • Computational Cost: While inference is competitive, training can be expensive. Further optimizations for training efficiency might be explored.

Summary updated

BibTeX
@article{brady2024differentiable,
  author = {John-Joseph Brady and Yuhui Luo and Wenwu Wang and Víctor Elvira and Yunpeng Li},
  title = {{Differentiable Interacting Multiple Model Particle Filtering}},
  journal = {Signal Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=dCCrTIbM0x},
}
Figure