VGGT
Wang (Meta) 2025 · Paper
One-line summary — A single feed-forward Transformer that directly infers camera parameters, depth maps, dense pointmaps, and 3D point tracks from one to hundreds of views in under a second — CVPR 2025 Best Paper, and a template for replacing geometric pipelines with one network.
Problem
3D vision models have typically been constrained to and specialized for single tasks: one network for depth, another for pose, another for point tracking — and full multi-view reconstruction required multi-stage pipelines with visual-geometry optimization (bundle adjustment, triangulation, DUSt3R-style global alignment) as post-processing. VGGT asks whether one network can directly infer all key 3D attributes of a scene from an arbitrary number of views, fast enough and accurately enough to make the optimization stage optional.
Method & architecture
One function, four outputs: given images of a scene, the transformer predicts per frame
where packs rotation quaternion, translation, and field of view; is the depth map; the pointmap, expressed (as in DUSt3R) in the coordinate frame of the first camera; and are dense features consumed by a tracking module .
- Alternating-Attention backbone: images are patchified into tokens with DINOv2, then processed by ~1.2B parameters of standard self-attention — pairs of frame-wise self-attention (tokens within each image) alternated with global self-attention (tokens across all frames). No cross-attention layers and minimal 3D inductive bias; multi-view geometry is learned, not built in.
- Tokens and heads: each frame gets a camera token and four register tokens; the first frame’s tokens are distinct learnable parameters, which is how the network knows which camera defines the world frame (so , ). Cameras are predicted from the output camera tokens by four self-attention layers + a linear layer; dense outputs come from a DPT head followed by 3×3 convolutions, together with aleatoric uncertainty maps .
- Tracking head: a CoTracker2-style module correlates a query point’s feature against all other frames’ feature maps to output correspondences for arbitrary (unordered) image sets; and are trained jointly.
- Multi-task loss:
with Huber camera loss and uncertainty-weighted dense losses of the form (likewise for pointmaps).
- Over-complete predictions: cameras, depths, and pointmaps are interrelated (pointmap = depth + camera), yet predicting all of them during training measurably improves each; at inference, composing the depth and camera heads yields better 3D points than the dedicated pointmap head.
- Training: 160K AdamW iterations on 64 A100s over nine days, 2–24 frames per batch at up to 518 px, on 17 datasets (Co3Dv2, BlendMVS, DL3DV, MegaDepth, Kubric, WildRGB, ScanNet, HyperSim, Mapillary, Habitat, Replica, and others) — comparable in scale and diversity to MASt3R’s training mix.
Results
- Camera pose (10 random frames, AUC@30): CO3Dv2 88.2 and RealEstate10K (unseen in training) 85.3 in pure feed-forward mode at ~0.2 s — versus MASt3R 81.8 / 76.4 (~9 s), VGGSfM v2 83.4 / 78.9 (~10 s), and fast concurrent models Fast3R 82.5 / 72.7 and CUT3R 82.8 / 75.3. Feeding VGGT’s predictions to bundle adjustment as initialization raises this to 91.8 / 93.5 in ~1.8 s (no triangulation/iterative refinement needed).
- Multi-view depth (DTU, unknown cameras): overall Chamfer 0.382 vs DUSt3R 1.741 — approaching GeoMVSNet (0.295), which uses ground-truth cameras.
- Pointmaps (ETH3D): overall 0.677 (depth+camera composition) vs DUSt3R 1.005 and MASt3R 0.826 with global alignment — while running in 0.2 s instead of 7–9 s.
- Two-view matching (ScanNet-1500): AUC@5 33.9 vs RoMa 31.8 — despite the tracking head not being specialized for two-view matching.
- Pretrained VGGT features significantly enhance downstream tasks, including dynamic point tracking (fine-tuned CoTracker) and feed-forward novel view synthesis. Won the CVPR 2025 Best Paper award; code and models are public.
Why it matters for SLAM
VGGT validated the feed-forward foundation-model paradigm for 3D vision: a well-trained Transformer can stand in for an entire SfM/SLAM front-end (detection, matching, pose estimation, triangulation, dense depth). It extends the DUSt3R/MASt3R pointmap lineage from image pairs to arbitrary numbers of views, and immediately spawned SLAM systems built around it — VGGT-SLAM, VGGT-Geo, and others — where the network provides instant geometry and a lightweight backend supplies consistency. If you are exploring where SLAM is heading after hand-crafted geometry, this is the paper to read.
Related
- DUSt3R — pairwise pointmap regression that started this paradigm
- MASt3R — matching-aware successor to DUSt3R
- VGGT-SLAM — SLAM system using VGGT as its front-end
- VGGT-SLAM 2.0 — real-time successor with a redesigned backend
- VGGT-Geo — probabilistic fusion of VGGT priors for dense indoor SLAM
- VoT — Transformer-based visual odometry in the same trend