# Adapting Monocular Depth Estimation in Novel Scenes through Disparity Refinement and Robot Ego-Motion

Robotics.world

> Foundation models for monocular depth estimation predict relative depth that is only correct up to an unknown scale and shift, so their output cannot be used directly for metric robot tasks like…

**arXiv**: 2611.14958 · Preprint · not peer-reviewed

**Published**: 2026-11-11

**Authors**: Dimitrios Chatziparaschis, Georgios Georgakis, Adnan I. Ansar, Shehryar Khattak, Konstantinos Karydis

## In plain words

Foundation models for monocular depth estimation predict relative depth that is only correct up to an unknown scale and shift, so their output cannot be used directly for metric robot tasks like obstacle avoidance or path planning in a new environment.

## AI summary

## Overview

**Research area:** Robotics perception — monocular depth estimation (MDE) and online/on-robot domain adaptation.

**Technical level:** Advanced. The paper assumes familiarity with affine-invariant inverse depth, stereo/pinhole geometry, photometric reconstruction losses, and Vision Transformer architectures.

**Scope (one sentence):** The paper introduces EM-ViT, a lightweight online learning framework that converts affine-invariant relative depth from a frozen foundation model (Depth Anything V2 ViT-S) into metric depth during robot operation, using dense disparity refinement plus an effective-baseline scalar, supervised by sparse LiDAR and (optionally) ego-motion.

## What This Paper Is About

Foundation models for monocular depth estimation predict relative depth that is only correct up to an unknown scale and shift, so their output cannot be used directly for metric robot tasks like obstacle avoidance or path planning in a new environment. EM-ViT adapts such a prior online, while the robot moves, so that the depth map becomes metrically accurate for the specific scene and camera without any offline fine-tuning or dataset collection. The core idea is to borrow the stereo-camera equation: split the problem into a dense disparity correction (which fixes scene structure) and a single predicted baseline scalar (which supplies the missing metric scale).

## Key Contributions

1. **A lightweight virtual stereo framework** that produces metric, high-fidelity depth maps from a frozen MDE foundation backbone by decoding depth through a predicted dense disparity map and an effective baseline scalar, conditioned on the known camera focal length.
2. **An on-the-fly learning process** that exploits robot ego-motion and sparse LiDAR measurements during deployment to remove scale bias and camera-intrinsics ambiguity in novel scenes, with a total of only 912K trainable parameters (815K in `dRefNet`, 97K in `odomNet`).
3. **A gradient-matching loss** that is ℓ2-normalized per gradient field so it is invariant to the affine ambiguity of the prior, preserving the fine-grained semantic structure of the input disparity in real time.
4. **Experiments on public sequences** — KITTI, CitrusFarm, and Perseverance Navcam-style data, plus a garage deployment on a Boston Dynamics Spot — reported as adapting faster and more accurately than existing methods that metrically tune foundation models in novel scenes.

## Main Findings

