PLNet: Plane and Line Priors for Unsupervised Indoor Depth Estimation

Hualie Jiang, Laiyan Ding, Junjie Hu, Rui Huang

Unsupervised monocular depth estimation has achieved significant success in outdoor driving scenarios, where predictable motion and rich textures provide strong signals for training. However, indoor environments remain a major challenge. Indoor scenes are often dominated by large, textureless surfaces like white walls and ceilings, which cause standard "photometric consistency" methods to fail. Additionally, handheld camera motion in indoor videos is often shaky and unpredictable compared to vehicle-mounted cameras.

PLNet addresses these issues by leveraging the inherent geometric regularity of man-made environments. By enforcing "plane and line" priors through robust consistency losses, it overcomes the limitations of pixel-matching in featureless regions, significantly closing the performance gap with supervised models.

Geometric Priors as Supervision

The core innovation of PLNet is moving beyond simple pixel-matching to "teach" the model that indoor scenes are fundamentally composed of flat planes and straight lines. The authors introduce three key technical innovations to the standard unsupervised pipeline:

  1. Planar Representation & Smoothness: Instead of predicting depth or disparity directly, the model's "DepthNet" predicts local plane coefficients. Since these coefficients remain constant across a flat surface regardless of the viewing angle, applying a smoothness loss to them is far more effective for recovering sharp, planar structures than traditional depth-based smoothness.
  2. Planar Consistency Loss ($L_{pc}$): The model identifies "pseudo-planes" using superpixel segmentation. Inspired by RANSAC, the authors randomly sample sets of four points within these regions. They calculate the volume of the parallelepiped formed by these points in 3D space; for truly coplanar points, this volume should be zero. This approach is computationally efficient and robust to outliers, such as small objects positioned in front of a wall.
  3. Linear Consistency Loss ($L_{lc}$): Similarly, the model detects 2D line segments in the image and enforces that any three points sampled from a 2D line must form a straight line in 3D space (meaning the area of the triangle they form should be zero).
Visualization of the pseudo-planes and line segments extracted from indoor scenes to guide the geometric consistency losses.

To quantitatively measure the success of these priors, the authors also proposed new evaluation metrics based on Principal Component Analysis (PCA) to assess the "flatness" and "straightness" of the reconstructed 3D point clouds.

Key Results and Generalization

PLNet achieves state-of-the-art performance on the NYU Depth V2 benchmark, significantly outperforming previous unsupervised methods like Monodepth2 and P2Net. It reduces the performance gap between unsupervised and supervised models by over one-third.

Qualitative comparison of 3D reconstructions. PLNet produces significantly flatter and more accurate planar structures compared to other unsupervised methods.

Beyond raw accuracy, PLNet demonstrates superior generalization. When trained on NYU and tested on the ScanNet dataset without fine-tuning, PLNet actually outperformed supervised models. This suggests that learning the fundamental "rules of geometry" generalizes better to new environments than learning specific visual features from a labeled dataset. Qualitatively, visualizations show that PLNet produces much sharper object boundaries and perfectly flat walls compared to the noisy or over-smoothed results of earlier models.

Limitations and Future Work

While highly effective, the method relies on initial superpixel segmentation to identify pseudo-planes. Errors in this segmentation—such as grouping a foreground chair with a background wall—can introduce errors into the consistency loss. Furthermore, while planes and lines dominate indoor architecture, they do not account for curved objects like pillows or vases. Future research may explore more complex structural relationships, such as the "Manhattan World" assumption, which posits that walls are typically orthogonal to floors and parallel to each other.

Summary updated

Abstract

Unsupervised learning of depth from indoor monocular videos is challenging as the artificial environment contains many textureless regions. Fortunately, the indoor scenes are full of specific structures, such as planes and lines, which should help guide unsupervised depth learning. This paper proposes PLNet that leverages the plane and line priors to enhance the depth estimation. We first represent the scene geometry using local planar coefficients and impose the smoothness constraint on the representation. Moreover, we enforce the planar and linear consistency by randomly selecting some sets of points that are probably coplanar or collinear to construct simple and effective consistency losses. To verify the proposed method’s effectiveness, we further propose to evaluate the flatness and straightness of the predicted point cloud on the reliable planar and linear regions. The regularity of these regions indicates quality indoor reconstruction. Experiments on NYU Depth V2 and ScanNet show that PLNet outperforms existing methods. The code is available at https://github.com/HalleyJiang/PLNet.
BibTeX
@inproceedings{jiang2021plnet,
  author = {Hualie Jiang and Laiyan Ding and Junjie Hu and Rui Huang},
  title = {{PLNet: Plane and Line Priors for Unsupervised Indoor Depth Estimation}},
  booktitle = {3DV},
  year = {2021},
  url = {https://openreview.net/forum?id=mnj_shP4dt},
}
Figure