TL;DR
This paper introduces a two-stage framework that reconstructs accurate 3D scene shapes from a single image by decoupling depth prediction from geometric refinement. By leveraging a point cloud neural network to estimate unknown depth shifts and camera focal lengths, the method achieves state-of-the-art zero-shot generalization across diverse "in-the-wild" datasets.
What Problem Does This Paper Address?
Monocular depth estimation (MDE)—predicting depth from a single 2D image—is a classic "ill-posed" problem. While deep learning has made huge strides, two major hurdles remain:
- Generalization: Models trained on specific datasets (like NYU or KITTI) often fail on diverse, real-world images because metric depth data is hard to collect at scale.
- Geometric Distortion: To improve generalization, many researchers train on "relative depth" datasets (e.g., web stereo videos). However, these models produce affine-invariant depth, meaning the depth is correct only up to an unknown scale and shift.
While an unknown scale just makes the scene bigger or smaller, an unknown depth shift and focal length cause catastrophic geometric distortions. As shown in the figure below, walls that should be flat appear curved or cambered, and the angles between surfaces become warped.
Methods
The authors propose a two-stage pipeline that separates the "what" (depth map) from the "how" (geometric parameters).
Stage 1: Monocular Depth Prediction Module (DPM)
The DPM is a convolutional network trained on a massive mix of high-quality LiDAR, medium-quality stereo, and low-quality web data. To handle this variety, the authors introduced two novel losses:
- Image-level Normalized Regression (ILNR) Loss: A robust normalization scheme (using tanh and trimmed Z-scores) that brings depth maps from different sources into a comparable numerical range, preventing outliers from dominating training.
- Pair-wise Normal (PWN) Loss: This loss enforces geometric constraints by sampling pairs of points on edges and planes, ensuring that predicted surface normals match the ground truth.
Stage 2: Point Cloud Module (PCM)
Instead of trying to guess camera parameters from a 2D image, the authors unproject the predicted depth into a 3D point cloud using an initial guess for the focal length. They then feed this (distorted) point cloud into a Point Cloud Network (based on the PVCNN architecture).
The PCM is trained to recognize the "signature" of distortions. For example, it learns that a specific type of curvature in a point cloud implies a specific depth shift. By predicting a shift adjustment ($\Delta_d$) and a focal length scaling factor ($\alpha_f$), the network "straightens" the 3D scene.
Datasets
The model was trained on a heterogeneous mix:
- High-quality: Taskonomy (LiDAR) and 3D Ken Burns (synthetic).
- Medium-quality: DIML (calibrated stereo).
- Low-quality: Holopix50K and HRWSI (web stereo).
Evaluation was performed on 10 unseen datasets to test zero-shot generalization, including NYU, KITTI, ETH3D, DIODE, and ScanNet.
Key Insights and Ideas
- The Point Cloud Advantage: The authors observed that the "domain gap" (the difference between training and testing data) is much smaller for 3D point clouds than for 2D images. A 3D corner looks like a 3D corner regardless of whether it was captured by a high-end LiDAR or a web camera.
- Decoupled Training: Because the PCM operates on point clouds derived from depth maps, it doesn't need paired "RGB-Point Cloud" data. It can be trained purely on synthetic 3D data or laser scans, then applied to depth maps predicted from real-world images.
- Visual Cues for Distortion: The paper provides a great intuition for why these errors happen. As illustrated in Figure 3, an incorrect shift makes flat planes look like they are bowing (camber), while an incorrect focal length changes the perceived angle between two walls.
Key Results
- Zero-Shot SOTA: The method achieved state-of-the-art results on nearly all test datasets without any fine-tuning.
- Shift Recovery: On the ETH3D dataset, recovering the shift reduced the Absolute Relative Error (AbsRel) from 23.7 to 15.9.
- Geometric Fidelity: Qualitative results show that the method produces much flatter walls and sharper edges compared to previous leaders like MiDaS, which often suffer from the "camber" effect.
Limitations and Future Work
- Featureless Scenes: The PCM relies on geometric cues. If an image is mostly a blank wall or empty sky, the network struggles to find enough structure to estimate the shift or focal length.
- Uncommon Angles: The model's accuracy decreases for extreme camera angles (e.g., top-down views) or extreme focal lengths that weren't well-represented in the training data.
- Radial Distortion: The current model assumes a perfect pinhole camera and does not account for lens distortion (like fish-eye effects), which the authors suggest as a promising future research direction.
- Semantic Ambiguity: The DPM can still be fooled by "3D paintings" or cartoons, where the visual cues contradict real-world physics.
Summary updated