Source-linked AI summary
Hybrid-grained Feature Aggregation with Coarse-to-fine Language Guidance for Self-supervised Monocular Depth Estimation
Wenyao Zhang, Hongsi Liu, Bohan Li, Jiawei He, Zekun Qi, Yunnan Wang, Shengyang Zhao, Xinqiang Yu, Wenjun Zeng, Xin Jin
TL;DR
Self-supervised MDE is challenged by limited semantic-spatial knowledge and mismatches between foundation models' global and local features. Hybrid-depth combines CLIP and DINO through coarse-to-fine language guidance, then refines estimates using camera pose and pixel-wise alignment. The paper reports that it outperforms other self-supervised approaches across evaluation metrics and improves existing methods.
Problem
Self-supervised MDE must reconcile CLIP's global semantic context with DINO's local spatial detail, whose feature-level mismatch can yield suboptimal depth representations.
Source: §1 · p. 2Method
Results
Hybrid-depth and its equipped self-supervised MDE methods outperform other self-supervised approaches across all reported evaluation metrics.
Source: §4.2.1 · pp. 6–7Takeaways & Limitations
Abstract
from arXiv · showhide
Current self-supervised monocular depth estimation (MDE) approaches encounter performance limitations due to insufficient semantic-spatial knowledge extraction. To address this challenge, we propose Hybrid-depth, a novel framework that systematically integrates foundation models (e.g., CLIP and DINO) to extract visual priors and acquire sufficient contextual information for MDE. Our approach introduces a coarse-to-fine progressive learning framework: 1) Firstly, we aggregate multi-grained features from CLIP (global semantics) and DINO (local spatial details) under contrastive language guidance. A proxy task comparing close-distant image patches is designed to enforce depth-aware feature alignment using text prompts; 2) Next, building on the coarse features, we integrate camera pose information and pixel-wise language alignment to refine depth predictions. This module seamlessly integrates with existing self-supervised MDE pipelines (e.g., Monodepth2, ManyDepth) as a plug-and-play depth encoder, enhancing continuous depth estimation. By aggregating CLIP's semantic context and DINO's spatial details through language guidance, our method effectively addresses feature granularity mismatches. Extensive experiments on the KITTI benchmark demonstrate that our method significantly outperforms SOTA methods across all metrics, which also indeed benefits downstream tasks like BEV perception. Code is available at https://github.com/Zhangwenyao1/Hybrid-depth.
1. Introduction
Self-supervised MDE faces data and capacity constraints, while combining foundation-model features for depth is difficult because their semantic and spatial representations do not align. Hybrid-depth uses language guidance in a coarse-to-fine framework to integrate CLIP and DINO and improve existing MDE pipelines.
1. Introduction
- Self-supervised MDE methods use video geometry but face constrained data diversity and limited model capacity, leaving performance gaps relative to supervised approaches.Supervised methods, in turn, rely on large datasets with per-pixel depth annotations.Source: §1 · pp. 1–2
- CLIP captures global semantic context while DINO extracts local spatial details, but naive fusion can misalign these features and produce suboptimal depth representations.CLIP lacks spatial precision for depth estimation, whereas DINO features lack contextual depth hierarchies.Source: Figure 1 · p. 1, §1 · p. 2
- Hybrid-depth progressively transfers CLIP and DINO priors into depth estimation, using language alignment to harmonize their different-grained features.The framework proceeds from coarse depth sensing to fine depth estimation.Source: §1 · p. 2
- Coarse sensing uses close–distant patch comparisons along lane markings, aligning CLIP and DINO features with depth-related text prompts through contrastive losses.The proxy task leverages geometric priors from autonomous-driving scenes.Source: §1 · p. 2, Figure 3 · p. 3
- Fine estimation combines auxiliary camera pose information with pixel-wise alignment of hybrid-grained features to learnable depth prompts.The framework is designed to integrate as an enhanced depth encoder in existing self-supervised MDE pipelines.Source: §1 · p. 2, Figure 2 · p. 2
- Hybrid-depth is reported to significantly improve existing self-supervised MDE methods as a compatible depth encoder.The contribution summary also describes language-guided aggregation of CLIP semantics and DINO spatial details as addressing granularity mismatch.Source: §1 · pp. 2–3
2. Related Works
Related work covers supervised and self-supervised monocular depth estimation, then foundation models and prompt learning. It traces the move from annotated-data methods to video-based geometric supervision and identifies limited use of foundation models in self-supervised MDE.
2.1.1. Supervised Monocular Depth Estimation
- Supervised MDE methods have improved depth regression and generalization, but collecting large amounts of manually labeled data is resource-consuming.Approaches include multi-scale fusion, classification formulations, and additional priors such as segmentation and geometry.Source: §2.1.1 · p. 3
2.1.2. Self-supervised Monocular Depth Estimation
- Self-supervised MDE uses monocular-video geometry and has expanded to multi-frame cost volumes and supplementary cues, yet methods can face performance bottlenecks and overfitting due to limited data.ManyDepth uses multiple test-time frames and geometric constraints through a cost volume.Source: §2.1.2 · p. 3
2.2. Foundation Models and Prompt Learning
- Foundation models learn transferable image-text or visual representations, while few studies apply them to self-supervised MDE and prior CLIP depth approaches remain limited.DepthCLIP's zero-shot depth predictions are described as ambiguous; cited learnable-prompt methods still underperform previous MDE methods.Source: §2.2 · pp. 3–4
3. Hybrid-depth
Hybrid-depth combines CLIP and DINO features under contrastive language guidance, then uses auxiliary camera pose and pixel-wise language alignment for fine depth estimation. It can serve as a plug-and-play depth encoder to improve continuous depth capture and self-supervised MDE accuracy.
3. Hybrid-depth
- Hybrid-depth aggregates CLIP global semantics and DINO local spatial details under contrastive language guidance.This is the framework's initial coarse-feature stage.Source: §3 · p. 4
- For fine estimation, Hybrid-depth uses auxiliary camera pose information and pixel-wise language alignment of hybrid-grained features.Source: §3 · p. 4
- As a plug-and-play depth encoder, Hybrid-depth is reported to improve continuous depth capture and the accuracy of self-supervised MDE methods.Source: §3 · p. 4
3.1. Coarse Depth Sensing
Coarse depth sensing uses lane geometry to order image patches, then combines CLIP semantics and DINO spatial features under depth-language guidance. The resulting contrastive objectives train depth-aware visual representations while keeping the text encoder frozen.
3.1. Coarse Depth Sensing
- Lane geometry supplies a proxy for depth ordering, while multi-scale CLIP and DINO features are resized and concatenated into fused features.CLIP contributes global semantics and DINO spatial details; depth increases along lane markings.Source: §3.1 · p. 4
3.1.1. Patch Selecting
- Seven fused-feature patches are sampled along lane labels, ordered from higher to lower image rows, with random columns and regular spacing within each row.This sampling strategy is intended to reduce selection of patches with nearly identical depths in ego-view images.Source: §3.1.1 · p. 4
3.1.2. Depth Prompt Design
- Rank-distance text prompts, from “very distant” to “very close,” encode the ordinal depth relationships assigned to image patches.The prompts are formatted as “This patch appears to be [depth token]” and encoded by CLIP’s text encoder.Source: §3.1.2 · p. 4
3.1.3. Contrastive Learning
- Intramodal and language-guided contrastive losses encourage depth-ordered patch similarities and align visual features with corresponding text cues.The text cues also act as a granularity calibrator for CLIP–DINO fusion; only the visual encoder is trained in this stage.Source: §3.1.3 · pp. 4–5
3.2. Fine Depth Estimation
Hybrid-depth augments established self-supervised monocular depth methods with multi-grained visual features and pixel-level language alignment. Its training retains image reconstruction and smoothness losses, and the reported KITTI comparisons show improvements across evaluation metrics.
3.2.1. Learnable Depth Prompt
- Learnable depth tokens replace manually crafted depth words and are encoded as depth text embeddings.The tokens are initialized by random sampling from a normal distribution with mean 0 and standard deviation 0.02.Source: §3.2.1 · p. 5
3.2.2. Pixel-level Language Alignment
- Four-scale CLIP–DINO features are aligned pixel-wise with learnable depth prompts, producing depth features that replace the original DepthNet features.The alignment uses inner products between reshaped visual features and depth text embeddings.Source: §3.2.2 · p. 5
3.2.3. Reconstruction and Smoothness Loss
- The aligned features are upsampled to predict depth with an auxiliary camera pose, while training uses image reconstruction and edge-aware smoothness losses.The photometric error combines pixel-space L1 distance and SSIM; the text encoder is frozen while the visual encoder, learnable tokens, and upsampling layers are trained.Source: §3.2.2 · p. 5, §3.2.3 · pp. 5–6
- Hybrid-depth-augmented methods improve the original methods and outperform other evaluated approaches across all metrics.The reported comparisons cover KITTI Eigen split self-supervised methods and prior MDE methods using CLIP.Source: Table 1 · p. 6, Table 2 · p. 6
4. Experiments
On KITTI, Hybrid-depth improves existing self-supervised MDE methods and outperforms other approaches across reported metrics. Ablations and qualitative comparisons examine its stages, feature choices, and depth predictions.
4.1. Implementation Details
- Experiments use ResNet-50-based CLIP and DINOv2 encoders, train for 10 epochs with batch size 16, and set 256 learnable depth and pose tokens.The reported implementation uses AdamW, an initial learning rate of 1e-4, and a single NVIDIA A800 GPU.Source: §4.1 · p. 6
4.2.1. Results on KITTI
- Hybrid-depth improves three classical MDE methods and outperforms other self-supervised approaches across all evaluation metrics; it also exceeds CLIP-based few-shot or supervised methods.The reported comparisons include Monodepth2, ManyDepth, and Mono-VIFI augmented with Hybrid-depth.Source: §4.2.1 · pp. 6–7
4.2.2. Qualitative Results
- On challenging KITTI images, Hybrid-depth produces smoother ground-region depth while retaining sharp object boundaries and reducing edge artifacts.The figure caption specifically notes continuous ground-region predictions and sharp object edges.Source: Figure 5 · p. 7, §4.2.2 · p. 7
4.3. Ablation Studies
- Ablations report that coarse-to-fine learning improves performance beyond a stronger backbone, and removing feature alignment lowers performance across metrics.The alignment comparison covers cross-modal contrastive loss and intramodal contrastive learning.Source: §4.3 · p. 7, Table 3 · p. 7, Table 4 · p. 8
Q3: Is depth instruction necessary as a granularity cali-
- Removing depth instruction significantly reduces performance, while single-encoder variants underperform the CLIP–DINO combination.The paper attributes complementary strengths to CLIP’s semantic understanding and DINO’s fine-grained spatial details.Source: Q3: Is depth instruction necessary as… · p. 8, Table 5 · p. 8, Table 6 · p. 8
Q5: What is the effect of learnable depth tokens’ count?
- Performance varies non-monotonically with learnable depth-token count, improving up to an optimal range such as 256 tokens before degrading.The authors describe a capacity–overfitting trade-off as token count increases.Source: Q5: What is the effect of learnable… · p. 8, Table 7 · p. 8
Q6: Can Hybrid-depth benefit other 3D perception tasks such as BEV prediction?
- Hybrid-depth significantly improves the reported BEVDet and FB-BEV baseline configurations on the nuScenes validation set.The comparison uses input images at 256 × 704 resolution.Source: Q5: What is the effect of learnable… · p. 8, Table 8 · p. 8
5. Conclusions
Hybrid-depth progressively estimates depth from coarse to fine, combining CLIP and DINO features with language guidance before refining predictions using auxiliary camera-pose information. The authors report improved self-supervised MDE and benefits for BEV perception.
- Hybrid-depth aggregates CLIP and DINO features under contrastive language guidance, then uses auxiliary camera-pose information for fine depth estimation and depth-instruction calibration.The framework is presented as a plug-and-play depth encoder intended to improve capture of continuous depth variations.Source: §5 · p. 8
Related papers
This paper cites
- Learning Transferable Visual Models From Natural Language Supervision2021
- Microsoft COCO: Common Objects in Context2014
- OpenVLA: An Open-Source Vision-Language-Action Model2024
- nuScenes: A multimodal dataset for autonomous driving2019
- Language Models as Knowledge Bases?2019
- Learning to Prompt for Vision-Language Models2021