Iterative State Estimation in Non-linear Dynamical Systems Using Approximate Expectation Propagation

Sanket Kamthe, So Takao, Shakir Mohamed, Marc Peter DeisenrothTMLR 2022

Abstract

Bayesian inference in non-linear dynamical systems seeks to find good posterior approximations of a latent state given a sequence of observations. Gaussian filters and smoothers, including the (extended/unscented) Kalman filter/smoother, which are commonly used in engineering applications, yield Gaussian posteriors on the latent state. While they are computationally efficient, they are often criticised for their crude approximation of the posterior state distribution. In this paper, we address this criticism by proposing a message passing scheme for iterative state estimation in non-linear dynamical systems, which yields more informative (Gaussian) posteriors on the latent states. Our message passing scheme is based on expectation propagation (EP). We prove that classical Rauch--Tung--Striebel (RTS) smoothers, such as the extended Kalman smoother (EKS) or the unscented Kalman smoother (UKS), are special cases of our message passing scheme. Running the message passing scheme more than once can lead to significant improvements of the classical RTS smoothers, so that more informative state estimates can be obtained. We address potential convergence issues of EP by generalising our state estimation framework to damped updates and the consideration of general $\alpha$-divergences.

Introduction

Estimating the hidden state of a system from noisy, non-linear observations is a fundamental challenge in fields ranging from robotics to climate science. Traditionally, the Extended Kalman Smoother (EKS) and Unscented Kalman Smoother (UKS) have served as the standard "one-pass" solutions. However, these methods often provide crude Gaussian approximations because they cannot revisit and refine estimates after processing the entire dataset. This paper bridges the gap between these classical engineering tools and modern probabilistic inference by framing state estimation as an iterative message-passing problem based on Expectation Propagation (EP).

Methodology: EP as a Generalization of Kalman Smoothing

The core contribution of this work is the development of an iterative message-passing scheme. The authors provide an elegant proof that a single iteration of this approximate EP scheme is mathematically equivalent to classical smoothers like the EKS and UKS. This establishes that EP is not merely an alternative but a powerful generalization of existing Kalman-style smoothing.

Factor graph representations of the dynamical system used for message passing.

By representing the dynamical system as a factor graph, the algorithm performs multiple "sweeps" over the data. Each iteration uses global information to refine the linearization of the system's dynamics. To ensure stability and handle complex posterior shapes, the framework incorporates several key techniques:

  • Damping: Blending new updates with previous ones to prevent oscillations and ensure convergence.
  • Power EP: Minimizing $\alpha$-divergences to allow for "mode-seeking" behavior, which often improves uncertainty coverage in tracking tasks compared to standard mode-averaging.
  • Derivative-Free Updates: Utilizing standard Kalman-style update equations to implement these complex iterations without requiring manual gradient calculations.

Experimental Evaluation

The proposed method was evaluated on three benchmarks: the Uniform Non-linear Growth Model (UNGM), Bearings-only Tracking, and the high-dimensional Lorenz 96 system.

Key Results

The iterative approach demonstrated significant performance gains over traditional one-pass methods. On the 200-dimensional Lorenz 96 model, iterative EP using the Unscented Transform outperformed the standard UKS by two orders of magnitude in terms of Negative Log-Likelihood (NLL).

RMSE and NLL performance over EP iterations compared to UKF and UKS baselines.

As shown in the performance metrics above, while the initial iteration matches the UKS baseline, subsequent EP iterations lead to a marked reduction in both Root Mean Square Error (RMSE) and NLL. The introduction of damping (e.g., $\gamma = 0.9$) was found to be crucial for stabilizing the algorithm in challenging scenarios like the UNGM benchmark, allowing it to converge to superior solutions compared to the one-pass baseline.

Discussion and Future Work

While the iterative EP framework offers substantial accuracy improvements, it comes with increased computational costs, as each iteration is roughly equivalent to a full pass of a Kalman smoother. This trade-off is critical for real-time applications. Furthermore, while EP improves the results of a given linearization method (e.g., Taylor series or Unscented Transform), it remains dependent on the quality of that base method.

Future research directions include optimizing the computational efficiency for real-time robotics and exploring the naturally distributed nature of message-passing for asynchronous sensor networks.

Summary updated

BibTeX
@article{kamthe2022iterative,
  author = {Sanket Kamthe and So Takao and Shakir Mohamed and Marc Peter Deisenroth},
  title = {{Iterative State Estimation in Non-linear Dynamical Systems Using Approximate Expectation Propagation}},
  journal = {Accepted by TMLR},
  year = {2022},
  url = {https://openreview.net/forum?id=xyt4wfdo4J},
}
Figure