From Variance to Veracity: Unbundling and Mitigating Gradient Variance in Differentiable Bundle Adjustment Layers
Swaminathan Gurumurthy, Karnik Ram, Bingqing Chen, Zachary Manchester, Zico Kolter
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Deep Patch Visual Odometry 引用了 DROID-SLAM: Deep Visual SLAM for Monocular, Stereo, and RGB-D Cameras
- MambaVO: Deep Visual Odometry Based on Sequential Matching Refinement and Training Smoothing 引用了 DROID-SLAM: Deep Visual SLAM for Monocular, Stereo, and RGB-D Cameras
- MambaVO: Deep Visual Odometry Based on Sequential Matching Refinement and Training Smoothing 引用了 Deep Patch Visual Odometry
- MambaVO: Deep Visual Odometry Based on Sequential Matching Refinement and Training Smoothing 引用了 Theseus: A Library for Differentiable Nonlinear Optimization
- Theseus: A Library for Differentiable Nonlinear Optimization 引用了 DROID-SLAM: Deep Visual SLAM for Monocular, Stereo, and RGB-D Cameras
- Leveraging Consistent Spatio-Temporal Correspondence for Robust Visual Odometry 引用了 DROID-SLAM: Deep Visual SLAM for Monocular, Stereo, and RGB-D Cameras
- Leveraging Consistent Spatio-Temporal Correspondence for Robust Visual Odometry 引用了 Deep Patch Visual Odometry
引用它的顶会 Paper2
- Leveraging Consistent Spatio-Temporal Correspondence for Robust Visual OdometryZhaoxing Zhang, Junda Cheng, Gangwei Xu, Xiaoxiang Wang 等AAAI 2025 · 9 次引用
- MambaVO: Deep Visual Odometry Based on Sequential Matching Refinement and Training SmoothingShuo Wang, Wanting Li, Yongcai Wang, Zhaoxin Fan 等CVPR 2025
它引用的 Paper14
- DROID-SLAM: Deep Visual SLAM for Monocular, Stereo, and RGB-D CamerasZachary Teed, Jia DengNeurIPS 2021 · 1,248 次引用
- Pix2Pose: Pixel-Wise Coordinate Regression of Objects for 6D Pose EstimationKiru Park, Timothy Patten, Markus VinczeICCV 2019 · 527 次引用
- Deep Patch Visual OdometryZachary Teed, Lahav Lipson, Jia DengNeurIPS 2023 · 323 次引用
- Do Differentiable Simulators Give Better Policy Gradients?Hyung Ju Terry Suh, Max Simchowitz, Kaiqing Zhang, Russ TedrakeICML 2022 · 129 次引用
- Theseus: A Library for Differentiable Nonlinear OptimizationLuis Pineda, Taosha Fan, Maurizio Monge, Shobha Venkataraman 等NeurIPS 2022 · 124 次引用
相关 Paper
- Generalizing to the Open World: Deep Visual Odometry With Online AdaptationShunkai Li, Xin Wu, Yingdian Cao, Hongbin ZhaCVPR 2021
- RNNPose: Recurrent 6-DoF Object Pose Refinement with Robust Correspondence Field Estimation and Pose OptimizationYan Xu, Kwan-Yee Lin, Guofeng Zhang, Xiaogang Wang 等CVPR 2022 · 82 次引用
- Learning to Bundle-adjust: A Graph Network Approach to Faster Optimization of Bundle Adjustment for Vehicular SLAMTetsuya Tanaka, Yukihiro Sasagawa, Takayuki OkataniICCV 2021 · 9 次引用
- DeepLM: Large-Scale Nonlinear Least Squares on Deep Learning Frameworks Using Stochastic Domain DecompositionJingwei Huang, Shan Huang, Mingwei SunCVPR 2021
- Learning to Optimize Non-Rigid TrackingYang Li, Aljaz Bozic, Tianwei Zhang, Yanli Ji 等CVPR 2020
