Differentiable Kalman Filter (DKF for visual tracking/control)
A convolutional network feeding a Kalman filter, trained end to end to estimate state from raw image sequences.
Reinforcement learning and control · 1,384 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 49.4K
- Operations
- 1,384
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- NIPS 2016
- Cited by
- 132 (as of 30 October 2026)
- Authors
- Tuomas Haarnoja, Anurag Ajay, Sergey Levine, Pieter Abbeel
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16127
- Graph hash
- faf0ede0f3197067a8eb11cb65bbc5eb890d47233876f40b8be7eb60e3adb01e
- Skeleton hash
- 48ead388501a19f57f2e6011ab40b2014fb10dad635aaacfed501eec6f4e49f8
- Architecture hash
- 01757180ba92ae3ca658aa6b2af44c3b11148b409ca01af8f6fbaa593d783613
- Diagram SHA-256
- 9adc19126f089bb7b04f85a508d0d854917296a426eb422ed231a5852191d249
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Backprop KF (BKF) is a state estimator that joins a Kalman filter to a convolutional neural network in a single computation graph. The paper starts from a limitation of generative filters: they handle rich observations such as camera images poorly because they must model the entire distribution over sensor readings. Its answer is to treat the estimator as a deterministic computation graph and optimize it end to end with backpropagation, which makes the model a type of recurrent neural network.
The convolutional network reduces each image to a low-dimensional observation for the filter and also outputs an observation covariance matrix. Because the network is trained together with the filter, it can use that covariance to communicate how uncertain it is about each observation.
The paper evaluates on a synthetic task of tracking a red disk through clutter and severe occlusion, and on visual odometry in the KITTI dataset. On the tracking task it reports that the BKF outperforms both the standard Kalman-filter estimators and the LSTM estimators. It also reports that the BKF has far fewer parameters than the LSTM models, since its transitions are simple Kalman filter updates.
Key idea. Backprop KF recasts a discriminative state estimator as a deterministic computation graph, so a Kalman filter and a convolutional observation network train together by backpropagation.
- Backprop KF
- BKF
- Differentiable Kalman Filter
- DKF
- backprop Kalman filter
- state estimation
- visual tracking
- visual odometry
- discriminative state estimator
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{haarnoja2017backpropkflearningdiscriminative,
title={Backprop KF: Learning Discriminative Deterministic State Estimators},
author={Tuomas Haarnoja and Anurag Ajay and Sergey Levine and Pieter Abbeel},
year={2017},
eprint={1605.07148},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1605.07148},
}