r/computervision • u/FirstPrinciplesRobot • 7d ago
Showcase How VGGT predicts cameras, depth and point maps from a photo stack in one pass
The core idea of VGGT (Visual Geometry Grounded Transformer; Wang, Chen, Karaev, Vedaldi, Rupprecht, Novotny, CVPR 2025), in text, for people who know the usual structure-from-motion pipeline but haven't read this paper:
The usual pipeline. Find the same features across photos, triangulate, then run bundle adjustment until the cameras and points agree. It is careful, and it is also a chain of steps: matching can fail on blank walls, shiny metal or repeating texture, and the solve can take a while.
The swap. VGGT is one feed-forward transformer that looks at the whole photo stack at once. That is the main difference from DUSt3R and MASt3R, which work on image pairs and then need a separate global-alignment cleanup (about 10 seconds a scene in the VGGT paper's telling). VGGT alternates frame-wise attention (within one photo) and global attention (across all photos) for 24 layers. Each frame carries one extra token that becomes the camera pose and intrinsics; the per-patch outputs become depth and a point map. Nobody wrote a triangulation step or a solver into the feed-forward path. It learned from seventeen collections of real and synthetic scenes where the cameras and geometry were already known.
Numbers, with context. The paper's main camera-pose test is RealEstate10K, held out of training, 10 random frames, AUC@30 (0–100), timed on one H100. A COLMAP+SuperPoint+SuperGlue baseline scores 45.2 in about 15 seconds. MASt3R scores 76.4 in about 9 seconds. Feed-forward VGGT scores 85.3 in about 0.2 seconds, about 45 times faster than MASt3R on that timing. If you then hand VGGT's guess to bundle adjustment as a starting point, the score goes to 93.5 in about 1.8 seconds. So the learned guess beats those baselines on this benchmark, and it is also a better place for the old math to start.
The fine print. "About a second" is for roughly 50 frames on a data-center GPU (about 1.04 seconds on one H100 in Table 9). 200 frames take about 8.75 seconds and 40.63 GB peak GPU memory on that same table — and those two figures are for the feature backbone only; each DPT head adds about 0.03 seconds and 0.2 GB per frame. Images are small, about 518 pixels on the long side (the Table 9 examples are 336×518). The output has shape, not true metric scale: it lives in the first camera's frame at a normalized scale. It does not support fisheye or panoramic cameras, it is worse under extreme rotations, and it fails on substantial non-rigid deformation. It is a fast first draft, not a survey.
For people who already run SfM: is a fast, scale-free first draft actually useful as a starting point for bundle adjustment, or is the missing metric scale the deal-breaker?
Paper: https://arxiv.org/abs/2503.11651 (arXiv:2503.11651, v1, Mar 14, 2025; arXiv non-exclusive distribution license). If you'd rather watch it, there's a 7-minute video version: https://youtu.be/CZngQrcpT4Y. Disclosure: it's our channel's video; narration and visuals made with AI tools; the script was researched and reviewed by the channel.
