Deep Probabilistic Feature-Metric Tracking

Binbin Xu, Andrew J. Davison, Stefan Leutenegger

TL;DR

This paper introduces a framework for dense RGB-D tracking that replaces raw pixel intensities with learned deep features and, crucially, pixel-wise uncertainty maps. By unrolling a coarse-to-fine Gauss-Newton optimization into a differentiable neural network, the system learns to ignore "untrustworthy" regions (like reflections or shadows) and can recover from large motions that typically cause traditional dense trackers to fail.

What Problem Does This Paper Address?

Dense image alignment—the process of finding the relative pose between two camera frames by looking at all pixels—is a cornerstone of visual SLAM and object tracking. Traditionally, this relies on the "brightness constancy" assumption: the idea that a point in the world looks the same from two different angles.

In the real world, this assumption breaks constantly due to:

  1. Lighting changes and reflections: A desk might look matte from one angle and shiny from another.
  2. Large motions: If the camera moves too far between frames, the local optimization gets stuck in a "local minimum" (it finds a wrong alignment that looks somewhat okay locally).

While sparse methods (using keypoints) are more robust to these issues, they throw away a lot of useful image data. The authors aim to create a dense tracker that has the robustness of sparse methods by learning what features to track and how much to trust them.

Methods

The authors propose a multi-stage pipeline that combines deep learning with classical optimization:

  • Deep Feature & Uncertainty Maps: A Convolutional Neural Network (CNN) processes a pair of RGB-D images to produce an 8-dimensional feature map and a 1-dimensional uncertainty map for each pixel.
  • Probabilistic Residual: Instead of minimizing the difference in color, the system minimizes a "feature-metric" residual. This residual is weighted by the predicted uncertainty; if the network is unsure about a pixel (e.g., it's part of a specular reflection), that pixel's contribution to the pose estimation is downweighted.
  • Differentiable Gauss-Newton Optimization: The authors "unroll" the iterative Gauss-Newton optimization steps. Because the optimization is differentiable, the network can be trained end-to-end. This forces the network to learn features that specifically result in a "smooth" cost landscape, making it easier for the optimizer to find the global minimum.
  • Pose Initialization Network: To handle wide baselines (large movements), a small sub-network predicts a rough initial pose. This "initial guess" places the optimization within the correct convergence basin, preventing it from getting lost.
  • Hybrid ICP Integration: Because the framework is probabilistic, it can easily incorporate other data. The authors show that adding a geometric Iterative Closest Point (ICP) residual further improves accuracy.

Datasets

The model was evaluated on two primary benchmarks:

  1. TUM RGB-D SLAM Dataset: A standard benchmark for indoor camera tracking.
  2. MovingObjects3D Dataset: Used to test the framework's ability to track 3D rigid objects moving independently in a scene.

The authors specifically tested "wide baseline" scenarios by subsampling frames at intervals (e.g., comparing frame 1 to frame 9), which significantly increases the difficulty of the tracking task.

Key Insights and Ideas

  • Uncertainty is a First-Class Citizen: The "aha moment" here is that the network shouldn't just try to produce consistent features; it should actively identify areas where it cannot be consistent. The uncertainty map (visualized in the paper as red areas) successfully flags pens, reflections, and complex textures that would otherwise throw off the tracker.
  • Optimization-Aware Learning: By training through the unrolled optimization, the features aren't just "good descriptors"—they are mathematically optimized to work with the Gauss-Newton algorithm.
  • Initial Guesses Matter: Traditional trackers often start with an "identity" pose (assuming no motion). By using a pose network for the initial guess, the system can handle motions that are far beyond the reach of standard local search methods.

Key Results

  • State-of-the-Art Performance: The full model (Features + Uncertainty + Pose Init) significantly outperformed previous methods like DeepIC, especially in wide-baseline settings.
  • Robustness to Lighting: Qualitative results show the tracker succeeding while a flashlight is waved in front of the camera—a scenario that typically causes photometric trackers to fail immediately.
  • Efficiency: Despite the complexity, the system runs in approximately 7.29ms per frame pair on a GTX 1080, making it suitable for real-time robotics applications.
  • Ablation Success: Removing the uncertainty map or the pose initialization led to a significant drop in accuracy, proving that the probabilistic weighting is a critical component of the system's success.

Limitations and Future Work

  • Frame-to-Frame Only: The current implementation is a "two-frame" tracker. It doesn't maintain a global map or perform "loop closure" (recognizing a place it has been before to correct long-term drift).
  • Isotropic Uncertainty: The authors assumed uncertainty is the same in all directions for a given feature dimension to save on computation. Exploring anisotropic uncertainty could potentially yield even higher precision.
  • Integration: The authors suggest that the next logical step is integrating this robust two-frame tracker into a full, large-scale dense SLAM system.

Summary updated

BibTeX
@article{xu2021deep,
  author = {Binbin Xu and Andrew J. Davison and Stefan Leutenegger},
  title = {{Deep Probabilistic Feature-Metric Tracking}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2021},
  doi = {10.1109/lra.2020.3039216},
}
Figure