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.
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.
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 from0.073(DA3-ft) down to0.049, and foreground AbsRel from0.095to0.056, while simultaneously improving global full-image error from0.042to0.030. - Consistent across backbones and text prompts: Under category-name text prompts on RLBench,
FocusDepth(DA3)drops foreground AbsRel from0.088to0.050. Similar gains hold on RoboTwin (box foreground error cut from0.075to0.055) and YCB-Video (text foreground error cut from0.035to0.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