- **Garage environment (deployed on a Spot robot):** EM-ViT reached δ₁ = 0.910, AbsRel = 0.10, RMSE = 3.29, L1₈₀ = 1.32, L1₁₀ = 0.43 with 82.37 s total training time, versus online DAV2 ViT-S Metric at δ₁ = 0.859, AbsRel = 0.13, RMSE = 3.37, L1₈₀ = 1.58, L1₁₀ = 0.63 and 100.38 s, and FusionDepth at δ₁ = 0.854, AbsRel = 0.12, RMSE = 3.81, L1₈₀ = 1.68, L1₁₀ = 0.55 and 119.83 s.
- **KITTI scenes:** EM-ViT reported δ₁ = 0.822, AbsRel = 0.14, RMSE = 3.46, L1₈₀ = 1.76, L1₁₀ = 0.79 at 57.48 s, compared with online DAV2 ViT-S Metric at δ₁ = 0.666, AbsRel = 0.24, RMSE = 4.20, L1₈₀ = 2.40, L1₁₀ = 1.43 at 67.75 s, and Marsal et al. at δ₁ = 0.686, AbsRel = 0.21, RMSE = 5.55, L1₈₀ = 2.55, L1₁₀ = 1.19.
- **CitrusFarm scenes (a mixed result):** EM-ViT obtained the best δ₁ (0.660) and AbsRel (0.20) and the best L1₁₀ (0.77) with the shortest training time (35.91 s), but online DAV2 ViT-S Metric had lower RMSE (4.01 versus 4.25) and lower L1₈₀ (1.61 versus 1.66).
- **Unadapted metric baselines fail badly in some domains:** DAV2 ViT-S Metric trained on VKITTI2 scored δ₁ = 0.022 on the garage data and δ₁ = 0.005 on CitrusFarm, while the same model trained on HyperSim scored δ₁ = 0.659 on garage but δ₁ = 0.045 on KITTI scenes — illustrating the poor cross-domain generalization the paper targets.
- **Off-the-shelf rescaling is slower and less accurate:** Marsal et al., which rescales a foundation model per frame, had the longest gaps on CitrusFarm (RMSE 24.93, L1₈₀ 4.70, L1₁₀ 1.87), supporting the authors' claim that per-frame rescaling optimization ignores image context.
- **Scale–structure disentanglement is an explicit design property:** in log space the prediction is a global offset (log f + log B̂) plus a dense field (−log d̂), so depth ratios depend only on d̂ (Eq. 6), meaning a bad baseline estimate degrades accuracy only up to scale.
- **Median normalization was ablated out:** the authors state that median-normalizing the predicted disparity brought only marginal quantitative improvements, so it was omitted during supervision and experiments.

## Methodology in Plain English

The system starts from a frozen, off-the-shelf depth network (Depth Anything V2 ViT-S) that produces a relative, affine-invariant disparity map — a depth-like image correct in shape but with the wrong absolute scale and an arbitrary offset.

Rather than regressing metric depth directly at every pixel, the authors reuse the classic stereo formula, depth = focal length × baseline / disparity. A small transformer-based refiner, `dRefNet`, takes the prior disparity plus the color image and outputs two things: a cleaned-up dense disparity (which fixes local structure and effectively removes the unknown offset, Eq. 3), and one single number per image, the "effective baseline" (which supplies the scale). Because the known focal length is supplied explicitly, the two learned quantities absorb the focal ambiguity; the authors describe the model as behaving like a virtual stereo rig that hypothesizes its own baseline for each image.

Training is self-supervised from what the robot already has. Sparse LiDAR returns give a masked mean-absolute-error signal on the pixels where LiDAR points project. Previously captured frames plus their odometry poses give a photometric reconstruction loss: predicted depth is used to warp old images into the current view, and the mismatch is penalized. A third gradient-matching loss compares ℓ2-normalized image gradients of the refined disparity against the prior disparity so that fine detail (sky, thin objects) from the foundation model is not destroyed by the sparse metric supervision.

An auxiliary `odomNet` (a small MLP over the concatenated reference and target images) predicts a 6-DoF correction (x, y, z, roll, pitch, yaw) to the robot's odometry poses, stabilizing the photometric loss against pose drift. Input images are downscaled so the smallest dimension is 220 pixels (versus 518 typically used by DAV2) for onboard speed.

Operation is a repeating collect-then-train loop: over a fixed window (10 s), synchronized image/LiDAR pairs are gathered at a 0.75 Hz image sampling rate, with a 0.02 s time threshold for pairing modalities that broadcast at 10 Hz; the refiners are then trained at time tᵢ with transfer learning from the previous version, and the resulting model is evaluated on the following window until the next training round. Depth is recovered at full resolution by bilinear upsampling and multiplication by the predicted baseline.

## Why This Matters

**Impact on research.** The paper argues that a strong relative-depth foundation model plus a very small, robot-side adaptation module (912K parameters) can beat both direct metric fine-tuning of foundation models and per-frame rescaling approaches, and can do so in under 2 minutes of training on an NVIDIA AGX Orin 64GB. Framing the metric-scale problem as a stereo-baseline prediction rather than a per-pixel regression is the distinctive move, and it makes the failure mode interpretable: structure errors live in the dense map, scale errors in one scalar.

**Real-world applications:**

