STEADY: Simultaneous State Estimation and Dynamics Learning from Indirect Observations

Jiayi Wei, Jarrett Holtz, Isil Dillig, Joydeep Biswas

TL;DR

STEADY breaks the classic chicken-and-egg dilemma in robotics by simultaneously estimating a robot's state and learning its stochastic kinodynamic model from noisy, indirect observations. By embedding particle filtering within an Expectation-Maximization (EM) loop, it achieves accuracy on par with supervised learning methods that require perfect ground-truth data.

What Problem Does This Paper Address?

To safely navigate complex environments—like a vehicle driving at high speeds through a dense forest—a robot needs an accurate kinodynamic model to predict how its actions affect its state (position, velocity, etc.). While deep learning excels at modeling these complex, non-linear dynamics, it typically requires high-fidelity, labeled ground-truth state trajectories (e.g., from expensive motion-capture systems).

In real-world outdoor deployments, ground truth is rarely available. Instead, we must rely on noisy, indirect observations (like camera images or bearing-only landmark tracking). This creates a circular dependency: to estimate the robot's true state from noisy sensors, you need an accurate dynamics model; but to learn that dynamics model, you need the true states.

Prior approaches often try to solve this sequentially (estimate states using a crude model, then fit a neural network to those estimates) or use complex Stochastic Variational Inference (SVI) networks that struggle when sensor models are highly non-linear.

Methods

STEADY (Simultaneous STate Estimation And DYnamics learning) resolves this predicament using an Expectation-Maximization framework that iteratively refines both state estimates and the underlying neural dynamics model.

The high-level workflow of STEADY.
  • The E-Step (State Estimation): Using the current neural dynamics model and the sensor observations, STEADY runs a forward particle filter to approximate the posterior probability distribution over full trajectories.
  • The M-Step (Dynamics Learning): Instead of optimizing the neural network to full convergence at each iteration (which is computationally prohibitive), STEADY takes a single gradient step via stochastic gradient ascent using the Adam optimizer. The momentum in Adam naturally dampens the Monte Carlo sampling errors introduced by the particle filter.

Key Algorithmic Tweaks

  • Posterior Flattening (Simulated Annealing): Early in training, the neural network's predictions are highly inaccurate. If the particle filter strictly enforces the observation model, the trajectories can prematurely collapse into local minima. To prevent this, the authors introduce an observation weight ($w_{obs}$) that slowly anneals from 0 to 1, flattening the posterior distribution early on to encourage exploration.
  • Network Architecture: The dynamics model is parameterized as a neural network that outputs the mean ($\mu_{\dot{x}}$) and diagonal variance ($\sigma_{\dot{x}}$) of the state derivatives. It incorporates a skip connection to make learning the basic linear components of the physics easier.
Architecture of the dynamics network.

Datasets

The authors evaluated STEADY on three distinct datasets:

  1. Hov: A simulated hovercraft dataset operating on a 2D plane with highly non-linear air resistance.
  2. Hov+: A data-rich variant of the hovercraft dataset containing 10 times more training trajectories.
  3. Truck: A real-world dataset collected from a 1/5-scale RC vehicle (AlphaTruck) exhibiting complex tire-soil interactions and lateral sliding.

For all datasets, observations were generated using a challenging landmark-based, bearing-only sensor model injected with Gaussian noise ($\sigma = 5^\circ$).

Key Insights and Ideas

  • The Danger of Fixed Priors: Sequential methods (like FitHand) lock in the systematic biases of the initial hand-written physics models. For example, if a hand-written model assumes a truck never slides sideways, the state estimator will interpret actual sliding as random sensor noise. STEADY avoids this by allowing the dynamics model to evolve alongside the state estimates.
Posterior velocity visualization of STEADY vs FitHand on the Truck dataset.
  • Annealing is Crucial for Sharp Posteriors: When sensor noise is low, the posterior distribution becomes incredibly sharp. Without the authors' posterior flattening trick (STEADY- in the evaluations), the algorithm performs poorly because particles collapse around incorrect trajectories early in training.
  • Particle Count Sweet Spot: While more particles yield cleaner gradients, they incur linear computational overhead. The authors found that performance eventually converges to the same accuracy regardless of particle count, placing the practical "sweet spot" between 2,000 and 20,000 particles.

Key Results

STEADY consistently outperformed hand-written models, sequential estimation-then-learning baselines (FitHand), and variational inference (SVI) across all metrics.

Forward prediction performance comparisons across different models and datasets.
  • Near-Ground-Truth Performance: On the real-world Truck dataset, STEADY achieved a forward prediction location error of 0.200m, remarkably close to the 0.174m error of FitTruth (the theoretical upper bound trained on perfect ground-truth states).
  • Robustness to Noise: As sensor noise increased up to an extreme $20^\circ$ of bearing error, STEADY's performance degraded gracefully, maintaining a significant lead over alternative learning methods.
Forward prediction error as a function of observation noise.

Limitations and Future Work

While highly effective, STEADY currently assumes that the observation model is known (e.g., the exact locations of the landmarks are given). In many real-world scenarios, robots must map their environments while navigating. The authors note that extending STEADY to handle simultaneous localization, mapping, and dynamics learning (Simultaneous SLAM and Dynamics Learning) is a vital next step. Additionally, they plan to explore symbolic regression to make the learned neural dynamics more interpretable to human engineers.

Summary updated

BibTeX
@inproceedings{wei2022steady,
  author = {Jiayi Wei and Jarrett Holtz and Isil Dillig and Joydeep Biswas},
  title = {{STEADY: Simultaneous State Estimation and Dynamics Learning from Indirect Observations}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2022},
  doi = {10.1109/iros47612.2022.9981279},
}
Figure