TL;DR
VeloDepth is an efficient, online video metric depth estimator that refines and propagates deep features across consecutive frames instead of recomputing depth from scratch. By combining fast flow-based warping with learned feature-level residual corrections and a rotation-invariant 3D consistency loss, it achieves state-of-the-art temporal stability and competitive accuracy at real-time speeds (26.2 FPS on an RTX 3090).
What Problem Does This Paper Address?
Estimating depth from video is crucial for autonomous driving, robotics, and augmented reality. However, current paradigms force an impractical trade-off:
- Frame-by-frame monocular depth estimation (MDE): Running static single-image depth models independently across video frames causes severe temporal flickering and inconsistencies.
- Offline video models: Methods using video diffusion, test-time optimization, or full spatiotemporal attention offer good consistency, but they require future frames, consume huge amounts of memory, and run far too slowly for interactive use.
- Prior online / recurrent models: Architectures relying on LSTMs or post-processing stabilizers suffer from error drift, high compute overhead, or non-metric output.
VeloDepth addresses the need for an online, metric, real-time depth estimation pipeline that preserves the accuracy of large foundation models while maintaining tight temporal consistency across video frames.
Methods
Inspired by video compression codecs (which warp previous frames using motion vectors and transmit residual differences), VeloDepth introduces a feature-level propagation pipeline:
- Propagation Module: Instead of full single-image inference on every frame, VeloDepth runs a heavy "Base Model" (UniK3D / UniDepthV2) only on keyframes. For non-keyframes, it warps the previous frame’s neck features ($F_{t-1}$) and depth predictions ($D_{t-1}$) forward using backward optical flow ($O_{t-1}^t$), then learns a compact residual correction ($C$) with a lightweight ConvNeXt-Tiny encoder.
- Flow Refinement & Feature Gating: Initial flow (estimated cheaply via CPU-based DIS or motion vectors) is denoised and sharpened using a 2-layer CNN. Flow features are also used to compute gating weights that dynamically zero out residual corrections where warped features are already accurate or mask out occluded/unreliable regions.
- Pose-Agnostic 3D Consistency Loss: Comparing raw depth maps across frames fails under camera movement. Instead, VeloDepth enforces consistency over Euclidean radial distance (which is invariant to camera rotations) combined with a median-based 3D point cloud translation alignment.
- Flow-Based Keyframe Selection: Rather than resetting at fixed frame intervals, VeloDepth automatically triggers a full Base Model recalculation when large scene motion or significant warping disocclusion occurs.
Keyframe: [RGB Frame] ----> [Base Encoder] ----> [Neck Features] ----> [Base Decoder] ----> Depth
|
v (Warp & Gate)
Fast-frame:[RGB + Flow] ---> [Propagation Module] -> [Residual Correct] -> [Base Decoder] ----> Depth
Datasets
- Training Data:
- Unlabeled in-the-wild video: Kinetics-700, Moments-in-Time, and SAM 2 (SAv2).
- Synthetic & real depth datasets: TartanAir, Wild-RGBD, Habitat-Matterport 3D (HM3D), PointOdyssey, and Waymo Open Dataset.
- Evaluation Benchmarks (Zero-Shot): ScanNet, Sintel, Bonn-RGBD, and TUM-RGBD. No new datasets were introduced.
Key Insights and Ideas
- Residuals in feature space, not depth space: Learning residual corrections at the deep bottleneck representation allows the model to leverage rich contextual priors and the high-capacity pre-trained decoder, avoiding artifacts that arise from directly editing metric depth pixels.
- Radial distance eliminates camera pose requirements: Enforcing consistency on 3D radial distance ($||P||_2$) makes the self-consistency loss inherently invariant to camera rotations, removing the need for known camera extrinsics.
- Consistency comes from propagation, not model capacity: Ablations show that running a large encoder without prior features improves per-frame accuracy but does little for consistency ($\tau_5^{SSI} = 79.1\%$). In contrast, passing warped prior features with residual refinement drives consistency up to $93.5\%$.
- Temporal flip augmentation fixes ego-motion bias: Casual videos naturally feature forward camera motion. Training with randomly time-reversed sequences prevents the model from developing a systematic forward-motion hallucination bias.
Key Results
- Efficiency & Speed: Operates at 26.2 FPS on an NVIDIA RTX 3090 and 2.7 FPS on an Apple M1 Pro CPU/MPS at 0.5 MP resolution with only 0.7 TFLOPs per frame (compared to 2.2–27.1 TFLOPs for competitors).
- Zero-Shot Benchmark Performance: Across ScanNet, Sintel, Bonn-RGBD, and TUM-RGBD, VeloDepth achieves an aggregate $\delta_1^{SSI}$ accuracy of 91.4% and consistency $\tau_5^{SSI}$ of 87.5%.
- Beating Dedicated Video Stabilizers: Compared to NVDS, VeloDepth delivers +12.8% better accuracy ($\delta_1$), +4.9% higher consistency ($\tau_5$), and a $6.7\times$ speedup.
- Base Model Retention: Compared to its static base model (UniK3D), VeloDepth increases temporal consistency from 64.4% to 87.5% ($\tau_5^{SSI}$) with only a negligible change in absolute per-frame accuracy (93.6% vs. 91.4% $\delta_1^{SSI}$).
Limitations and Future Work
- Keyframe Sensitivity: Because predictions rely on recursive propagation, errors or artifacts present in the keyframe prediction will propagate forward until the next keyframe reset.
- Dependence on Optical Flow: While internal flow refinement mitigates coarse inputs, extreme occlusions or severe motion blur can still cause degraded feature warping.
- Long-Sequence Smoothing: Increasing intervals between keyframes can lead the propagation module to produce overly smoothed geometric boundaries over extended sequences.
Summary updated