Abstract
Monocular depth predictors are typically trained on large-scale training sets which are naturally biased w.r.t the distribution of camera poses. As a result, trained predictors fail to make reliable depth predictions for testing examples captured under uncommon camera poses. To address this issue, we propose two novel techniques that exploit the camera pose during training and prediction. First, we introduce a simple perspective-aware data augmentation that synthesizes new training examples with more diverse views by perturbing the existing ones in a geometrically consistent manner. Second, we propose a conditional model that exploits the per-image camera pose as prior knowledge by encoding it as a part of the input. We show that jointly applying the two methods improves depth prediction on images captured under uncommon and even never-before-seen camera poses. We show that our methods improve performance when applied to a range of different predictor architectures. Lastly, we show that explicitly encoding the camera pose distribution improves the generalization performance of a synthetically trained depth predictor when evaluated on real images.
The Problem: Pose Distribution Bias
Monocular depth prediction—estimating 3D structure from a single 2D image—is an inherently under-determined problem. To solve it, deep learning models rely heavily on the statistical priors of their training data. However, most large-scale datasets (like NYUv2 or KITTI) are naturally biased; they consist mostly of images taken from a standard human height with a horizontal camera pitch.
When these models encounter "out-of-distribution" poses—such as a robot looking sharply down at the floor or an AR headset tilted sideways—their performance craters. Standard data augmentation techniques, like random cropping, often exacerbate this by creating images that are geometrically inconsistent with their associated depth maps. The core challenge is making depth predictors robust to the camera's orientation and height, rather than just the scene content.
Proposed Methods
1. Perspective-aware Data Augmentation (PDA)
Standard data augmentation (CDA) usually involves random cropping, which naively copies depth values to new pixel locations. This violates perspective geometry because a cropped image is equivalent to a camera with an off-center principal point. PDA, instead, simulates a physical rotation of the camera. It uses homography to warp the RGB image and recomputes the depth values for every pixel to ensure they are geometrically consistent with the new "virtual" camera pose.
2. Camera Pose Prior (CPP) Encoding
If a model knows the camera's height and tilt, it can better infer the scene's structure. The authors encode the camera's height, pitch, and roll into a 2D "prior map." Instead of feeding the network raw scalars, they create a dense input channel representing the distance from the camera to a virtual infinite floor and ceiling. This provides a spatially-aware signal that the CNN can process alongside RGB data.
Key Results and Insights
The proposed methods were evaluated using the InteriorNet (synthetic) and ScanNet (real-world) datasets. A key finding was that standard cropping introduces a subtle geometric mismatch that hurts training, whereas PDA correctly simulates viewpoint changes. In an ablation study, a "blind" model trained only on CPP maps (without RGB) could still accurately predict the depth of floors and ceilings, proving that camera pose alone carries significant structural information.
On the InteriorNet Uniform test set, adding both PDA and CPP reduced the Absolute Relative Error (Absr) from 0.183 to 0.091—a nearly 50% improvement. These methods are architecture-agnostic, improving state-of-the-art models like DORN and VNL. Furthermore, explicitly encoding pose improves synthetic-to-real generalization; using a predicted camera pose (CPPpred) on real ScanNet images improved the Absr from 0.242 to 0.219.
Conclusion
By explicitly accounting for camera pose through PDA and CPP, depth predictors can disentangle scene geometry from the camera viewpoint. This mitigates the inherent bias in training datasets and leads to significantly more robust depth estimation across a wide variety of real-world camera configurations.
Summary updated