# Diff-Kalman: Difference-Driven Learning for Structure-Preserving Kalman Filtering

*Jia Gao, Xianglei Xing, yang qing, Tianshuo Zhang, Wenzhe Zhai*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150096) · [Open on the map](../papers.html#p150096)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Bayesian Filtering and Tracking](../pgroup/139.md) · Type: new method · Keywords: Kalman filtering, state estimation, difference-driven learning, Transformer, GRU scaling predictor

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Dynamic and relational architectures › Dynamical Systems Learning

## Summary
Diff-Kalman introduces a difference-driven learning approach that corrects prediction and update phases of Kalman filters using Transformer and GRU-based scaling predictors, improving estimation accuracy on MOT and Lorenz dynamics.

## Explained to a 5-year-old
Imagine you have a toy car moving around and you want to know where it will be next. Traditional ways use simple math rules to predict its position, but they can be wrong when the car moves in complicated ways. Some newer methods try to learn from past movements, but they sometimes become unstable and hard to train. The paper proposes a new idea that looks at the differences between where the car was and where it is now. It uses a special kind of brain network that pays attention to past positions to guess future steps.

## Explained to a 5-year-old, longer
Imagine you have a toy car moving around and you want to know where it will be next. Traditional ways use simple math rules to predict its position, but they can be wrong when the car moves in complicated ways. Some newer methods try to learn from past movements, but they sometimes become unstable and hard to train. The paper proposes a new idea that looks at the differences between where the car was and where it is now. It uses a special kind of brain network that pays attention to past positions to guess future steps. This guess is then combined with the old math rules to keep the prediction reliable. For updating the confidence of the prediction, another small network watches the errors and adjusts how sure we are. The combined method works better on tracking moving objects and on chaotic systems like weather models. Experiments show it beats older methods in accuracy. This approach could help robots, self-driving cars, and other systems that need to know where things are in real time.

## For a technical reader
The paper addresses the instability and convergence issues of end-to-end Kalman parameter prediction by incorporating prior dynamics. It uses state differences to forecast increments via a Transformer with self- and cross-attention, then fuses these with model-based priors. A GRU-based scaling predictor adjusts covariance and gain matrices based on residuals during the update step. This hybrid approach improves estimation accuracy on linear multi-object tracking and nonlinear Lorenz system benchmarks. The method can be integrated into existing filtering pipelines to enhance robustness without redesigning the underlying model.

## Problem
Existing Kalman filter methods either ignore prior modeling when optimizing the posterior or predict high-dimensional Kalman parameters end-to-end, leading to unstable training and reduced state estimation accuracy.

## Method
The approach leverages state differences to predict state increments and scaling matrices, using a Transformer with self- and cross-attention to capture historical patterns and fuse them with model-based priors for prediction, and a GRU-based scaling predictor to adjust covariance and gain matrices based on differential residuals during update.

## Results
The approach achieves higher estimation accuracy than baseline methods on both linear MOT trajectories and nonlinear Lorenz dynamics.

## Contributions
It introduces a difference-driven learning framework that jointly corrects prediction and update phases using attention-based increment prediction and a GRU scaling predictor, improving stability and accuracy for Kalman filtering.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150096)
