Toward Practical Monocular Indoor Depth Estimation

Cho-Ying Wu, Jialiang Wang, Michael Hall, Ulrich Neumann, Shuochen Su

Abstract

DistDepth is a new framework that brings high-quality, real-time monocular depth estimation to complex indoor environments. By distilling structural knowledge from an off-the-shelf relative depth estimator into a self-supervised metric depth network, the authors achieve state-of-the-art results on indoor scenes without requiring ground-truth depth labels for training.

Introduction

While self-supervised monocular depth estimation has seen massive success in autonomous driving, it historically fails in indoor settings. Driving scenes benefit from strong structure priors (e.g., sky at the top, road at the bottom). In contrast, indoor scenes are chaotic: furniture is cluttered, objects appear at arbitrary distances, and camera movement is far more erratic.

Furthermore, indoor environments are replete with untextured surfaces like plain white walls. Standard self-supervised methods rely on photometric consistency—matching pixels between views—which breaks down when a wall looks identical from different angles. DistDepth aims to bridge this gap, making indoor depth sensing practical for AR/VR applications.

Methodology: The DistDepth Framework

The core of DistDepth is a "Teacher-Student" distillation strategy designed to transfer structural intelligence into a metric-aware network.

  1. The Expert (Teacher): The framework utilizes the Dense Prediction Transformer (DPT), a model trained on massive "in-the-wild" datasets. DPT excels at understanding scene structure (relative depth) but is metric-agnostic.
  2. The Student (DepthNet): An efficient ResNet-based model learns metric depth (actual distances) using self-supervised left-right consistency from stereo image pairs.
  3. Structure Distillation: The student is forced to match the expert's structural understanding through two novel losses:
  4. Statistical Loss: Employs SSIM (Structural Similarity) on depth maps to ensure the student captures the overall layout.
  5. Spatial Refinement Loss: Uses Sobel filters to identify "occluding boundaries" and a Hamming distance loss to align the student’s depth edges with the expert’s.
The DistDepth framework: Distilling structural knowledge from an expert relative depth model (DPT) into a student metric depth network (DepthNet).

By distilling a large transformer into a smaller ResNet, the authors achieve a significant speedup, enabling real-time performance (35+ FPS) suitable for interactive applications.

Datasets and Sim-to-Real Generalization

To address the lack of indoor stereo data, the paper introduces two significant datasets:

  • SimSIN: A massive simulation dataset created using the Habitat simulator, containing 500,000 stereo pairs from roughly 1,000 environments (Replica, MP3D, and HM3D).
  • UniSIN: A real-world dataset consisting of 200,000 stereo images captured in diverse university buildings.
Overview of zero-shot cross-dataset inference and sim-to-real performance. Models trained on the SimSIN simulation dataset generalize effectively to real-world scenes.

A key finding is that models trained solely on the simulated SimSIN dataset perform nearly as well as those trained on real data, suggesting that structural variety in simulation is more critical than perfect visual realism for indoor depth tasks.

Key Results and Insights

  • Accuracy: On the Virtual Apartment (VA) dataset, DistDepth reduced the Mean Absolute Error (MAE) by 14.2% compared to previous state-of-the-art methods like MonoDepth2.
  • Zero-Shot Generalization: The simulation-trained model generalized remarkably well to real-world benchmarks like NYUv2 without fine-tuning.
  • Robustness: By focusing on depth-domain structures (edges and distributions) rather than just pixel colors, the model is significantly more robust to the "white wall" problem.
  • Efficiency: The distilled ResNet-152 model runs at 35+ FPS on a laptop GPU, compared to the 8-11 FPS of the DPT expert.

Conclusion and Future Work

While DistDepth represents a significant step forward, limitations remain. Currently, the model operates per-frame, which can lead to temporal flickering; integrating video-based learning is a logical next step. Additionally, reflective surfaces like mirrors continue to pose challenges, as they can trick the model into perceiving "fake" depth. Future refinements will also focus on capturing very thin or complex structures more accurately.

Summary updated

BibTeX
@inproceedings{wu2022toward,
  author = {Cho-Ying Wu and Jialiang Wang and Michael Hall and Ulrich Neumann and Shuochen Su},
  title = {{Toward Practical Monocular Indoor Depth Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.00379},
}
Figure