Estimating depth from a single video—monocular video depth estimation—is a cornerstone of machine perception, essential for everything from autonomous driving to cinematic special effects. However, the field currently faces a dilemma: single-image models are fast but "flicker" because they lack temporal context, while newer video-based diffusion models are computationally massive and struggle to maintain consistency over long sequences.
In their paper "Video Depth without Video Models," researchers from ETH Zurich and Carnegie Mellon University propose a clever middle ground. Instead of building a massive new video model from scratch, they adapt a high-performing single-image model to work across "snippets" of video, using a global alignment strategy to ensure the entire sequence stays in 3D harmony.
The Challenge: Flicker and Drift
Monocular depth estimation is typically "affine-invariant," meaning models predict relative depth rather than absolute distance. When applied frame-by-frame to a video, two primary issues arise:
- Flicker: Minor pixel variations cause depth predictions to jump inconsistently between frames.
- Drift: As the camera moves or objects enter the frame, the predicted "near" and "far" planes shift. This prevents the reconstruction of a stable 3D scene because the world's scale is constantly changing.
Existing video diffusion models attempt to solve this by training on short clips, but they are often prohibitively expensive, limited to short durations, and prone to losing accuracy in the background.
The RollingDepth Methodology
The proposed system, RollingDepth, transforms a single-image Latent Diffusion Model (LDM) into a state-of-the-art video depth estimator through three main pillars:
1. Multi-frame Snippet Estimator
The researchers modified Marigold, a popular LDM for depth, by altering its self-attention layers. Instead of processing a single image, the model now evaluates a "snippet" (typically 3 frames). By flattening the attention mechanism, pixels can attend to others across different frames, capturing essential local temporal patterns.
2. Dilated Rolling Kernel
To maintain long-range context without excessive memory usage, RollingDepth samples snippets at varying "dilations." For instance, it might process frames [1, 2, 3] for local motion and frames [1, 10, 20] for long-range context. This multi-scale approach allows the model to understand scene evolution over seconds rather than just milliseconds.
3. Global Co-Alignment and Refinement
Since each snippet has an arbitrary scale and shift, the authors treat the final video as a global optimization problem. They solve for a single scale ($s$) and shift ($t$) for every snippet simultaneously, minimizing discrepancies between overlapping frames. This "stitches" the snippets into a unified, globally consistent 3D space. An optional final pass uses the LDM to "denoise" the aligned video, sharpening fine details like hair or thin structures.
Key Results and Performance
RollingDepth significantly outperforms both single-frame foundation models and dedicated video diffusion models across several benchmarks:
- Accuracy: On the PointOdyssey benchmark, RollingDepth achieved an AbsRel (Absolute Relative Error) of 9.6%, vastly outperforming DepthCrafter (36.3%) and DepthAnythingV2 (14.4%).
- Temporal Stability: Qualitative analysis shows that RollingDepth eliminates the "billboard" effect—where backgrounds appear as flat 2D planes—common in other methods.
- Efficiency: The "fast" version can process a 250-frame video in approximately 81 seconds, making it more practical than many diffusion-based competitors.
Conclusion
RollingDepth demonstrates that temporal consistency doesn't require a dedicated video model. By leveraging the spatial priors of single-image LDMs and applying a robust "rolling" optimization strategy, the researchers have created a system that is both accurate and stable over long sequences. Future work may involve integrating optical flow or more advanced generative models to further refine pixel-perfect alignment in highly dynamic environments.
For more details, visit the project page.
Summary updated