Abstract
Monocular Depth Estimation (MDE) has traditionally been treated as a dense regression task. This paper introduces DAR (Depth AutoRegressive), a novel framework that reformulates MDE as a sequence-to-sequence problem. By decomposing depth prediction into progressive stages of resolution and granularity, DAR leverages the scaling laws observed in Large Language Models. Our results on KITTI and NYU Depth v2 benchmarks demonstrate that autoregressive architectures provide a powerful paradigm for spatial geometry, achieving new state-of-the-art performance.
Introduction
Predicting the distance of every pixel from a single RGB image is a cornerstone of computer vision for robotics and autonomous driving. Conventional approaches utilize "top-down bottom-up" encoder-decoder networks. However, these architectures often fail to benefit from the massive scaling potential seen in transformer-based autoregressive (AR) models like GPT. The central challenge lies in the nature of depth maps: they are continuous 2D grids, not naturally sequential tokens. DAR addresses this by ordering depth estimation by scale and precision.
Methodology
DAR decomposes the MDE task into two coupled autoregressive objectives that transform the 2D grid into an ordered sequence:
- Resolution Autoregressive Objective: The model generates depth maps progressively from low to high resolution. By treating scales as a sequence, a patch-wise causal mask ensures that higher-resolution predictions are conditioned on previously generated lower-resolution versions.
- Granularity Autoregressive Objective: To handle continuous depth values, DAR employs a Multiway Tree Bins (MTBin) strategy. This recursively discretizes the depth range, narrowing down intervals (e.g., from 0–10m to 4–6m) to achieve high precision.
The core DAR Transformer utilizes image features as context and integrates a Bins Injection module to refine latent features based on the current depth interval, guiding subsequent steps of the resolution/granularity refinement.
Experimental Setup
The model was evaluated on several industry-standard benchmarks to test both accuracy and generalization:
- NYU Depth v2: A large-scale dataset for indoor scene depth estimation.
- KITTI: The primary benchmark for outdoor driving scenes and long-range depth.
- SUN RGB-D: Utilized for zero-shot evaluation to test how well a model trained on NYU Depth v2 generalizes to a completely different indoor dataset without further training.
Key Results and Scaling Laws
A primary insight of this work is that MDE follows scaling laws similar to those in natural language processing. As model size increased from 440M (DAR-S) to 2.0B (DAR-L) parameters, performance improved consistently without hitting a plateau.
- KITTI Benchmark: DAR-Large achieved an RMSE of 1.799, representing a significant 5% improvement over the previous state-of-the-art, "Depth Anything" (1.896).
- NYU Depth v2: DAR reached an RMSE of 0.205, surpassing existing diffusion-based and specialized architectures.
- Zero-Shot Generalization: DAR outperformed models specifically designed for zero-shot transfer on the SUN RGB-D dataset, suggesting the autoregressive objective helps the model learn fundamental geometric principles rather than just memorizing dataset-specific features.
Discussion and Future Work
While DAR produces exceptionally smooth and continuous depth transitions, the multi-step refinement process can occasionally lead to slight blurring at object boundaries compared to methods prioritizing edge sharpness. Additionally, the computational cost of a 2.0B parameter autoregressive model is significant. Future research will focus on model distillation to create lightweight versions suitable for real-time edge applications, such as drones and mobile robotics, while maintaining the generalization benefits of the autoregressive paradigm.
Summary updated