Focusable Monocular Depth Estimation

Yuxin Du, Tao Lin, Zile Zhong, Runting Li, Xiyao Chen, Jiting Liu, Chenglin Liu, Ying-Cong Chen, Yuqian Fu, Bo Zhao

TL;DR

Standard depth-estimation models treat every pixel in an image equally, which often leaves the exact object you actually care about—like a cup a robot is trying to grab—with blurry, inaccurate 3D boundaries. This paper introduces FocusDepth, a framework that lets you "focus" a monocular depth estimator on a specific object using a bounding box or text prompt. By marrying a segmentation model with a depth foundation model, it sharpens the 3D geometry of your chosen target without ruining the rest of the scene’s depth map.

What Problem Does This Paper Address?

Imagine looking at your desk to pick up a coffee mug. Your eyes and brain lock onto the mug's handle and rim, prioritizing its exact 3D shape over the wallpaper behind it.

Modern monocular depth foundation models (which infer 3D scene geometry from a single 2D RGB image) don't work like that. They are trained and evaluated globally, averaging errors across every pixel in the frame. Because background walls and floors take up way more pixels than small foreground objects, a model can score brilliantly on standard benchmarks while producing mushy, inaccurate depth around small, complex targets. For downstream tasks like robotic manipulation or spatial visual question answering, those blurry boundaries are exactly where accuracy matters most. Worse, what counts as the "target" can change from moment to moment in the exact same image, meaning we need a way to dynamically tell a depth model what to focus on.

Figure 1: Illustration of FocusDepth for Focusable Monocular Depth Estimation (FDE). Standard monocular depth estimation produces a full-image relative depth map without specifying a target. Given the same image and a target prompt, FocusDepth directs refinement toward the prompted object’s foreground and boundary regions while retaining full-image relative-depth accuracy.

Methods

To build Focusable Monocular Depth Estimation (FDE), the authors combine two distinct foundation-model priors:

  • Standard Backbones: They use Depth Anything (DA2 and DA3) for dense, scene-wide 3D geometry, and Segment Anything Model 3 (SAM3) to locate a target specified by a bounding box or category name (e.g., "the beverage").

Simply gluing a 2D segmentation model onto a 3D depth model is tricky because their internal representations are optimized for completely different jobs. The authors bridge them with three novel components:

  • Multi-Scale Spatial-Aligned Fusion (MSSA): Because both branches process the image using identical Vision Transformer (ViT) patch grids, their tokens map 1-to-1 spatially. At four different feature scales, MSSA projects SAM3’s prompt tokens, concatenates them with the corresponding geometry tokens, passes them through a lightweight Mixture-of-Experts (MoE) router (4 experts per scale) to handle region-specific corrections, and blends the result back into the original geometry via a learnable sigmoid gate.
  • Region-Aware Supervision: Instead of just one global depth loss, training equally weights depth errors across three regions—the global image, the target foreground, and a 10-pixel-radius boundary band around the target—plus an auxiliary mask loss.
  • Two-Stage Training: Stage 1 freezes all pretrained backbones so MSSA can learn to align the two feature spaces safely; Stage 2 unfreezes the decoders and prompt transformer to fine-tune the depth refinement.
Figure 2: Overall framework of FocusDepth. The Depth Anything branch extracts multi-scale geometry tokens, while the SAM3 branch produces prompt-conditioned tokens for the specified target. MSSA maintains token-level spatial correspondence and integrates the target cues into multi- scale depth representations through expert routing and gated fusion, enabling target-conditioned refinement within a full-image relative depth map. Training uses foreground, boundary, and full- image depth losses together with auxiliary segmentation supervision.

Datasets

Because existing depth benchmarks only grade full-image performance, the authors built FDE-Bench. It reformulates five existing indoor and robotics RGB-D datasets—NYU v2, RLBench, YCB-Video, TUM RGB-D, and RoboTwin—into standardized image–target–depth triplets.

Using ground-truth masks (or SAM-generated pseudo-masks when unavailable), they extract tight bounding boxes and semantic class names (available on NYU v2, RLBench, and YCB-Video). A single RGB-D image can yield multiple triplets, each pointing to a different object. In total, FDE-Bench spans 252.9K training and 72.5K validation triplets across 972 object categories.

