A Recursive Newton Method for Smoothing in Nonlinear State Space Models

Fatemeh Yaghoobi, Hany Abdulsamad, Simo Särkkä

TL;DR

This paper introduces a recursive version of Newton’s method for smoothing in nonlinear state-space models. By leveraging automatic differentiation and a clever reformulation of the second-order optimization step into a "pseudo-measurement" framework, the authors achieve the superior convergence of Newton’s method with the computational efficiency of a standard Kalman smoother.

What Problem Does This Paper Address?

In the world of signal processing and robotics, "smoothing" refers to estimating the state of a system (like a robot's position) over a period of time given a batch of noisy measurements. For nonlinear systems, this is often treated as an optimization problem: find the trajectory that maximizes the posterior probability (MAP estimate).

The industry standard is the Iterated Extended Kalman Smoother (IEKS), which is essentially a recursive version of the Gauss-Newton optimization method. While Gauss-Newton works well, it ignores the second-order derivatives (the Hessian) of the system's dynamics and observation functions. A full Newton’s method would use these derivatives to converge faster and more reliably in highly nonlinear scenarios. However, Newton’s method has traditionally been avoided because:

  1. Calculating Hessians manually is a mathematical nightmare.
  2. Standard "batch" Newton solvers scale poorly ($O(N^3)$) with the number of time steps $N$.

Methods

The authors bridge the gap between high-order optimization and recursive filtering through three key contributions:

  1. The Recursive Reformulation: They show that a single iteration of Newton’s method can be mathematically mapped onto a modified affine state-space model. By treating the second-order terms as "pseudo-measurements," they can use the classic Rauch–Tung–Striebel (RTS) smoother to solve the Newton step. This reduces the computational complexity from $O(N^3 d^3)$ to $O(N d^3)$, where $d$ is the state dimension.
  2. Automatic Differentiation (AD): To solve the "manual math" problem, the authors utilize modern AD tools (specifically JAX). This allows the algorithm to compute Jacobians and Hessians of arbitrary nonlinear functions automatically and efficiently.
  3. Robustness Strategies: Newton’s method can be unstable if the initial guess is poor. The authors incorporate two classic optimization safeguards into their recursive structure:
  4. Line-search: Adjusts the step size to ensure the objective function actually decreases.
  5. Trust-region: A Levenberg-Marquardt-style approach that regularizes the update when the local quadratic model isn't reliable.

Datasets

The method was evaluated using a simulated Coordinated Turn Model, a standard benchmark in target tracking.

  • State: A 5-dimensional vector (x-y position, x-y velocity, and turn rate).
  • Measurements: Bearings-only (angular) data from two fixed sensors, which is a highly nonlinear observation process.
  • Trajectory Lengths: The authors tested trajectories ranging from $N=100$ to $N=1500$ time steps to measure how the algorithm scales.

Key Insights and Ideas

  • The "Pseudo-Update" Trick: The most elegant part of the paper is showing that the Hessian information doesn't just disappear in a recursive setting. Instead, it manifests as an additional update step (a "pseudo-update") within the Kalman recursion.
  • Linear Scaling is King: By exploiting the temporal structure of state-space models, the authors prove you don't have to choose between the "smart" steps of Newton’s method and the "fast" execution of recursive filters.
  • Regularization as Noise: In the recursive formulation, the regularization term ($\lambda$) used in optimization can be interpreted as the covariance of the noise in the pseudo-measurement. This provides a nice bridge between optimization theory and probabilistic filtering.

Key Results

  • Computational Efficiency: The recursive Newton method showed a massive speedup over the batch Newton method. As the number of time steps ($N$) increased, the runtime of the batch method grew cubically, while the recursive method grew linearly.
  • Convergence: By using line-search and trust-region methods, the "Newton-IKS" remained robust even in nonlinear scenarios where a standard Newton step might overstep and diverge.
  • Implementation: The authors demonstrated that with JAX, the transition from a mathematical idea to a high-performance implementation is now much shorter, as the library handles the complex derivative chain-ruling.

Limitations and Future Work

  • Additive Gaussian Noise: The current derivation assumes the process and measurement noises are additive and Gaussian. Extending this to non-additive noise or non-Gaussian distributions (like Student-t for outlier robustness) remains an open challenge.
  • Comparison to IEKS: While the paper proves the recursive Newton method is faster than the batch Newton method, it doesn't provide an extensive head-to-head comparison against the standard Gauss-Newton-based IEKS in terms of accuracy or total iterations to convergence.
  • High-Dimensional States: While the method scales linearly with time ($N$), it still scales cubically with the state dimension ($d^3$). For extremely high-dimensional systems (like fluid dynamics), further approximations might be needed.

Summary updated

BibTeX
@inproceedings{yaghoobi2023recursive,
  author = {Fatemeh Yaghoobi and Hany Abdulsamad and Simo Särkkä},
  title = {{A Recursive Newton Method for Smoothing in Nonlinear State Space Models}},
  booktitle = {EUSIPCO},
  year = {2023},
  url = {https://openreview.net/forum?id=9o1_mjsWAg},
}

Loading related content...

Figure