TL;DR
Visual geometry transformers enable fast, feed-forward 3D reconstruction but suffer from quadratic computational complexity over long image sequences due to their global attention layers. This paper introduces GoToHunt, a training-free, hierarchical token selection framework that prunes redundant frames and tokens before global attention is calculated. It slashes inference time by over 85% on 500-frame sequences while maintaining or even improving 3D reconstruction accuracy.
What Problem Does This Paper Address?
Multi-view 3D reconstruction has traditionally relied on slow, iterative optimization pipelines like bundle adjustment. Recently, Visual Geometry Transformers (such as VGGT and $\pi^3$) have emerged as a powerful alternative, predicting camera poses, depth maps, and 3D point clouds in a single forward pass.
However, these models scale poorly to long video sequences. Because their global attention layers force every spatial token in every image to interact with every other token across all views, the computational complexity scales quadratically: $O(N^2L^2)$, where $N$ is the number of input frames and $L$ is the number of tokens per frame. As sequence lengths grow into hundreds of frames, global attention becomes a massive bottleneck, causing inference times to skyrocket and triggering out-of-memory errors.
Existing acceleration methods either require expensive model retraining or rely on heavy, token-by-token inspections during inference. The authors of this paper set out to find a simple, training-free plug-in that limits the token budget intelligently without sacrificing geometric accuracy.
Methods
The authors propose GoToHunt, a two-stage hierarchical token selection strategy that operates in the Key/Value (K/V) space prior to global attention layers:
- Inter-frame Selection (Frame Level): Instead of letting queries look at all frames, the model selects a diverse subset of $K$ "anchor" frames. To do this efficiently without looking at individual tokens, it extracts global image features using a pre-trained place recognition model, builds a co-visibility distance matrix, and applies Farthest Point Sampling (FPS). This ensures maximum view-space coverage across the entire scene.
- Intra-frame Selection (Token Level): Within the selected anchor frames, the framework further discards redundant spatial tokens. Crucially, this pruning is layer-adaptive. The authors analyzed the entropy of global attention patterns across transformer layers and discovered that early layers exhibit highly diluted, near-uniform attention, while middle and late layers feature sharp, spiking attention maps. GoToHunt replaces global attention with cheap local attention in the very first layers, applies aggressive spatial downsampling in the diluted layers, and preserves tokens conservatively in the highly activated spiking layers.
Datasets
The method was evaluated across several dense multi-view and long-sequence benchmarks for camera pose estimation, 3D point cloud reconstruction, and video depth estimation:
- 7-Scenes: A standard indoor camera relocalization dataset, sampled every two frames to create long sequences of up to 500 frames per scene.
- Neural RGB-D: Used to evaluate dense 3D surface and point cloud reconstruction.
- TUM-Dynamics: A benchmark for evaluating camera pose estimation under dynamic conditions.
- Bonn: A full-length video dataset with long sequences ranging from 332 to 895 frames, utilized for video depth estimation.
Key Insights and Ideas
- Diversity Beats Similarity: Intuitively, one might think that selecting frames most similar or co-visible to the current frame would yield the best results. However, the authors show this causes severe performance drops. Selecting for maximum diversity via FPS provides a stable geometric "anchor set" that benefits the entire sequence globally.
- Attention Dilution: Global attention layers do not contribute equally throughout the network. In early layers, the attention entropy is close to 1, meaning the model is barely performing cross-view interaction. Skipping global attention entirely in these early stages saves massive compute with virtually zero penalty.
- Performance is Non-Monotonic with Budget: Counterintuitively, giving the model more frames to look at doesn't always improve accuracy. When the frame budget $K$ was expanded too far, performance actually degraded back toward the baseline model. A curated, diverse subset of frames acts as a cleaner geometric prior than a massive, noisy sequence of redundant frames.
Key Results
- Over 85% Speedup: For a 500-frame sequence using the VGGT baseline, GoToHunt cut inference time by over 85%—dropping from 288 seconds down to just 41.2 seconds.
- Accuracy Preservation (and Improvement): Unlike competing acceleration methods (like FastVGGT or LiteVGGT) which typically degrade accuracy, GoToHunt frequently improved upon the base model's performance. On the 7-Scenes dataset, it reduced the Absolute Trajectory Error (ATE) from 0.0698m (base VGGT) to 0.0673m.
- Robust Scaling without OOM: On the exceptionally long sequences of the Bonn dataset (>800 frames), competing training-free methods like SparseVGGT suffered from CUDA Out-Of-Memory (OOM) errors on a 48GB GPU. GoToHunt scaled reliably and linearly, outperforming the base model on depth estimation metrics.
Limitations and Future Work
- Feature Dependency: The inter-frame selection step relies heavily on the quality of features from the place recognition model. In highly symmetric, repetitive, or object-centric scenes where global features are ambiguous, frame selection performance may degrade.
- Bounded by the Base Model: Because GoToHunt is a training-free plug-in, its maximum reconstruction capability is strictly capped by the representational capacity of the underlying pre-trained transformer architecture.
- Extreme Kilometer-Scale Scenes: While GoToHunt excels at sequences of hundreds of frames, it still faces challenges on massive, kilometer-scale trajectories without being combined with orthogonal chunk-based or recurrent inference strategies. The authors suggest that future visual geometry transformers could integrate these layer-adaptive insights directly into the training phase to design inherently more efficient architectures.
Summary updated