FoundationGeo: Learning Spatial Pixel-Wise Fields for Monocular Metric Geometry

Muxin Liu, Xiaoyang Lyu, Tianhe Ren, Peng Dai, Xiaoshan Wu, Zhiyue Zhang, Jiaqi Zhang, Jiehong Lin, Shaoshuai Shi, Xiaojuan Qi

TL;DR

FoundationGeo is a novel two-stage framework that bridges the gap between relative and metric 3D geometry estimation from a single image. By combining a highly accurate relative depth model with lightweight, pixel-wise scale and ray-direction calibration fields, it corrects spatial scale drift and directional biases. Coupled with a targeted synthetic data engine to resolve camera intrinsic mismatches, FoundationGeo achieves state-of-the-art zero-shot generalization across diverse real-world domains.

What Problem Does This Paper Address?

Monocular depth estimation—predicting 3D structure from a single 2D image—is a foundational challenge in computer vision. Existing approaches generally fall into two categories: relative depth estimation (which captures local shapes and ordering up to an arbitrary scale) and metric depth estimation (which recovers absolute real-world units like meters). While relative depth models generalize incredibly well to unseen environments, metric models often struggle when deployed in the wild.

The authors identify two primary bottlenecks in current relative-to-metric depth transfer methods:

  1. Spatial and Directional Biases: Prior methods typically apply a single global scale factor to convert relative depth maps into metric ones. However, scale misalignment actually varies across different regions of an image (spatial scale drift), and errors in the assumed camera geometry introduce ray-direction biases that cause severe 3D inconsistencies.
  2. Camera Intrinsic Mismatch: Monocular metric prediction is fundamentally coupled with camera intrinsics, particularly focal length. When a model is trained on datasets with limited camera models, it internalizes a biased implicit focal prior, causing performance to tank when encountering unseen optics.
Observations on the relative-to-metric gap under point-map supervision. Scale misalignment varies spatially, and ray-direction bias induces 3D inconsistency.

Methods

FoundationGeo tackles these challenges using a decoupled, two-stage framework:

  • Stage 1: Upgrading the Relative Base Model. The authors train a high-fidelity, affine-invariant geometry model. Initialized with a DINOv3 ViT encoder, it leverages multi-scale feature fusion and complementary local-detail supervision (such as surface-normal consistency and edge losses) to produce sharp boundaries and robust structural layouts.
  • Stage 2: Learning Spatial Fields for Metric Geometry. Instead of a global scale factor, Stage 2 introduces two lightweight, pixel-wise calibration fields:
  • Pixel-wise Scale Field ($\hat{\mathbf{S}}$): Predicts locally adaptive scaling factors to handle spatially varying scale drift.
  • Ray-Direction Correction Field ($\hat{\Delta}$): Parameterizes a bounded angular perturbation along a locally constructed tangent basis, refining the unit ray directions to ensure global 3D consistency without altering the predicted ranges.

To stabilize training, the authors introduce decoupled, field-specific losses (like a closed-form target scale loss derived via least-squares) alongside the original relative geometry loss acting as a structural regularizer.

Overview of the FoundationGeo two-stage framework. Stage 1 learns relative geometry, and Stage 2 lifts it to metric space using pixel-wise scale and ray-direction fields.

Additionally, to fix the camera intrinsic bottleneck, the authors build a Blender-based data engine to synthetically render images across a diverse, continuous distribution of focal lengths, filling the gaps found in standard training sets.

Datasets

  • Training Corpus: A massive, curated multi-domain corpus of 10.2 million images spanning 19 datasets (including Argoverse2, ARKitScenes, Taskonomy, Waymo, Hypersim, and TartanAir) covering indoor, outdoor, driving, and synthetic scenes.
  • FoundationGeo Dataset (New): A targeted synthetic dataset consisting of 23,700 frames across 7 diverse indoor and outdoor scenes, specifically rendered with varying focal lengths to improve camera-model diversity.
  • Evaluation Benchmarks: Zero-shot evaluation was performed on 8 diverse datasets excluded from training: NYUv2, KITTI, ETH3D, iBims-1, Sintel, DDAD, DIODE, and HAMMER.

Key Insights and Ideas

  • Local Scale Alignment is Essential: As scale alignment shifts from coarse image-level patches to fine pixel-level adjustments, the absolute relative error (AbsRel) drops monotonically. This proves that a single global scale factor is fundamentally insufficient for complex scenes.
  • Ray Angles Matter Just as Much as Depth: Even if the depth scale is perfectly aligned, residual directional errors in the point map create distorted 3D reconstructions. Explicitly correcting the ray angles is an orthogonal and necessary step for true 3D consistency.
  • Data Diversity Beats Explicit Modeling: Rather than explicitly feeding camera intrinsics into the network or forcing the model to predict focal lengths (which can be fragile), expanding focal length coverage in the training data allows the network to implicitly and robustly learn the image-depth-camera coupling.

Key Results

FoundationGeo achieves state-of-the-art performance across multiple zero-shot benchmarks without requiring ground-truth camera intrinsics at inference:

  • Metric Accuracy: It delivers the most balanced overall metric depth performance, outperforming heavier baselines by over 5.2% on average, improving the average AbsRel from 15.7% to 14.8% and boosting the inlier ratio ($\delta_1$) to 80.8%.
  • Robustness to Domain Shifts: While competing models experience sharp performance drops on specific out-of-distribution datasets (e.g., UniDepth on ETH3D or MoGe-2 on KITTI), FoundationGeo remains consistently competitive across both driving and object-centric domains.
  • Boundary Sharpness: The Stage 1 base model achieves top-tier results in boundary sharpness (Boundary F1), producing cleaner geometric transitions than models operating at higher native resolutions.
Qualitative metric point-map results on outdoor driving and indoor scenes, demonstrating consistent metric accuracy and sharp details.

Limitations and Future Work

Despite its strong performance, the authors note several areas for improvement:

  • Intrinsics Beyond Focal Length: The current data intervention focuses primarily on focal length diversity. It does not yet fully account for variations in principal points, aspect ratios, sensor sizes, or lens distortions.
  • Calibration Field Capacity: Because the spatial calibration fields are designed to be lightweight modules on top of a frozen or lightly fine-tuned backbone, their correction capacity may saturate under extreme out-of-distribution camera shifts or severe appearance degradations.
  • Synthetic Scale: The newly introduced FoundationGeo dataset is relatively modest in scene scale (7 scenes). Automating the data engine to generate broader scene coverage and more complex trajectory layouts is an open avenue for future work.

Summary updated

BibTeX
@misc{liu2026foundationgeo,
  author = {Muxin Liu and Xiaoyang Lyu and Tianhe Ren and Peng Dai and Xiaoshan Wu and Zhiyue Zhang and Jiaqi Zhang and Jiehong Lin and Shaoshuai Shi and Xiaojuan Qi},
  title = {{FoundationGeo: Learning Spatial Pixel-Wise Fields for Monocular Metric Geometry}},
  year = {2026},
  eprint = {2607.11588},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.11588},
}
Figure