TL;DR
ViGeo is a unified feed-forward foundation model that recovers dense, temporally consistent 3D geometry (depth, surface normals, and point maps) from video sequences. By introducing dynamic chunking attention, a single plain transformer model can seamlessly switch between offline full-sequence reconstruction, online streaming inference, and long-video processing at test time without any retraining. Additionally, its novel completion-based data refinement pipeline turns noisy, sparse real-world annotations into high-quality training targets.
What Problem Does This Paper Address?
Recovering accurate 3D geometry from video is a cornerstone of robotics, autonomous driving, and AR/VR. However, existing video geometry models are stuck in a trade-off paradigm:
- Fixed Temporal Access Patterns: Offline methods achieve high quality by looking at the entire video (including future frames), making them useless for real-time applications. Online streaming methods use strictly causal context, which avoids looking into the future but sacrifices global consistency and reconstruction quality. Currently, separate architectures or training protocols are required for each mode.
- Poor Supervision Quality: Real-world training datasets derived from LiDAR or Structure-from-Motion (SfM) are often sparse, noisy, and scale-ambiguous, leading to blurry reconstructions and temporal flickering.
ViGeo bridges this gap with a single architecture that handles all inference modes while utilizing a scalable data engine to clean up real-world training data.
Methods
ViGeo relies on a standard Vision Transformer (ViT-G) backbone without task-specific architectural modifications. The magic lies in how it handles attention and data preparation.
Dynamic Chunking Attention
Instead of committing to either bidirectional (offline) or causal (online) attention, ViGeo partitions the input video into contiguous temporal chunks.
- Inside a chunk: Tokens attend to each other bidirectionally (full attention).
- Across chunks: Tokens can only attend to previous chunks causally.
By simply changing the chunk partition at inference time, the same model instantiates different modes:
- Full-sequence (Offline): The entire video is one chunk ($L=1$).
- Streaming (Online): Each frame is its own chunk ($|N_l|=1$).
- Chunk-based (Long Video): Intermediate chunk sizes combined with Key-Value (KV) caching to process arbitrarily long videos without memory explosions.
Completion-Based Data Refinement
To fix noisy real-world data, the authors treat raw annotations as imperfect geometric observations and train a video depth completion teacher. The pipeline works in two stages:
- Outlier Filtering: Uses a local spherical alignment criterion to filter out unreliable raw measurements.
- Video Depth Completion: Fits a coarse dense prior via Poisson reconstruction and feeds it alongside the RGB video into the teacher model. The teacher leverages spatiotemporal context to output dense, clean, and geometrically reliable pseudo-labels for training ViGeo.
Datasets
ViGeo was trained on a massive collection of 23 open-source RGB-D datasets:
- Synthetic (17 datasets): Hypersim, LightWheelOcc, TartanAir, TartanGround, GTA-SfM, PointOdyssey, BEDLAM, Dynamic Replica, MatrixCity, MVS-Synth, OmniWorld, Synthia, OmniObject3D, Aria Synthetic Environments, Spring, TransPhy3D, and CarlaOcc.
- Real-World (6 datasets): WildRGB, Waymo, ARKitScenes, ScanNet++ (all LiDAR-based), DL3DV (COLMAP), and BlendedMVS (3D Reconstruction).
Evaluation Benchmarks: Sintel, Bonn, KITTI, HAMMER, NYUv2, 7-Scenes, and Neural RGB-D.
Key Insights and Ideas
- Unified Attention is All You Need: Exposing the model to multiple chunk configurations during training allows it to generalize across temporal access patterns. You don't need separate online and offline models.
- Data Refinement > Monocular Alignment: Traditional data engines simply align monocular depth predictions to sparse points, which inherits the systematic errors of the monocular model. Framing data cleaning as a video depth completion problem allows multi-view consistency to naturally resolve artifacts and fill holes.
- Point Maps as a Primary Representation: By predicting 3D point maps directly and deriving depth from them, the model implicitly learns stronger 3D structural constraints than models predicting depth alone.
Key Results
ViGeo achieves state-of-the-art performance across multiple geometry estimation tasks:
- Video Depth Estimation: On the Sintel benchmark, ViGeo (offline) achieves an Absolute Relative Error (Abs Rel) of 0.229, outperforming the previous best offline method (Pi3 at 0.281). Remarkably, ViGeo in online streaming mode (Abs Rel 0.256) still beats most existing offline models.
- Long Video Robustness: For long sequences (300–400 frames), standard video transformers suffer from Out-Of-Memory (OOM) errors. ViGeo handles them seamlessly using chunk sizes of $C=16$, requiring only 23.03 GB of VRAM while maintaining top-tier accuracy.
- Surface Normal Estimation: ViGeo outperforms specialized image and video normal estimators (like NormalCrafter and StableNormal) on the HAMMER and Sintel datasets, demonstrating the benefit of its multi-task framework.
Limitations and Future Work
- Computational Cost at High Resolutions: Processing high-resolution inputs over long video sequences still incurs a heavy computational toll.
- Lack of Explicit 4D Representations: While the model achieves strong temporal consistency, exploring explicit 4D representations (e.g., tracking points or dynamic Gaussians) could further improve results in highly dynamic scenes with rapid object motion.
Summary updated