Towards Scale-Aware, Robust, and Generalizable Unsupervised Monocular Depth Estimation by Integrating IMU Motion Dynamics

Sen Zhang, Jing Zhang, Dacheng Tao

Abstract

Unsupervised monocular depth estimation has emerged as a cost-effective alternative to LiDAR-based systems, yet it remains plagued by two fundamental issues: the lack of absolute metric scale and a lack of robustness in dynamic or poorly lit environments. This paper introduces DynaDepth, a novel framework that integrates Inertial Measurement Unit (IMU) motion dynamics into the unsupervised learning pipeline. By employing a differentiable, camera-centric Extended Kalman Filter (EKF), DynaDepth recovers true metric scale and maintains high performance even when visual cues are unreliable. Experimental results on the KITTI and Make3D datasets demonstrate that DynaDepth achieves near-perfect scaling (1.013) and superior generalization compared to existing state-of-the-art methods.

Introduction

Predicting 3D depth from a single 2D image is a critical capability for autonomous navigation. While unsupervised methods—which learn by reconstructing video frames through "backwarping"—eliminate the need for expensive ground-truth data, they suffer from inherent scale ambiguity. Mathematically, a camera moving a short distance past a small object produces the same visual change as a camera moving a large distance past a massive structure. Consequently, most unsupervised models are only "up-to-scale," requiring external ground-truth data to normalize their predictions for real-world use.

Furthermore, these models typically rely on the "static world" assumption. When this assumption is violated by moving objects (like other vehicles) or inconsistent lighting, the depth predictions often collapse. DynaDepth addresses these limitations by treating the IMU as a source of absolute physical truth, anchoring the visual learning process in real-world units.

Methodology

The core of DynaDepth is the integration of IMU data as a geometric constraint during the training process. The framework consists of several key components designed to bridge the gap between high-frequency inertial data and lower-frequency visual data.

1. Differentiable Camera-Centric EKF

The researchers developed a fusion layer based on an Extended Kalman Filter (EKF) that combines visual ego-motion (predicted by a neural network) with IMU motion dynamics. Crucially, this EKF is differentiable, allowing the entire system to be trained end-to-end. The EKF serves as an intelligent weighting mechanism: it estimates the uncertainty of both sensors and relies more heavily on the IMU when visual data is noisy or ambiguous.

2. IMU Preintegration

To reconcile the difference in sampling rates—where IMUs typically operate at 100Hz and cameras at 10Hz—DynaDepth utilizes IMU preintegration. This technique summarizes multiple inertial records into a single motion constraint between consecutive image frames, significantly reducing the computational overhead during training.

3. Novel Loss Functions

DynaDepth introduces two primary losses to enforce scale and consistency:

  • IMU Photometric Loss: This loss uses the motion derived from the IMU to supervise the depth network. By forcing the network to reconstruct frames based on physical acceleration and velocity, the model is compelled to output depth in meters.
  • Cross-Sensor Photometric Consistency Loss: This loss compares the scene reconstruction generated by the vision network against the reconstruction generated by the IMU. Discrepancies between the two help the model identify and ignore "noise," such as moving objects that would otherwise confuse a purely visual system.

4. Auxiliary State Estimation

Because initial velocity and gravity directions are unknown in short, random video clips, DynaDepth employs two lightweight auxiliary networks ($M_v$ and $M_g$) to estimate these parameters during the training phase, ensuring the EKF has the necessary starting context.

Experimental Results

Metric Scale Recovery

On the KITTI benchmark, DynaDepth achieved a scaling ratio of 1.013 (where 1.0 represents perfect metric alignment). In contrast, traditional unsupervised methods like Monodepth2 fail to provide a consistent scale and require "median scaling" using ground-truth data to be evaluated. DynaDepth maintains high accuracy even when this manual scaling is removed.

Generalization and Robustness

To test the model's ability to generalize, the researchers evaluated the KITTI-trained model on the Make3D dataset without any fine-tuning. DynaDepth significantly outperformed previous methods, suggesting that the integration of IMU data helps the network learn fundamental geometric principles rather than just overfitting to specific camera parameters.

In simulations involving extreme lighting fluctuations and highly dynamic scenes, DynaDepth remained stable. While standard models saw their error rates spike due to visual artifacts, the EKF-based fusion allowed DynaDepth to lean on inertial data to maintain accurate depth and motion estimates.

Conclusion and Future Work

DynaDepth represents a significant step toward making unsupervised monocular depth estimation viable for real-world autonomous systems. By anchoring visual learning in the physical reality of IMU dynamics, the framework solves the scale ambiguity problem and enhances robustness.

Future research directions include addressing the potential for the auxiliary networks ($M_v, M_g$) to overfit to specific visual domains and exploring methods to mitigate long-term IMU drift in extended sequences. Additionally, the current framework assumes fixed extrinsic calibration between the camera and IMU, a constraint that future iterations might seek to relax through online self-calibration.

Summary updated

BibTeX
@inproceedings{zhang2022towards,
  author = {Sen Zhang and Jing Zhang and Dacheng Tao},
  title = {{Towards Scale-Aware, Robust, and Generalizable Unsupervised Monocular Depth Estimation by Integrating IMU Motion Dynamics}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19839-7\_9},
}
Figure