How Far Can I Go ? : A Self-Supervised Approach for Deterministic Video Depth Forecasting

Sauradip Nag, Nisarg A. Shah, Anran Qi, Raghavendra RamachandraarXiv 2022

Abstract

In this paper we present a novel self-supervised method to anticipate the depth estimate for a future, unobserved real-world urban scene. This work is the first to explore self-supervised learning for estimation of monocular depth of future unobserved frames of a video. Existing works rely on a large number of annotated samples to generate the probabilistic prediction of depth for unseen frames. However, this makes it unrealistic due to its requirement for large amount of annotated depth samples of video. In addition, the probabilistic nature of the case, where one past can have multiple future outcomes often leads to incorrect depth estimates. Unlike previous methods, we model the depth estimation of the unobserved frame as a view-synthesis problem, which treats the depth estimate of the unseen video frame as an auxiliary task while synthesizing back the views using learned pose. This approach is not only cost effective - we do not use any ground truth depth for training (hence practical) but also deterministic (a sequence of past frames map to an immediate future). To address this task we first develop a novel depth forecasting network DeFNet which estimates depth of unobserved future by forecasting latent features. Second, we develop a channel-attention based pose estimation network that estimates the pose of the unobserved frame. Using this learned pose, estimated depth map is reconstructed back into the image domain, thus forming a self-supervised solution. Our proposed approach shows significant improvements in Abs Rel metric compared to state-of-the-art alternatives on both short and mid-term forecasting setting, benchmarked on KITTI and Cityscapes.

Introduction

Predicting the distance to objects in a video is a fundamental task in computer vision, particularly for autonomous navigation. While standard monocular depth estimation focuses on current frames, depth forecasting aims to predict the geometry of a scene before it is observed. For an autonomous vehicle, knowing the depth of a scene 0.5 seconds into the future can be the critical factor in collision avoidance.

Overview of depth forecasting approaches and the proposed self-supervised framework.

Traditional approaches to this problem face two major hurdles:

  1. Data Scarcity: Supervised models require massive amounts of ground-truth depth data (e.g., from LiDAR), which is expensive and difficult to scale.
  2. Stochasticity: Many existing models are probabilistic, attempting to account for multiple future outcomes, which often results in blurry or inconsistent depth maps.

This work introduces DeFNet, a deterministic and self-supervised framework that learns to forecast depth by predicting latent features and utilizing a view-synthesis training objective.

Methodology

The proposed system consists of two primary components: a Depth Forecasting Network (DeFNet) and a Pose Estimation Network, integrated into a self-supervised training pipeline.

DeFNet: Latent Feature Forecasting

Rather than predicting future pixels directly—a task prone to artifacts—DeFNet forecasts features in the latent space.

  • Feature Encoding: The network extracts multi-scale pyramidal features from a sequence of past RGB frames ($V_{1:t}$) and optical flow frames ($M_{1:t}$).
  • Forecasting Module: It employs ConvGRUs for RGB features and ConvLSTMs for motion features to "evolve" these representations into the future ($t+k$).
  • Fusion and Refinement: Forecasted RGB and flow features are fused to handle complex dynamics like occlusions and moving objects.
The DeFNet architecture and self-supervised training pipeline using view reconstruction.

Self-Supervised Training via View Synthesis

To eliminate the need for ground-truth labels, the model treats depth forecasting as an auxiliary task within a view-synthesis framework. During training, the network predicts the depth of a future frame ($I_{t+k}$) and the camera's ego-motion (pose). A Pose Channel Attention Block (PCAB) is introduced to focus on salient features during significant camera movement. The predicted depth and pose are used to reconstruct the future frame from source views. The photometric difference between the reconstructed and actual future frame serves as the supervision signal.

Experimental Results

The model was benchmarked on the KITTI and Cityscapes datasets, representing standard and complex urban environments respectively.

  • Performance: DeFNet outperformed both unsupervised and several supervised state-of-the-art methods. On KITTI, it achieved a 1–5% improvement in the Absolute Relative (Abs Rel) error metric. On the more dynamic Cityscapes dataset, the improvement was approximately 8%.
  • Efficiency: The model operates at 13 FPS on a consumer-grade GPU (RTX 2080-Ti), demonstrating potential for real-time deployment in autonomous systems.
  • Ablation Studies: Results confirmed that fusing optical flow with RGB features and using the PCAB module significantly contribute to the model's accuracy.

Conclusion and Future Work

This research presents the first self-supervised approach for deterministic video depth forecasting. By moving from pixel-level to feature-level forecasting and leveraging view synthesis, the method provides a cost-effective and robust solution for anticipating future scene geometry.

However, limitations remain. The model's performance can degrade under unstable camera motion or drastic changes in lighting (e.g., entering tunnels), as the view-synthesis loss assumes photometric consistency. Future work will focus on making the architecture invariant to illumination changes and more robust to irregular camera trajectories.

Code is available at https://github.com/sauradip/depthForecasting

Summary updated

BibTeX
@misc{nag2022how,
  author = {Sauradip Nag and Nisarg A. Shah and Anran Qi and Raghavendra Ramachandra},
  title = {{How Far Can I Go ? : A Self-Supervised Approach for Deterministic Video Depth Forecasting}},
  year = {2022},
  eprint = {2207.00506},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.00506},
}
Figure