Key Insights and Ideas

  • Prompting genuinely steers 3D attention: In a clever "same-image target switching" test, the authors took images containing two objects (A and B), locked the image and weights, and swapped only the prompt from A to B. Error on A immediately went up while error on B went down—cutting median foreground error by 2.8% to 8.6% when prompting the evaluated object. The model isn't just learning a better static prior; it actively routes capacity to whatever you ask for.
  • Spatial token alignment is the linchpin: In ablation studies, shuffling the 1-to-1 spatial correspondence between SAM3 tokens and Depth Anything tokens caused the single largest drop in accuracy, proving that local, patch-aligned injection is what makes cross-modal fusion click.
  • Global metrics hide manipulation failures: Zero-shot depth foundation models look nearly saturated on classic indoor rooms (NYU v2), yet stumble noticeably on foregrounds and boundaries in robot-manipulation scenes (RLBench, RoboTwin).

Key Results

Across both box and text prompts, FocusDepth consistently outperforms zero-shot foundation models (UniDepth, Metric3D-v2, DA2/DA3) and globally fine-tuned baselines (DA2-ft, DA3-ft), measured primarily via AbsRel (Absolute Relative depth error—lower is better):

  • Big wins on robotics benchmarks: On RLBench with box prompts, FocusDepth(DA3) slashes boundary AbsRel from 0.073 (DA3-ft) down to 0.049, and foreground AbsRel from 0.095 to 0.056, while simultaneously improving global full-image error from 0.042 to 0.030.
  • Consistent across backbones and text prompts: Under category-name text prompts on RLBench, FocusDepth(DA3) drops foreground AbsRel from 0.088 to 0.050. Similar gains hold on RoboTwin (box foreground error cut from 0.075 to 0.055) and YCB-Video (text foreground error cut from 0.035 to 0.024).
  • Cleaner visual geometry: Qualitatively, error maps show sharp, coherent object silhouettes where fine-tuned baselines leave glowing halos of boundary error.

Limitations and Future Work

The authors note two main avenues left open by the current study:

  • Scale of training: FocusDepth has not yet been scaled up to massive, foundation-level joint training across broader data distributions.
  • Downstream deployment: While FDE-Bench is motivated by embodied AI and spatial reasoning, FocusDepth has only been tested on depth benchmarks so far; plugging it directly into live robot manipulation policies or VQA pipelines remains future work.

Summary updated

Abstract

Monocular depth foundation models have substantially advanced full-image relative-depth estimation. Object-centric perception, however, places greater emphasis on depth accuracy for a specified target, particularly in its foreground and boundary regions. Most monocular depth estimators are trained and evaluated with image-wide objectives and metrics that do not distinguish the target relevant to a given perception task. We propose FocusDepth, a target-conditioned framework for Focusable Monocular Depth Estimation (FDE), where a box or category-name prompt specifies the target whose depth prediction is refined within a full-image relative depth map. FocusDepth integrates geometric representations from Depth Anything variants with prompt-conditioned Segment Anything Model 3 (SAM3) features through Multi-Scale Spatial-Aligned Fusion (MSSA), which maintains token-level spatial correspondence and performs independently parameterized routed and gated fusion at each depth feature scale. We further establish FDE-Bench, an image–target–depth benchmark constructed from five indoor and object-centric RGB-D datasets, comprising 252.9K training and 72.5K validation triplets spanning 972 target categories. On FDE-Bench, FocusDepth consistently improves depth accuracy for the specified target under both box and category-name prompting, with the largest gains in its foreground and boundary regions while retaining full-image relative-depth accuracy. On RLBench under box prompting, FocusDepth reduces AbsRel on the prompted object's boundary and foreground from 0.073 and 0.095 for DA3-ft to 0.049 and 0.056, respectively. Prompting the evaluated object rather than another object in the same image reduces median foreground AbsRel by 2.8–8.6% across DA2- and DA3-based variants, providing direct evidence that FocusDepth conditions its refinement on the specified target.
BibTeX
@inproceedings{du2026focusable,
  author = {Yuxin Du and Tao Lin and Zile Zhong and Runting Li and Xiyao Chen and Jiting Liu and Chenglin Liu and Ying-Cong Chen and Yuqian Fu and Bo Zhao},
  title = {{Focusable Monocular Depth Estimation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LTHElHJrAh},
}
Figure