Research map / Architectures and efficiency / Attention and transformers
Good Token Hunting: A Hitchhiker's Guide to Token Selection for Visual Geometry Transformers
Shuhong Zheng, Michael Oechsle, Erik Sandström, Marie-Julie Rakotosaona, Federico Tombari, Igor Gilitschenski
University of Toronto · Vector Institute · Google · Technical University of Munich
Read the paperPlace an idea next to itCheck your own paper ↗
Training-free two-stage token selection (diversity-based inter-frame FPS selection plus layer-adaptive intra-frame downsampling/local attention) that restricts key/value tokens in global attention of visual geometry transformers, speeding up VGGT and π³ by over 85% on 500-frame scenes while matching or improving accuracy.
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
Global attention in visual geometry transformers (VGGT, π³) scales quadratically with the number of input frames and tokens, making long multi-view sequences prohibitively slow for 3D reconstruction.
Approach
Restrict each query's key/value budget with hierarchical token selection: first pick a diverse set of K anchor frames via farthest point sampling over place-recognition features, then apply layer-dependent intra-frame strategies (local attention in earliest layers, spatial downsampling in diluted-attention layers, full tokens in spiking middle layers), guided by attention entropy analysis.
Key results
- On 7-Scenes camera pose, the σ=2 variant on VGGT achieves ATE 0.0673 vs. VGGT base 0.0698, with no training required.
- Accelerates visual geometry transformers by over 85% on scenes with 500 images while maintaining or improving baseline performance (abstract).
- Diversity-based (FPS) inter-frame selection substantially outperforms co-visibility and attention-based frame selection heuristics at K=25 frames.
On benchmark leaderboards
- TUM-dynamics camera pose leaderboard ATE 0.0115 · rank 4 of 12 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add diversity-based (FPS) inter-frame selection instead of intuitive frame selection (ablation) | VGGT · 7-Scenes | ATE | Improved |
| uniform intra-frame downsampling (sigma=2) in all global layers (ablation) | VGGT · 7-Scenes | ATE: 0.0698 -> 0.0831 | Hurt |
| keep high-attention tokens (Activation) instead of uniform Standard downsampling in layers 9-16 (ablation) | VGGT · 7-Scenes | ATE: 0.1234 -> 0.0711 | Improved |
| downsample early layers 0-8 (sigma=2) (ablation) | VGGT · 7-Scenes | ATE: 0.0698 -> 0.0676 | No clear effect |
| use local attention instead of mean pooling in earliest layers (ablation) | VGGT · Neural RGB-D | ATE: 0.0318 -> 0.0267 | Improved |
| token-level diversity selection (TLD) instead of standard downsampling (ablation) | pi3 · Bonn video depth | Abs Rel: 0.0340 -> 0.0290 | Improved |
| token-level diversity selection (TLD) instead of standard downsampling (ablation) | pi3 · 7-Scenes pose | ATE: 0.0580 -> 0.0576 | No clear effect |
| entropy-threshold adaptive layer partition (ablation) | VGGT · Neural RGB-D | ATE: 0.0270 -> 0.0261 | No clear effect |
| also downsample late layers starting at l_late=18 (sigma=3) (ablation) | VGGT · Neural RGB-D | ATE: 0.0293 -> 0.0412 | Hurt |
| add full GTH token selection to base VGGT | VGGT · Neural RGB-D | ATE: 0.0374 -> 0.0267 | Improved |
| vary l_local and l_sample thresholds (ablation) | VGGT · 7-Scenes | ATE: 0.0670 - 0.0681 | No clear effect |
| increase inter-frame budget K to 40-60 frames (ablation) | GTH · scene benchmarks | pose metrics | Mixed |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- FastVGGT — FastVGGT: Fast Visual Geometry Transformer (ICLR 2026) · better on 3 of 3 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Surprising findings
- Sparsifying tokens in global attention can improve over the full-attention base model, suggesting current visual geometry transformers are not optimally trained.
- Uniform intra-frame downsampling across all global attention layers causes noticeable degradation even at sigma=2, whereas early layers tolerate aggressive pruning.
Limitations
- Slightly slower than retrained LiteVGGT despite comparable acceleration
- Entropy-based adaptive layer partitioning and token-level diversity add overhead, so they were not adopted
- Late-layer intra-frame selection is sensitive to the threshold choice
Open problems this paper states
- “Late-layer intra-frame selection is sensitive to the threshold choice” → Token counts, ratios and thresholds are set by hand per dataset. (an open problem in token merging and masked pretraining)
- “Slightly slower than retrained LiteVGGT despite comparable acceleration” → Throughput is lower than a baseline despite the lower complexity. (an open problem in token merging and masked pretraining)
Open problems in token merging and masked pretraining
Do token merging and masked pretraining for ViTs keep their gains beyond small models and the tested domains?
- Token counts, ratios and thresholds are set by hand per dataset. · 7 papers state it
- Gains over the strongest baselines are small. · 7 papers state it
- Other domains and tasks such as detection and generation are untested. · 6 papers state it
Experimental setup
Datasets: 7-Scenes Neural RGB-D TUM-Dynamics Bonn
Benchmarks: 7-Scenes Neural RGB-D TUM-Dynamics Bonn
Metrics: ATE RPE-rot RPE-trans Accuracy Completion Normal Consistency Abs Rel RMSE Log RMSE Sq Rel
Baselines: FastVGGT SparseVGGT Co-Me LiteVGGT Speed3R AVGGT
Builds on: VGGT AVGGT DUSt3R farthest point sampling keyframe-based SLAM
Closest papers by meaning
- TurboVGGT: Fast Visual Geometry Reconstruction with Adaptive Alternating Attention (NeurIPS 2026 · similarity 0.88)
- LiteVGGT: Boosting Vanilla VGGT via Geometry-aware Cached Token Merging (CVPR 2026 · similarity 0.88)
- GTA: A Geometry-Aware Attention Mechanism for Multi-View Transformers (ICLR 2024 · similarity 0.87)
- How Many Tokens Do 3D Point Cloud Transformer Architectures Really Need? (NeurIPS 2025 · similarity 0.86)
- One Layer's Trash is Another Layer's Treasure: Adaptive Layer-wise Visual Token Selection in LVLMs (CVPR 2026 · similarity 0.86)
- Understanding Multi-View Transformers (NeurIPS 2026 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.