Moving Indoor: Unsupervised Video Depth Learning in Challenging Environments

Junsheng Zhou, Yuwang Wang, Kaihuai Qin, Wenjun Zeng

Abstract

Unsupervised depth estimation has achieved remarkable success in outdoor driving scenarios, yet it frequently fails in indoor environments. This failure is primarily due to the prevalence of textureless regions and complex handheld camera motions. This paper introduces a novel framework that utilizes a Sparse-to-Dense Flow Network (SF-Net) to provide explicit motion supervision. By propagating motion information from reliable feature points into textureless areas, the system overcomes the limitations of traditional photometric loss, achieving the first competitive unsupervised results on major indoor benchmarks like NYU Depth V2.

The Challenge of Indoor Environments

While models trained on datasets like KITTI excel at predicting depth from video, they often "collapse" when applied indoors, predicting a flat, constant depth for entire scenes. The authors identify two fundamental obstacles:

  1. Non-texture Regions: Indoor spaces are dominated by white walls and smooth surfaces. Unsupervised models typically rely on photometric loss—comparing pixel intensities between frames. In featureless areas, this signal becomes nearly zero, providing no guidance for the network.
  2. Complex Ego-motion: Unlike the relatively stable forward motion of a vehicle, handheld cameras involve significant tilting, panning, and rotation. Pure rotation, in particular, makes it mathematically impossible to infer depth, yet it is common in indoor video sequences.

Methodological Innovation: SF-Net and Flow-Based Supervision

To address these issues, the researchers propose a "teacher-student" training paradigm that moves away from simple image-to-image matching.

Comparison between the standard unsupervised pipeline (a) and the proposed flow-based supervision framework (b).

SF-Net (The Teacher)

The core of the framework is the Sparse-to-Dense Flow Network (SF-Net). It begins by identifying reliable "seeds"—distinct points like corners or edges—using traditional algorithms. It then employs a Convolutional Spatial Propagation Network (CSPN) to iteratively spread motion information from these seeds into the surrounding textureless regions. This creates a dense optical flow map that serves as a robust supervisory signal.

Flow-Based Supervision and Robust Pose Estimation

Instead of the DepthNet attempting to guess depth from raw pixels, it is trained to match the "rigid flow" (motion derived from 3D structure) to the dense optical flow produced by SF-Net. Furthermore, the PoseNet is modified to take optical flow as input rather than RGB images. This "pre-digests" the geometric information, making the estimation of 6-Degree-of-Freedom (6DoF) motion significantly more robust to complex handheld movements.

Experimental Results

The proposed method was evaluated on the NYU Depth V2, Scannet, and KITTI datasets.

Visualization of the dense optical flow generated by SF-Net after 400K iterations, providing a complete motion map for supervision.

On the NYU Depth V2 benchmark, the method achieved an Absolute Relative Error (Abs Rel) of 0.208, a dramatic improvement over previous unsupervised baselines which typically hovered around 0.331 due to model collapse. These results are the first for a purely unsupervised method to be comparable to supervised approaches in indoor settings. Additionally, the model demonstrated strong generalization by performing competitively on the outdoor KITTI dataset, proving its robustness across diverse environments.

Conclusion and Future Work

By bridging the gap in textureless regions through motion propagation, this framework unlocks the potential for unsupervised depth learning in the complex "great indoors." While the system currently relies on the initial detection of feature seeds, future work will focus on improving boundary sharpness in the generated flow maps and handling environments with even more extreme sparsity of features.

Summary updated

BibTeX
@inproceedings{zhou2019moving,
  author = {Junsheng Zhou and Yuwang Wang and Kaihuai Qin and Wenjun Zeng},
  title = {{Moving Indoor: Unsupervised Video Depth Learning in Challenging Environments}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00871},
}
Figure