TL;DR
This paper introduces a highly efficient, generalizable framework for dense metric depth completion using sparse direct Time-of-Flight (dToF) sensors. By leveraging a dual-branch Vision Transformer (ViT) with a novel asymmetric masked joint attention mechanism, the model achieves state-of-the-art zero-shot generalization across diverse real-world sensors and datasets while running up to 20x faster than optimization-based alternatives.
What Problem Does This Paper Address?
Direct Time-of-Flight (dToF) sensors, such as LiDAR or mobile SPAD arrays, provide highly accurate metric depth measurements and are robust in challenging environments. However, due to high manufacturing costs and hardware limitations, their raw depth maps are often extremely sparse, low-resolution, and noisy. This makes them difficult to use directly in applications like VR/XR, robotics, and 3D scene understanding, which require dense, continuous metric depth.
While monocular depth estimation models can predict dense structures from a single RGB image, they inherently suffer from scale ambiguity. Conversely, existing depth completion methods struggle to adapt to different sensor layouts, fail under extreme sparsity, or rely on computationally heavy pipelines (like diffusion models or iterative optimization) that prevent real-time deployment. This paper aims to deliver a single, lightweight model capable of robustly completing dense metric depth across varying sensor types, noise levels, and sparsity patterns without requiring real-world training data.
Methods
The proposed framework consists of three main components: preprocessing, a depth-guided dual-branch encoder, and a lightweight decoder.
- Preprocessing & Normalization: To handle heterogeneous sensor patterns, the sparse depth map and its validity mask are upsampled to the RGB resolution. Missing regions are filled using nearest-neighbor interpolation, while the validity mask tracks which pixels are actual sensor measurements. The depth values undergo log-normalization to compress large depth ranges and match the input distribution expected by pretrained foundation models.
- Depth-Guided Dual-Branch Encoder: Instead of treating depth as a minor auxiliary input, the architecture uses two parallel ViT branches (one for RGB, one for normalized depth). The core innovation is the Masked Joint Attention mechanism. Tokens from both branches are concatenated, and queries, keys, and values are computed jointly. Crucially, a directional mask is applied to enforce an asymmetric information flow: depth tokens are allowed to guide and refine image features, but image tokens are blocked from attending to depth tokens. This prevents unreliable texture or lighting cues from corrupting the accurate geometric data.
- Lightweight Decoder & Simulation Pipeline: The fused features are processed by a lightweight DPT-based decoder to output dense normalized depth and a validity mask. To train the model without real-world paired data, the authors designed a comprehensive dToF simulation pipeline that models flash dToF, sub-VGA flash, and rotating LiDAR scanning patterns, complete with realistic noise, spatial jitter, and boundary degradation.
Datasets
The model is trained entirely on a mixture of 16 synthetic RGB-D datasets, including ApolloSynthetic, Hypersim, Structured3D, Synscapes, and TartanAir, totaling millions of diverse scenes.
To evaluate zero-shot generalization, the authors tested the model on:
- Real-sensor benchmarks: KITTI-DC (captured via Velodyne LiDAR) and ZJUL5 (captured via a lightweight VL53L5CX mobile dToF sensor).
- Simulated/Downsampled benchmarks: DDAD, DIODE, ETH3D, and iBims-1.
Key Insights and Ideas
- Asymmetric Cross-Modal Fusion: Standard cross-attention or unmasked joint attention often allows strong visual features (like high-contrast textures) to override or corrupt sparse depth data. The directional mask ensures that geometry strictly anchors the visual features, maintaining metric integrity.
- Foundation Model Compatibility: Because the masked joint attention block mirrors the structure of a standard ViT self-attention block, both the RGB and depth branches can be seamlessly initialized with pretrained DINOv2 weights. This injects powerful visual and geometric priors right from the start.
- Simulation Beats Real Data Collection: By accurately simulating the physical degradation patterns of different sensor families (e.g., edge erosion via Perlin noise for sub-VGA flash sensors), the model learns device-agnostic representations that transfer flawlessly to real-world hardware without fine-tuning.
Key Results
- Efficiency vs. Accuracy: The model (using a ViT-Small backbone) achieves an inference time of just 34 ms and consumes 0.44 GB of memory on an NVIDIA A100 GPU. Compared to the optimization-based SOTA method (OMNI-DC), it runs 20x faster and uses 10x less memory while delivering comparable or superior accuracy.
- Robustness to Sparsity: In extreme sparsity tests (down to only 100 available depth points), the model maintains the lowest relative error and the highest stability compared to competing methods like Prior DA and Marigold-DC.
- Noise Resilience: The framework consistently outperforms other approaches across three distinct simulated noise types: spatial shifting, precision degradation, and missing-depth holes.
Limitations and Future Work
While the framework demonstrates excellent scalability when moving from a ViT-Small to a ViT-Large backbone, the authors primarily focus on the smaller variant to prioritize real-time mobile deployment. Additionally, in massive, completely unobserved regions far outside the original sensor's range, the decoder must rely heavily on monocular depth priors, which could occasionally introduce minor structural inaccuracies in complex, unseen environments. Future work could explore tighter integration with temporal tracking for video-based depth completion.
Summary updated