G2I: Transitioning a Generalized Monocular Depth Estimation Model to In-Domain Metric Depth Prediction

Chao Ning, Naoto YokoyaCVPR 2026 Findings 2026

TL;DR

G2I (Generalized to In-domain) is a novel fine-tuning framework that transitions generalized monocular depth estimation (MDE) models into highly accurate, domain-specific metric depth predictors. By combining a dual-branch "rough-plus-bias" architecture with a smart multi-source supervision strategy, G2I achieves state-of-the-art in-domain accuracy while surprisingly improving zero-shot generalization to unseen datasets.

What Problem Does This Paper Address?

Monocular depth estimation (MDE)—predicting 3D depth from a single 2D image—faces a classic machine learning dilemma. Modern "generalized" MDE models are trained on massive, diverse datasets containing millions of images. While they generalize incredibly well to new environments, they often struggle to output precise metric depth (exact meters) required for robotics or 3D reconstruction.

Conversely, training a model purely "in-domain" (on a single dataset like KITTI) yields accurate metric depth for that specific camera setup but overfits heavily and fails completely on unlabeled regions. Real-world ground truth (GT) depth maps from LiDAR or Kinect are notoriously sparse and full of holes.

Standard fine-tuning strategies usually wipe out the generalized model's valuable cross-domain priors or introduce long-distance depth inconsistencies. G2I solves this by gracefully transitioning a generalized model to a target domain without losing its broad foundational knowledge.

Figure 1. The rationale for in-domain finetuning of a generalized MDE model. Left: A generalized MDE model trained on mixed datasets covers a broader depth range (blue GT) but struggles to capture metric variations within an individual scene. Conversely, an in- domain MDE model trained on a single dataset is constrained by a limited depth range and fails to predict unlabeled depth values. Right: In-domain finetuning combines broader priors from generalized training with target-domain metric supervision.

Methods

G2I introduces a simple yet effective adaptation framework consisting of two main components: a dual-branch architecture and label-dependent supervision.

1. Coarse-to-Fine Architecture

Instead of fine-tuning the entire generalized network uniformly, G2I splits the task into two branches:

  • Rough Depth Branch: It locks in the encoder of a pretrained generalized model (like Metric3Dv2) to extract low-resolution, global depth features. This branch uses cross-attention and a logistic regression paradigm to ensure stable, continuous depth estimation over large regions (e.g., walls or long roads).
  • Fine-Grained Depth Bias Branch: A separate ConvNeXt-L image-depth decoder takes the rough features, fuses them with high-resolution image details, and predicts a depth bias. This branch uses an inverse depth regression paradigm to sharpen local structures and object boundaries.

The final output is simply the sum of the rough depth and the fine-grained bias.

2. Multi-Source Supervision

To combat sparse and missing ground truth data, G2I uses a joint loss function that leverages both true GT labels and dense "pseudo-labels" generated by the frozen generalized model. To prevent noisy pseudo-labels from corrupting the training, the authors use a scale-invariant loss with a soft scaling factor ($\gamma = 10$) and a lower confidence weight ($0.5$) for the pseudo-labels, while keeping strict supervision ($\gamma = 1$) for the high-quality GT.

Figure 2. The overview of G2I. G2I utilizes the encoder of the generalized MDE model to extract rough depth features, paired with an image-depth decoder to obtain detailed depth bias. It performs in-domain finetuning using different regression paradigms (Eq. 4 and Eq. 6) and employs distinct supervisory settings for different labels.

Datasets

The authors evaluated G2I across several standard benchmarks:

  • In-Domain Fine-Tuning & Evaluation: NYU-Depth-V2 (indoor) and KITTI (outdoor).
  • Zero-Shot Evaluation (Unseen Domains): DIODE (indoor/outdoor), iBIMS-1, SUN RGB-D, and ETH3D.

Key Insights and Ideas

  • Preserving vs. Destroying Priors: Traditional fine-tuning often causes a model to overfit to a specific scene type, ruining its zero-shot capabilities. G2I demonstrates that by separating global structure from local detail, fine-tuning can actually enhance generalization performance.
  • The Power of Pseudo-Labels: Dense pseudo-labels from generalized models are excellent for filling in the "blind spots" (unlabeled pixels) of sparse sensors like LiDAR, preventing the model from outputting catastrophic artifacts in unannotated regions.
  • Regression Specialization: Different depth ranges require different math. Using standard logistic regression for the rough layout and inverse depth regression for fine details stabilizes training and yields cleaner metric boundaries.

Key Results

G2I achieved outstanding quantitative and qualitative results, securing 1st place on the official KITTI leaderboard at the time of submission.

  • In-Domain Superiority: On NYU-Depth-V2 and KITTI, G2I outperformed all existing in-domain and fine-tuned generalized models. Notably, it reduced the Absolute Relative (Abs Rel) error by 32.8% on NYU-Depth-V2 and 29.4% on KITTI compared to the massive Metric3Dv2 (ViT-g) baseline.
  • Zero-Shot Boost: When tested on five completely unseen datasets, G2I achieved an average Abs Rel of 0.176, outperforming its own zero-shot baseline (0.194) and standard fine-tuning methods (0.262), proving it avoids overfitting.
  • Qualitative Crispness: As shown below, G2I successfully fills in unlabeled depth regions (yellow boxes) where pure in-domain models like EcoDepth fail, while maintaining sharper object details than standard generalized models.
Figure 3. Qualitative comparison on the NYU-Depth-V2 dataset. “Metric3Dv2” denotes the result of in-domain finetuning, while “Metric3Dv2*” represents the zero-shot result. We use two distinct color bars to denote labeled and unlabeled depth values in the GT. For ease of observation, we provide predictions that have an error within 0.5m of the GT.

Limitations and Future Work

The authors note that their current study is primarily limited to adapting from a single generalized model family (Metric3Dv2) on standard public benchmarks. Future work will involve evaluating G2I with newer, alternative transformer backbones and testing its performance on real-world, custom-captured camera data.

Summary updated

BibTeX
@inproceedings{ning2026g,
  author = {Chao Ning and Naoto Yokoya},
  title = {{G2I: Transitioning a Generalized Monocular Depth Estimation Model to In-Domain Metric Depth Prediction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=G2cduDvW2g},
}
Figure