mlsanityData to 7 Oct 2026

From Variance to Veracity: Unbundling and Mitigating Gradient Variance in Differentiable Bundle Adjustment Layers

arXiv 2406.07785 ↗First posted 12 Jun 2024cs.CV cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Various pose estimation and tracking problems in robotics can be decomposed into a correspondence estimation problem (often computed using a deep network) followed by a weighted least squares optimization problem to solve for the poses. Recent work has shown that coupling the two problems by iteratively refining one conditioned on the other's output yields SOTA results across domains. However, training these models has proved challenging, requiring a litany of tricks to stabilize and speed up training. In this work, we take the visual odometry problem as an example and identify three plausible causes: (1) flow loss interference, (2) linearization errors in the bundle adjustment (BA) layer, and (3) dependence of weight gradients on the BA residual. We show how these issues result in noisy and higher variance gradients, potentially leading to a slow down in training and instabilities. We then propose a simple, yet effective solution to reduce the gradient variance by using the weights predicted by the network in the inner optimization loop to weight the correspondence objective in the training problem. This helps the training objective `focus' on the more important points, thereby reducing the variance and mitigating the influence of outliers. We show that the resulting method leads to faster training and can be more flexibly trained in varying training setups without sacrificing performance. In particular we show 2--2.5× training speedups over a baseline visual odometry model we modify.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 47 of its 62 references that are in the map. First posted on arXiv 12 Jun 2024.

Builds on

47 of 62 references.

References · 47

  1. 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,437
  2. 2017SuperPoint: Self-Supervised Interest Point Detection and Descriptioncited by 1,313
  3. 2015ORB-SLAM: a Versatile and Accurate Monocular SLAM Systemcited by 983
  4. 2020ORB-SLAM3: An Accurate Open-Source Library for Visual, Visual-Inertial and Multi-Map SLAMcited by 862
  5. 2017Unsupervised Learning of Depth and Ego-Motion from Videocited by 778
  6. 2021DROID-SLAM: Deep Visual SLAM for Monocular, Stereo, and RGB-D Camerascited by 673
  7. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
  8. 2020TartanAir: A Dataset to Push the Limits of Visual SLAMcited by 494
  9. 2016Direct Sparse Odometrycited by 479
  10. 2019Differentiable Convex Optimization Layerscited by 458
  11. 2016Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Agecited by 405
  12. 2020CosyPose: Consistent multi-view multi-object 6D pose estimationcited by 287
35 more
  1. 2017Learned Primal-dual Reconstructioncited by 251
  2. 2017A General and Adaptive Robust Loss Functioncited by 236
  3. 2017BB8: A Scalable, Accurate, Robust to Partial Occlusion Method for Predicting the 3D Poses of Challenging Objects without Using Depthcited by 225
  4. 2019Pix2Pose: Pixel-Wise Coordinate Regression of Objects for 6D Pose Estimationcited by 218
  5. 2020D3VO: Deep Depth, Deep Pose and Deep Uncertainty for Monocular Visual Odometrycited by 206
  6. 2016DeMoN: Depth and Motion Network for Learning Monocular Stereocited by 200
  7. 2022Deep Patch Visual Odometrycited by 186
  8. 2021DC3: A learning method for optimization with hard constraintscited by 181
  9. 2018Differentiable MPC for End-to-end Planning and Controlcited by 178
  10. 2017DeepVO: Towards End-to-End Visual Odometry with Deep Recurrent Convolutional Neural Networkscited by 173
  11. 2018BA-Net: Dense Bundle Adjustment Networkcited by 173
  12. 2017CNN-SLAM: Real-time dense monocular SLAM with learned depth predictioncited by 152
  13. 2017Solving ill-posed inverse problems using iterative deep neural networkscited by 145
  14. 2020DeepFactors: Real-Time Probabilistic Dense Monocular SLAMcited by 117
  15. 2020TartanVO: A Generalizable Learning-based VOcited by 107
  16. 2018DeepTAM: Deep Tracking and Mappingcited by 87
  17. 2021JFB: Jacobian-Free Backpropagation for Implicit Networkscited by 84
  18. 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 83
  19. 2021Gradients are Not All You Needcited by 82
  20. 2019End-to-End Learnable Geometric Vision by Backpropagating PnP Optimizationcited by 65
  21. 2022Theseus: A Library for Differentiable Nonlinear Optimizationcited by 64
  22. 2021RePOSE: Fast 6D Object Pose Refinement via Deep Texture Renderingcited by 63
  23. 2022Coupled Iterative Refinement for 6D Multi-Object Pose Estimationcited by 48
  24. 2021TANDEM: Tracking and Dense Mapping in Real-time using Deep Multi-view Stereocited by 39
  25. 2020A Survey on Deep Learning for Localization and Mapping: Towards the Age of Spatial Machine Intelligencecited by 35
  26. 2021Deep Learning on Monocular Object Pose Detection and Tracking: A Comprehensive Overviewcited by 31
  27. 2019Differentiable Gaussian Process Motion Planningcited by 27
  28. 2019gradSLAM: Automagically differentiable SLAMcited by 27
  29. 2022Rethinking Optimization with Differentiable Simulation from a Global Perspectivecited by 21
  30. 2021VOLDOR: Visual Odometry from Log-logistic Dense Optical flow Residualscited by 17
  31. 2023Learning Correspondence Uncertainty via Differentiable Nonlinear Least Squarescited by 14
  32. 2020Adaptive Robust Kernels for Non-Linear Least Squares Problemscited by 13
  33. 2021Radar Odometry Combining Probabilistic Estimation and Unsupervised Feature Learningcited by 10
  34. 2023Simultaneous Learning of Contact and Continuous Dynamicscited by 8
  35. 2022CALIPSO: A Differentiable Solver for Trajectory Optimization with Conic and Complementarity Constraintscited by 6

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.