- Planetary rovers, where the paper's motivating example is the Curiosity rover's wheel punctures and cracks on sharp sandstone outcrops, and where the cited Perseverance Navcam data suffers from low solar phase and low texture.
- Agricultural field robots, represented by the CitrusFarm sequences, where camera intrinsics and terrain differ from any training set.
- Indoor/industrial inspection robots (the garage deployment on a Spot quadruped) operating in unmapped spaces with only a monocular camera and a sparse LiDAR.
- Low-SWaP platforms that cannot carry LiDAR or stereo rigs and need dense, long-range depth from a single camera.

**Industry relevance.** Any deployed robot whose camera and site differ from the training distribution faces the same metric-scale gap. A self-supervised, onboard adaptation loop that reuses existing sparse ranging sensors and odometry — and that degrades gracefully to depth-up-to-scale if the baseline estimate is wrong — is attractive for logistics, inspection, and field robotics where per-site retraining is impractical.

## Future Directions

- **Evaluation under degraded sensing.** The paper states that its supervision scheme is designed to remain usable under sensor degradation or reduced sampling rate and points to ablation studies (Sections IV-B3 and IV-B4) covering sparse ground truth and reduced data sampling rates; the detailed results of these ablations are not included in the provided text.
- **Eliminating the sparse-LiDAR dependency.** The authors emphasize that photometric loss is used as the main visual supervision with LiDAR supervision "limited," and that ego-motion is used "optionally" — quantifying how far accuracy holds with camera and odometry alone is a natural next step.
- **Better pose refinement.** The photometric loss depends on `odomNet` corrections; extending or replacing this with tighter coupling to visual-inertial odometry would test how much of the gain comes from pose accuracy.
- **Long-duration and multi-scene behavior.** The pipeline alternates fixed 10 s collect/train windows with a 0.75 Hz sampling rate; how this schedule scales to long missions, revisit loops, and dynamic scenes is left open.

## Target Audience

Robotics researchers and practitioners working on perception for field, planetary, agricultural, or inspection robots — especially those constrained by SWaP limits and reliant on monocular cameras plus sparse ranging. It is also relevant to computer-vision researchers interested in test-time adaptation and metric-scale recovery for depth foundation models, and to engineers evaluating whether an off-the-shelf MDE model can be made trustworthy onboard without an offline fine-tuning dataset.

## Authors’ abstract

The geometric understanding of a scene is a crucial component for safe and efficient robotic operations in novel and unstructured environments. The recent emergence of foundation models for Monocular Depth Estimation (MDE) has provided an opportunity to enrich robotic perception capabilities with dense long-range depth predictions, replacing expensive onboard hardware (e.g., LiDARs and stereo cameras). However, these offline models are primarily trained on affine-invariant…

[The full abstract on arXiv](https://arxiv.org/abs/2611.14958)

[Read the original paper](https://arxiv.org/abs/2611.14958)

## Related papers

- [ADEPT: Adaptive Monocular Depth Estimation via Model-In-The-Loop Photometric Tuning with Capture Risk Prediction](https://robotics.world/paper/adept-adaptive-monocular-depth-estimation-via-model-in-the-loop-2611.27423) 2026-11-20 · cs.RO · Key terms of the title in common
- [Which Depth Estimator for Jetson AGX Orin? A 2026 Benchmark of Monocular and Stereo Methods](https://robotics.world/paper/which-depth-estimator-for-jetson-agx-orin-a-2026-benchmark-of-monocular-2610.27199) 2026-10-19 · cs.RO · Key terms of the title in common
- [Underwater Visual Target Tracking with Target-Specific Depth Estimation and Adaptive Model-Fusion Predictive Control](https://robotics.world/paper/underwater-visual-target-tracking-with-target-specific-depth-estimation-2609.20731) 2026-09-17 · cs.RO · Key terms of the title in common
- [ILA: A Transferable Interface-Level Adapter for Compliant Humanoid Motion Tracking](https://robotics.world/paper/ila-a-transferable-interface-level-adapter-for-compliant-humanoid-2611.14985) 2026-11-11 · cs.RO · Key terms of the title in common
- [RaMOD: Moving-Object Detection from Raw mmWave Radar Cubes under Ego Motion](https://robotics.world/paper/ramod-moving-object-detection-from-raw-mmwave-radar-cubes-under-ego-2611.13271) 2026-11-09 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/adapting-monocular-depth-estimation-in-novel-scenes-through-disparity-2611.14958
