betaFeedback

WorksComputer Science

SparSelect: Training-Free Sparse Attention for Efficient 3D Reconstruction

Abstract

Feed-forward 3D vision models such as VGGT have achieved remarkable progress, unifying camera estimation and dense scene reconstruction in a single pass. However, their quadratic global attention makes long image sequences expensive, while existing sparse methods may favor highly attended yet value-redundant regions. To address these limitations, we introduce SparSelect, a training-free sparse attention method combining value-aware block selection and key-guided prioritization. Our value-aware block selection integrates pooled query-key relevance with value contrast to select high-priority blocks, reducing redundancy while preserving query-relevant and distinctive content. Key-guided prioritization further refines block selection by grouping similar keys and prioritizing key features underrepresented in the initial selection. Experiments on 7Scenes and NeuralRGB-D demonstrate improved pose estimation and reconstruction quality compared with FasterVGGT, together with up to 2.27×2.27\times faster inference than dense VGGT. Code and evaluation scripts will be made available.

Introduction

Recovering three-dimensional geometry from images is increasingly becoming a problem of learned, feed-forward inference, building on Transformer representations [10, 29]. DUSt3R casts pairwise reconstruction as pointmap regression, and MASt3R connects this representation to dense image matching [15, 34]. VGGT jointly predicts camera parameters, depth, point maps, and tracks, while π3\pi^{3} develops permutation-equivariant geometry prediction without a designated reference view [32, 35]. These models make it possible to recover scene geometry from multiple images with a unified network. Extending this capability to longer inputs requires efficient computation as well as accurate predictions.

Global attention is a central obstacle to this scalability. Each query attends to keys from all input frames, so its computational cost grows quadratically with sequence length. Efficient exact-attention kernels reduce memory traffic and improve execution efficiency [8, 9]. Sparse attention further reduces this cost by computing attention over a subset of tokens. The question is how to choose which image regions to compute while preserving reconstruction quality.

Training-free acceleration offers several ways to reduce this cost. FastVGGT consolidates tokens through merging, FasterVGGT executes selected attention blocks, and AVGGT changes global-attention computation through layer adaptation and key/value subsampling [24, 26, 30]. Block-sparse attention keeps the original token features and computes attention only for selected blocks. Choosing these blocks well is essential to faster inference with accurate reconstruction.

Query–key relevance measures how strongly a block matches a query. Reconstruction also depends on the content carried by its values. Highly attended blocks can contain similar values, while other relevant blocks carry more distinctive information. Our visualizations show this contrast: strong attention and value contrast highlight different regions (§ 3.1). This motivates including value content in sparse selection, building on the role of values in attention approximation [12].

Keys provide another perspective on scene content. In our visualizations, key differences highlight the keyboard and chessboard even where value contrast is weak (§ 3.2). The attention, value, and key maps do not emphasize the same regions. Sparse selection can therefore benefit from considering both the content carried by values and the differences among key features.

We introduce SparSelect, a training-free sparse attention method with two stages: value-aware block selection and key-guided prioritization. Value-aware selection combines pooled query–key relevance with value contrast to identify high-priority blocks. Key-guided prioritization further refines the selection by grouping similar keys and checking which groups the selected blocks already represent. It gives greater priority to less-represented key features within the candidate pool. Together, the two stages select attention blocks at the requested sparsity.

Our contributions to selection-driven sparse attention are threefold:

  • We introduce value-aware block selection, combining query–key relevance with value contrast to identify distinctive, query-relevant content.

  • We develop key-guided prioritization, using key groups and the existing selection to prioritize less-represented features.

  • Experiments on 7Scenes and NeuralRGB-D [1, 25] show that SparSelect preserves reconstruction quality at high sparsity, improves quality over FasterVGGT, and achieves up to 2.27×2.27\times faster inference than dense VGGT.

Related Work

Feed-forward visual geometry. Classical reconstruction combines structure-from-motion and multi-view stereo, as in COLMAP [21, 22]. DUSt3R formulates pairwise reconstruction as pointmap regression, and MASt3R extends this formulation with dense matching features [15, 34]. VGGT predicts multiple geometric attributes jointly from image collections, while π3\pi^{3} removes the dependence on a fixed reference view through a permutation-equivariant architecture [32, 35]. Sequential methods maintain spatial memory or recurrent state, including Spann3R, CUT3R and Point3R [31, 33, 36]; TT3R adjusts state updates to improve length generalization [6]. StreamVGGT uses causal attention and cached keys and values, while InfiniteVGGT maintains a bounded rolling cache [39, 42]. We select attention blocks within pretrained multi-view geometry models.

Efficient and sparse attention. FlashAttention and FlashAttention-2 improve exact attention through IO-aware execution and better work partitioning [8, 9]. Sparse Transformers, Longformer and BigBird reduce interactions through structured sparsity [2, 7, 40]. Reformer groups tokens with locality-sensitive hashing [14]; ClusterAttention uses recursive clustering and mean-based compensation [18]. For inference, Quest estimates KV-page importance from queries and key statistics [28], MInference exploits head-specific sparse patterns [13], and BLASST selects blocks using online softmax statistics [38]. Our selector combines value content with the representation of key groups in the selected set.

Token and KV reduction. DynamicViT learns token pruning [19], EViT preserves attentive tokens and fuses less-attended ones [17], and TokenLearner learns compact visual tokens [20]. ToMe merges similar representations without additional training [3]. In autoregressive inference, H2OH_{2}O retains recent and high-attention tokens [41], SnapKV selects KV positions from a prompt observation window [16], and StreamingLLM retains attention sinks alongside recent tokens [37]. SparSelect keeps all queries and the original selected key/value representations, reducing block interactions rather than merging tokens or managing a decoding cache.

Training-free acceleration of geometry models. FastVGGT adapts token merging to visual geometry [24]. FasterVGGT estimates block relevance from pooled queries and keys and computes attention over selected blocks with optimized block-sparse kernels [30]. AVGGT studies the roles of global layers and combines early-layer adaptation with key/value subsampling [26]. For streaming reconstruction, GHOST uses predicted geometry to manage KV-token eviction [5]. QuantVGGT instead reduces numerical precision through post-training quantization [11]. We use value content and key-group statistics to determine which blocks receive computation.

Value-aware selection and key-group priorities. Value-aware Approximate Attention incorporates values when approximating attention outputs [12]. Random-hyperplane hashing provides an established, inexpensive way to group feature vectors by directional similarity [4]. SparSelect couples value-aware ranking with selection-aware key priorities: value contrast identifies distinctive, query-relevant content, and key-group counts refine selection.

Preliminaries and Motivation

Attention depends jointly on queries, keys, and values. We examine sparse selection through query–key relevance, value contrast, and differences in key features. For one layer and head, we write

P=softmax⁡(QK⊤d),O=PV,(1)P = \operatorname{softmax}\left(\frac{QK^{\top}}{\sqrt{d}}\right), \qquad O = PV, \tag*{(1)}

where dd is the feature dimension. To study the information provided by these signals, we inspect token-level features from the unmodified backbone in aligned image regions.

The two operations in Eq. (1) have different roles: QK⊤QK^{\top} determines how strongly a query attends to each token, while VV supplies the content being combined. Selecting only by attention strength therefore leaves the differences between the carried features unexamined. Sparse attention raises a broader question: which regions provide relevant information that is not already well represented elsewhere?

Value Contrast

For a spatial token ii, we measure its received attention and value contrast as

ai=1∣Q∣∑q∈QPqi,a_i = \frac{1}{|Q|}\sum_{q\in Q}P_{qi},
ci=1∣N(i)∣∑j∈N(i)[1−cos⁡(vi,vj)],(2)c_i = \frac{1}{|\mathcal{N}(i)|}\sum_{j\in\mathcal{N}(i)}\left[1-\cos(v_i,v_j)\right], \tag*{(2)}

where Q\mathcal{Q} denotes a set of sampled queries and N(i)\mathcal{N}(i) contains the spatial neighbors of token ii within the same frame.

Figure 3 shows this distinction in recognizable scene regions. In the first two rows, regions A cover part of a wall and a curtain. Both receive strong attention, yet their value contrast is low. Regions B highlight a different type of content: the chair outline beside the desk in the first row and the wooden chair back in the last row are prominent in the value-contrast map. The values change across these object boundaries even where attention is less pronounced. These patterns show that receiving strong attention and carrying distinctive value features are different properties. Attention measures query relevance, while value contrast describes differences in the content carried by values.

Attention, value contrast, and key differences across input scenes and feature maps

Figure 3. Attention, value contrast, and key differences emphasize different spatial regions. Columns show the input image, mean query–key attention, value contrast, and key differences. Each row shows one frame, with identical A/B/C boxes across columns. A marks strong attention with weak value contrast; B highlights value contrast near object boundaries; C highlights key differences in regions such as the keyboard and chessboard.

This distinction matters when only part of the attention is retained. Ranking regions by attention alone can favor many similar values while giving lower scores to other, more distinctive content. Value contrast provides another criterion: whether the compared regions carry different values. It helps distinguish a region’s relevance to the query from the differences in the content it carries.

The keyboard in the first row and the chessboard in the third row have high key-difference scores. These regions C are prominent in the key map but less visible in the value-contrast map. Regions B emphasize object outlines, while regions C highlight features within the objects. The maps also agree in some regions. Value contrast and key differences thus reveal both shared and distinct patterns in the same scene, providing two criteria for examining which content sparse attention retains.

The two measurements ask different questions. Value contrast compares the values of neighboring tokens; key differences compare a key with the reference keys. Similar values need not imply similar keys, and the two comparisons need not produce the same ranking. In these examples, the value and key maps emphasize different parts of the scene. Looking at both reveals feature differences that are not apparent from either map alone.

At a given sparsity, these observations become a selection problem. Choosing several highly attended regions can retain similar content, while choosing by value contrast alone can overlook key differences. Query–key relevance, value contrast, and key differences therefore offer three perspectives on which regions to retain. The question is not only which regions receive high scores, but also which features the selected regions represent. Sparse attention should use these signals together to decide which content to retain.

Key Differences

We also examine scene content through key differences. For each spatial token ii, we compare its key with a set of reference keys:

ui=1−max⁡j∈Rcos⁡(ki,kj),(3)u_i = 1 - \max_{j \in\mathcal{R}} \cos(\mathbf{k}_i,\mathbf{k}_j), \tag*{(3)}

where R\mathcal{R} contains spatial keys from ff reference frames. Larger uiu_i indicates a greater difference from the reference keys.

Method

Figure 4 summarizes the selection process. SparSelect selects attention blocks in two stages at a given sparsity. Value-aware block selection first retains high-priority blocks using query–key relevance and value contrast. Key-guided prioritization further refines the selection using key-group statistics, accounting for which features the initial selection already represents.

Figure 4. Overview of SparSelect. Pooled query–key relevance and value contrast produce a value-aware priority, which defines an initial selection and a larger candidate pool. Fixed random directions encode pooled keys into groups. Key-guided prioritization ranks candidate blocks using each group’s count in the initial selection together with its occurrence in the input. The initial and additional selections are combined into exactly NiN_i blocks for sparse attention. The matrix grids and colored groups are schematic.

Notation and selection unit. We describe one global-attention layer and one head, omitting their indices for clarity. Let QQ, KK, VV be its queries, keys, and values, with feature dimension dd. Patch tokens from the input frames are packed in frame order and divided into contiguous blocks. Selecting key block jj for query block ii means computing attention between the query tokens in ii and the key/value tokens in jj. Let NiN_i be the number of patch key blocks to retain at the requested sparsity, out of BB available key blocks. The two stages select exactly NiN_i blocks. Special-token protection is described in § 3.6.

Value-Aware Block Selection

The first stage identifies blocks that are relevant to the query and carry distinctive value content. We compute a value-aware priority from pooled query–key relevance and value contrast, then use it to form an initial selection and a larger candidate pool.

Query–key relevance. Let qˉi\bar{q}_i and kˉj\bar{k}_j be the mean query and key vectors of query block ii and key block jj. We obtain a lightweight relevance estimate from the pooled features:

Aij=exp⁡(qˉiTkˉj/d)∑t=1Bexp⁡(qˉiTkˉt/d).(4)A_{ij} = \frac{\exp(\bar{q}_i^{\mathsf{T}}\bar{k}_j/\sqrt{d})}{\sum_{t=1}^{B}\exp(\bar{q}_i^{\mathsf{T}}\bar{k}_t/\sqrt{d})}. \tag*{(4)}

Value contrast. Let vˉj\bar{v}_j be the mean value vector of key/value block jj. We pair consecutive blocks (1,2),(3,4),…(1, 2), (3, 4), \ldots in the packed token order. For either block jj in pair (a,b)(a, b), its contrast is

Δj=∥vˉa−vˉb∥22d.(5)\Delta_j = \frac{\lVert\bar{v}_a-\bar{v}_b\rVert_2}{2\sqrt{d}}. \tag*{(5)}

Similar mean values give low contrast. Each block in a pair remains individually selectable. Boundary handling is detailed in Appendix § 10.

We combine relevance and contrast as Wij=AijΔjW_{ij}=A_{ij}\Delta_j and use the bounded priority

Cij=min⁡(1,NiWij∑t=1BWit).(6)C_{ij}=\min\left(1,\frac{N_iW_{ij}}{\sum_{t=1}^{B}W_{it}}\right). \tag*{(6)}

If the denominator is zero, the row receives zero priority.

Initial selection and candidate pool. We retain an initial set of high-priority blocks and form a candidate pool for key-guided prioritization. Let Top⁡m(Ci)\operatorname{Top}_m(C_i) denote the first mm block indices in a common descending-priority ordering. Required protected patch blocks are placed first in this ordering and count toward NiN_i. We form

Mi=min⁡(B,⌈αNi⌉),Hi=⌈pNi⌉,Ai=Top⁡Mi(Ci),Ii=Top⁡Hi(Ci).(7)\begin{aligned} M_i&=\min(B,\lceil\alpha N_i\rceil),\qquad H_i=\lceil pN_i\rceil,\\ A_i&=\operatorname{Top}_{M_i}(C_i),\qquad I_i=\operatorname{Top}_{H_i}(C_i). \tag*{(7)} \end{aligned}

Here IiI_i is a prefix of candidate pool AiA_i, including when priorities tie. The parameters α\alpha and pp control the pool size and initial fraction.

Key-Guided Prioritization

Key-guided prioritization accounts for which key features are already represented in the initial selection IiI_i. We group pooled keys and compare each group’s occurrence in the input with the number of slots it occupies in IiI_i.

Encoding and grouping keys. For each layer and head, we sample bb Gaussian random directions r1,…,rb\mathbf{r}_1,\ldots,\mathbf{r}_b once and reuse them across frames and inputs. We take the dot product of each block’s mean key kˉj\bar{\mathbf{k}}_j with each random direction: a nonnegative result gives bit 1, and a negative result gives bit 0. Following random-hyperplane hashing [4], the resulting code is

g(j)=∑t=1b2t−11[kˉjTrt≥0].(8)g(j)=\sum_{t=1}^{b}2^{t-1}\mathbb{1}[\bar{\mathbf{k}}_j^{\mathsf{T}}\mathbf{r}_t\ge0]. \tag*{(8)}

Here 1[⋅]\mathbb{1}[\cdot] is 1 when its condition holds and 0 otherwise. The bb bits define up to 2b2^b key-feature groups, with blocks sharing a code assigned to the same group.

Counting frame occurrences. A block’s position in the packed input tells us which frame it belongs to. For each frame, we record which codes occur: multiple blocks with the same code produce only one presence mark. Let FF be the number of frames and Ff\mathcal{F}_f the key blocks lying entirely within frame ff. The number of frames containing group gg is

Rg=∑f=1F1[∃j∈Ff:g(j)=g].(9)R_g=\sum_{f=1}^{F}\mathbb{1}[\exists j\in\mathcal{F}_f:g(j)=g]. \tag*{(9)}

RgR_g is computed over all frame-contained key blocks, with one vote per frame for each group. Blocks crossing a frame boundary remain selectable and receive the count of their group.

Key-guided block selection. We next check how many blocks from each group are already in the initial selection IiI_i for query block ii:

nig=∑j∈Ii1[g(j)=g].(10)n_{ig}=\sum_{j\in I_i}\mathbb{1}[g(j)=g]. \tag*{(10)}

For each candidate j∈Ai∖Iij\in A_i\setminus I_i, we adjust its group’s occurrence by its representation in the initial selection:

Sij=Rg(j)1+ni,g(j).(11)S_{ij}=\frac{R_{g(j)}}{1+n_{i,g(j)}}. \tag*{(11)}

For the same RgR_g, groups with fewer initially selected blocks receive higher priority. The numerator weights this priority by frame occurrence, and the added 1 handles groups absent from the initial selection.

The initial selection stays unchanged. Let Ii\mathcal{I}_i contain the Ni−HiN_i - H_i highest-scoring candidates outside Ii\mathcal{I}_i. The final selection is

Si=Ii∪Ji,∣Si∣=Ni.(12)\mathcal{S}_i = \mathcal{I}_i \cup\mathcal{J}_i,\qquad|\mathcal{S}_i| = N_i. \tag*{(12)}

We rank these candidates once with fixed counts nign_{ig}; ties follow the value-aware order. Value-aware selection identifies priority candidates, and key-guided prioritization chooses additional blocks according to the initial selection. Settings are shared across sparsities (Appendix § 10).

Sparse Execution and Implementation

For each query block, we pass Si\mathcal{S}_i to the block-sparse attention kernel, retaining all query tokens and the original key/value features of the selected blocks. Attention involving camera/register tokens keeps its protected execution paths. The partial patch block at the packed patch/special-token boundary is retained within NiN_i.

Triton kernels implement code packing, frame-presence recording, recurrence reduction, and per-query prioritization. Codes and recurrence are shared across query blocks; each query block needs a group-count vector over its initial selection and a candidate-pool sort. The second stage operates on these pooled features and counts. The pretrained weights, prediction heads, and native sparse-execution settings are retained.

Experiments

Experimental Setup

Models and datasets. We evaluate VGGT [32] on the 18 official test sequences of 7Scenes [25] and nine sequences of NeuralRGBD [1]. We also evaluate π3\pi^3 [35] on the same 7Scenes test split. We use complete sampled sequences at the sparsities and strides shown in Table 1–Table 2.

MethodSparsity7Scenes ATE↓7Scenes RPE-t↓7Scenes RPE-r↓7Scenes Acc↓7Scenes Comp↓7Scenes NC↑NeuralRGBD ATE↓NeuralRGBD RPE-t↓NeuralRGBD RPE-r↓NeuralRGBD Acc↓NeuralRGBD Comp↓NeuralRGBD NC↑
Dense VGGT0%6.8713.1070.8601.7242.7790.651242.9661.6270.1801.2501.2640.84638
FasterVGGT55%7.9373.3220.9231.6952.8330.649684.8892.2020.3262.4321.7360.79170
SparSelect55%7.2203.1880.8801.7342.8040.649323.3591.9110.2551.4431.3590.82730
FasterVGGT60%8.0373.3890.9431.7062.8390.648795.3342.3390.3732.8161.9010.78258
SparSelect60%7.3183.2020.8851.7392.8230.648993.5561.8530.2251.5111.3910.82299
FasterVGGT65%8.1443.4650.9621.7362.8530.647335.9522.5780.4323.2362.1340.77649
SparSelect65%7.4443.2540.8911.7452.8200.648043.8341.9100.2401.5891.4480.81863
FasterVGGT75%8.4233.8131.0801.8072.8330.646037.2772.9970.5023.9382.3350.75645
SparSelect75%7.5393.3560.9341.7502.8110.647804.6572.0710.2721.8491.5940.80811
FasterVGGT85%9.0974.3331.2742.1152.9600.6420311.9393.9100.6675.5893.2760.74217
SparSelect85%8.1643.7071.0411.9042.9240.645917.4412.6300.3572.6142.0840.79510

Table 1. Main results on VGGT. Arithmetic means over 18 sequences of 7Scenes and nine of NeuralRGBD, using full sequences at kf=10k_f = 10. Dense VGGT is the full-attention reference. Distances are in cm and rotations in degrees. Bold compares the two sparse methods at each sparsity within each dataset.

MethodSparsity7Scenes (kf=5k_f = 5) ATE↓7Scenes (kf=5k_f = 5) RPE-t↓7Scenes (kf=5k_f = 5) RPE-r↓7Scenes (kf=5k_f = 5) Acc↓7Scenes (kf=5k_f = 5) Comp↓7Scenes (kf=5k_f = 5) NC↑7Scenes (kf=10k_f = 10) ATE↓7Scenes (kf=10k_f = 10) RPE-t↓7Scenes (kf=10k_f = 10) RPE-r↓7Scenes (kf=10k_f = 10) Acc↓7Scenes (kf=10k_f = 10) Comp↓7Scenes (kf=10k_f = 10) NC↑
Dense π3\pi^30%5.7481.5950.5062.0332.4740.811525.7072.4010.7682.0402.4760.81020
FasterVGGT55%6.1581.6710.5232.5732.5090.739346.1742.5410.8152.5922.5330.73886
SparSelect55%5.9311.6340.5122.2082.4230.777995.9542.4740.7902.2312.4430.77615
FasterVGGT65%6.4021.7210.5352.8572.5990.719516.4102.6160.8362.8822.6210.71943
SparSelect65%6.0621.6620.5172.2852.4480.767736.0742.5380.8022.3032.4650.76667
FasterVGGT75%6.7901.8190.5553.2122.7080.699546.8432.7740.8733.2442.7330.70031
SparSelect75%6.2121.7100.5252.3382.4760.760096.2312.6070.8162.3582.4990.75956
FasterVGGT85%7.4671.9920.6003.6122.8160.682677.5913.0410.9493.6562.8410.68416
SparSelect85%6.4241.8340.5422.3322.4790.758126.5362.7330.8402.3642.5160.75724

Table 2. Main results on π3\pi^3. Arithmetic means over all 18 official 7Scenes test sequences at two frame strides. Distances are in cm and rotations in degrees. Bold marks the better result at each sparsity and stride.

Baselines and metrics. We compare with FasterVGGT [30] on VGGT and its adaptation to π3\pi^3, and include both full-attention backbones. Metrics are reconstruction accuracy (Acc), completeness (Comp), normal consistency (NC), absolute trajectory error (ATE), and relative pose errors in translation (RPE-t) and rotation (RPE-r). Results average sequences equally; distances are in centimeters and rotations in degrees. Appendix § 10 details alignment, point sampling, and implementation.

Main Results

VGGT. Table 1 shows that SparSelect improves all six metrics over FasterVGGT on both datasets at 75% and 85% sparsity. At 75% on NeuralRGBD, Acc and ATE decrease by 53.0% and 36.0%, respectively. On 7Scenes, all three pose errors improve at every tested sparsity. At lower sparsities, Comp improves but Acc can increase slightly.

Transfer to π3\pi^3. Table 2 shows improvements in all six metrics over the FasterVGGT adaptation at all four sparsities and both frame strides. At 75% and kf=5k_f = 5, Acc decreases by 27.2% and NC increases by 8.7%, improving both reconstruction accuracy and normal consistency.

Qualitative comparison. The aligned details in Figure 5 show a more coherent window region and chair shape with SparSelect than FasterVGGT.

Figure 5. Reconstruction comparison at 75% sparsity. Ground truth, dense VGGT, FasterVGGT, and SparSelect are shown for Grey White Room, Breakfast Room, and Office. Each overview is paired with an enlarged view of the region marked in yellow. Corresponding views use the same framing within each scene, exposing differences around the window, tabletop objects, and chair.

Component Ablation

Table 3 compares FasterVGGT, value-aware selection, and SparSelect at 75% sparsity, retaining the same number of blocks.

BackboneDatasetMethodkfk_fATE↓\downarrowRPE-t↓\downarrowRPE-r↓\downarrowAcc↓\downarrowComp↓\downarrowNC↑\uparrow
VGGT7ScenesFasterVGGT108.4233.8131.0801.8072.8330.64603
Value-aware only107.9013.5210.9761.7792.8050.64748
Value-aware + Random107.7513.5140.9751.7702.7610.64622
Value-aware + Key-guided107.5393.3560.9341.7502.8110.64780
VGGTNeuralRGBDFasterVGGT107.2772.9970.5023.9382.3350.75645
Value-aware only105.5462.1210.3012.0541.7060.80411
Value-aware + Random105.0792.1720.2941.9381.5950.79402
Value-aware + Key-guided104.6572.0710.2721.8491.5940.80811
π3\pi^37ScenesFasterVGGT56.7901.8190.5553.2122.7080.69954
Value-aware only56.2861.7180.5282.5032.5180.74209
Value-aware + Key-guided56.2121.7100.5252.3382.4760.76009
π3\pi^37ScenesFasterVGGT106.8432.7740.8733.2442.7330.70031
Value-aware only106.2952.6230.8252.5252.5420.74197
Value-aware + Key-guided106.2312.6070.8162.3582.4990.75956

Table 3. Component ablation at 75% sparsity. All variants use the same final block budget. Random filling retains the initial value-aware selection and samples the remaining slots from the candidate pool. Its results average three seeds; each seed uses sequence-wise arithmetic means. Distances are in cm and rotations in degrees. Bold marks the best result within each backbone/dataset/stride setting.

Value-aware selection improves all six metrics over FasterVGGT in each setting. Key-guided prioritization further improves all six on NeuralRGBD and on π3\pi^3 at both strides, reducing Acc by 10.0% and 6.6%, respectively. It also lowers NeuralRGBD ATE by 16.0%. On VGGT/7Scenes, five improve while Comp increases by 0.2%. Figure 6 shows gains across sparsities. Appendices § 7–§ 9 give the score decomposition, block exchanges, and complete component results.

Figure 6. Gains over FasterVGGT at kf=10k_f = 10. Relative error reduction for Acc/ATE and relative NC increase, computed from dataset means. Higher is better.

Random filling. Key-guided ranking also improves all six NeuralRGBD metrics and five 7Scenes metrics over random filling. Random filling has lower Comp on 7Scenes. Appendix § 13 details this control.

Efficiency

Table 4. Full-model inference on RTX 5090 D. Times are in seconds for complete kf=10k_f = 10 sequences; parentheses give frame counts. Speedup is Dense/Ours. Dense uses full attention with a memory-efficient readout.

SequenceSparsityDenseFasterOursSpeedup
Office (100)75%7.8234.3704.4821.75×
Breakfast (117)75%10.1965.2975.4541.87×
Grey White (150)75%15.3977.2517.5062.05×
Office (100)85%7.8324.0574.1611.88×
Breakfast (117)85%10.1674.8565.0002.03×
Grey White (150)85%15.3616.5276.7722.27×

Table 4.

Table 4 times complete forwards, including selection, the backbone, and prediction heads. Dense uses full attention with a memory-efficient readout; Appendix § 13 details the timing procedure.

SparSelect reaches 2.27× speedup over Dense, with 2.55–3.76% overhead relative to FasterVGGT. At 75%, adding Key to value-aware selection costs only 0.63–0.72% in paired full-model measurements. Figure 2 shows higher normal consistency at comparable inference times.

Figure 2. Quality–latency comparison on NeuralRGBD. Percentage labels denote sparsity. Higher and further left is better. Latency is shown for reference.

Additional Comparisons

Tables 5–6 compare SparSelect with other VGGT accelerators, including FastVGGT [24] and GPA-VGGT [27], at comparable inference times on an RTX 5090 D. ETH3D [23] uses all 235 views from six outdoor training scenes. Evaluation and baseline preparation are described in Appendices § 10 and § 13.

On ETH3D, SparSelect improves all three reconstruction metrics over FasterVGGT and FastVGGT. On NeuralRGBD, it also improves all three metrics over FastVGGT and GPA-VGGT.

Conclusion

We introduced SparSelect, a training-free sparse attention method for efficient feed-forward 3D reconstruction. Value-aware block selection combines query–key relevance with value contrast to identify distinctive content. Key-guided prioritization groups similar keys and further refines the selection by accounting for features already represented among selected blocks. Experiments with VGGT and π3\pi^3 show improved reconstruction and pose estimation over FasterVGGT at high sparsity, with up to 2.27× faster inference than dense VGGT. These results highlight the benefit of using value content and key-feature representation together to guide sparse attention.

LLM Usage Statement

ChatGPT/Codex assisted with drafting, literature checks, implementation cross-checking, and editing the manuscript. The authors remain responsible for the technical content and its final verification.

Second-Stage Score Ablation

Protocol. We isolate the two terms of Eq. (11) at 75% sparsity and kf=10k_f = 10. All variants share the checkpoint, full input sequences, evaluator and final budget. The two-stage variants also share candidate-pool and initial-selection rules, random directions, protected blocks and tie order. Only the remaining-candidate score changes: RqR_q, 1/(1+nig)1/(1+n_{ig}), or their product. Counts stay fixed. We add 54 runs over the 27 sequences for the two single-term rules; the other controls reuse the matched main-paper results.

Accounting for the initial selection. Occurrence alone is not enough (Table 7). Relative to value-aware selection, RgR_g alone increases all three pose errors on 7Scenes. On NeuralRGBD, it improves reconstruction but increases ATE and RPE-t. In contrast, 1/(1+nig)1/(1+n_{ig}) reduces all three pose errors on both datasets. Accounting for the initial selection thus provides most of the observed pose benefit.

DatasetSelection ruleATE↓\downarrowRPE-t↓\downarrowRPE-r↓\downarrowAcc↓\downarrowComp↓\downarrowNC↑\uparrow
7ScenesValue-aware only7.9013.5210.97631.7792.8050.64748
Random filling (3 seeds)7.7513.5140.97471.7702.7610.64622
Occurrence only: RgR_g7.9123.5430.98881.7902.8120.64828
Initial-count only: 1/(1+nig)1/(1+n_{ig})7.5523.3830.94401.7572.8300.64780
Full priority: Rg/(1+nig)R_g/(1+n_{ig})7.5393.3560.93421.7502.8110.64780
NeuralRGBDValue-aware only5.5462.1210.30072.0541.7060.80411
Random filling (3 seeds)5.0792.1720.29421.9381.5950.79402
Occurrence only: RgR_g5.9562.1500.30072.0101.6550.80608
Initial-count only: 1/(1+nig)1/(1+n_{ig})4.7252.0920.26981.9591.6570.80834
Full priority: Rg/(1+nig)R_g/(1+n_{ig})4.6572.0710.27221.8491.5940.80811

Table 7. Decomposing the key-guided priority. VGGT at 75% sparsity and kf=10k_f = 10, using all 18 test sequences of 7Scenes and nine sequences of NeuralRGBD. Results are sequence-wise means; distances are in cm and rotations in degrees. Random filling averages three seeds. Bold marks the best displayed value per dataset, including ties.

What the numerator adds. Adding RgR_g further lowers Acc, Comp, ATE and RPE-t on both datasets. On NeuralRGBD, Acc decreases from 1.959 to 1.849 cm and Comp from 1.657 to 1.594 cm. The effect varies by metric: initial-count-only has slightly higher NC and lower RPE-r on NeuralRGBD; random filling has the lowest Comp on 7Scenes, and occurrence-only has the highest NC. The full score combines the count term’s pose gains with further reconstruction improvements.

Which Blocks Does Key Change?

A matched selection comparison. We inspect Breakfast Room (117 views) and Office seq-02 (100 views) at layer 15, head 7 (zero-based), using 75% sparsity and kf=10k_f = 10. With recorded Q/K/V, candidate pools and initial selections fixed, we compare continuing the value-aware ranking with key-guided selection at the same budget. Across all 1,757 query blocks, the former matches standalone value-aware top-kk on the same features, and replay reproduces every captured key-guided mask. Instrumentation preserves the original routing indices and outputs.

Reading the example. Figure 7 follows query block 473 in Breakfast Room. Both selections retain 355 initial blocks and fill 118 slots from a 710-candidate pool. Key-guided prioritization exchanges 79 blocks, keeping the final count at 473. Rows show the query view and the two views with the most changed patches. The bands are contiguous block footprints, not semantic segments.

Block exchanges under key-guided prioritization across RGB, initial selection, value-aware only, and SparSelect views

Figure 7. Block exchanges under key-guided prioritization. Breakfast Room, 75% sparsity, kf=10k_f = 10, layer 15/head 7 (zero-based), query block 473. Columns show RGB, the 355-block initial selection, value-aware selection and SparSelect. The latter two retain 473 blocks each, with 79 exchanges across 117 views. Teal marks the fixed initial blocks; blue marks shared additional blocks; magenta and orange mark blocks replaced and added, respectively. Yellow outlines the query footprint. Rows show the query view and the two views with the most changed patches.

Where the budget moves. Figure 8 summarizes the exchanges. Across 947 Breakfast Room queries, added blocks belong to groups with 7.48 initial members on average, versus 28.99 for replaced blocks, weighting each exchanged block equally. Office shows the same trend: 7.26 versus 52.49 across 810 queries. The exchanges favor groups with fewer representatives in the initial selection.

Bar charts showing initial group counts, all-query exchanges, and final selection effective group counts

Figure 8. How Key changes the selected groups. (a) Initial group counts for the 79 blocks replaced and 79 added in Figure 7. (b) Mean initial group counts, weighting each exchanged block equally, across all 947 Breakfast Room and 810 Office queries at layer 15/head 7. Added blocks tend to belong to less represented groups. (c) Median effective group count DiD_i of the final selections over the same queries.

Let pigp_{ig} be the selected fraction in group gg. The effective group count Di=1/∑gpig2D_i = 1/\sum_g p_{ig}^{2} has median 13.04 versus 15.27 in Breakfast Room, and 8.35 versus 10.96 in Office, for value-aware versus key-guided selection. Concentration decreases in 840/947 and 770/810 queries. These statistics describe one layer/head per sequence. With nign_{ig} fixed during filling, several candidates from one group can still be selected; lower concentration is observed, not enforced. Table 7 evaluates the end-to-end quality.

Full Component Ablations

We report component ablations at 55%, 65%, 75% and 85% sparsity, retaining the same sequence-wise averaging and metric definitions as the main text. Value-aware only uses the current priority for the entire budget; SparSelect adds key-guided prioritization. All three methods have the same final budget within each comparison.

MethodSparsity7ScenesNeuralRGBD
ATE↓RPE-t↓RPE-r↓Acc↓Comp↓NC↑ATE↓RPE-t↓RPE-r↓Acc↓Comp↓NC↑
FasterVGGT55%7.9373.3220.9231.6952.8330.649684.8892.2020.3262.4321.7360.79170
Value-aware only55%7.4703.2420.8841.7192.8300.650273.6661.8550.2301.5651.3770.82805
SparSelect55%7.2203.1880.8801.7342.8040.649323.3591.9110.2551.4431.3590.82730
FasterVGGT65%8.1443.4650.9621.7362.8530.647335.9522.5780.4323.2362.1340.77649
Value-aware only65%7.5993.3000.9051.7382.8290.649214.1031.9430.2571.6981.4940.82004
SparSelect65%7.4443.2540.8911.7452.8200.648043.8341.9100.2401.5891.4480.81863
FasterVGGT75%8.4233.8131.0801.8072.8330.646037.2772.9970.5023.9382.3350.75645
Value-aware only75%7.9013.5210.9761.7792.8050.647485.5462.1210.3012.0541.7060.80411
SparSelect75%7.5393.3560.9341.7502.8110.647804.6572.0710.2721.8491.5940.80811
FasterVGGT85%9.0974.3331.2742.1152.9600.6420311.9393.9100.6675.5893.2760.74217
Value-aware only85%8.1033.8891.0541.9172.8650.645727.7282.6800.3662.8402.2000.79011
SparSelect85%8.1643.7071.0411.9042.9240.645917.4412.6300.3572.6142.0840.79510

Table 8. Complete VGGT component ablation. Full sequences at kf=10k_f = 10, averaged over 18 sequences of 7Scenes and nine of NeuralRGBD. SparSelect uses Value-aware + Key-guided selection. Distances are in cm and rotations in degrees. Bold marks the best displayed value within each dataset and sparsity.

MethodSparsity7Scenes (kf=5k_f = 5)7Scenes (kf=10k_f = 10)
ATE↓RPE-t↓RPE-r↓Acc↓Comp↓NC↑ATE↓RPE-t↓RPE-r↓Acc↓Comp↓NC↑
FasterVGGT55%6.1581.6710.5232.5732.5090.739346.1742.5410.8152.5922.5330.73886
Value-aware only55%6.0281.6420.5162.3752.4520.756186.0162.4890.8012.3962.4730.75552
SparSelect55%5.9311.6340.5122.2082.4230.777995.9542.4740.7902.2312.4430.77615
FasterVGGT65%6.4021.7210.5352.8572.5990.719516.4102.6160.8362.8822.6210.71943
Value-aware only65%6.1631.6720.5212.4662.4920.747176.1272.5420.8112.4852.5100.74682
SparSelect65%6.0621.6620.5172.2852.4480.767736.0742.5380.8022.3032.4650.76667
FasterVGGT75%6.7901.8190.5553.2122.7080.699546.8432.7740.8733.2442.7330.70031
Value-aware only75%6.2861.7180.5282.5032.5180.742096.2952.6230.8252.5252.5420.74197
SparSelect75%6.2121.7100.5252.3382.4760.760096.2312.6070.8162.3582.4990.75956
FasterVGGT85%7.4671.9920.6003.6122.8160.682677.5913.0410.9493.6562.8410.68416
Value-aware only85%6.4631.8210.5393.2892.4840.750296.5262.7470.8462.4182.5160.74923
SparSelect85%6.4241.8340.5422.3322.4790.758126.5362.7330.8402.3642.5160.75724

Table 9. Complete π3\pi^3 component ablation. All 18 official 7Scenes test sequences at both strides. The baseline is the FasterVGGT adaptation to π3\pi^3. Units and boldface follow Table 8.

Reading the complete ablations. On NeuralRGBD, adding Key lowers Acc, Comp and ATE at all four sparsities. On π3\pi^3, Acc, Comp and NC improve at both strides and all four sparsities (the Comp difference at 85%, kf=10k_f = 10, rounds to a tie). For VGGT on 7Scenes at 85%, Comp and ATE are slightly higher than with value-aware selection alone. The full tables show these differences alongside the gains.

Implementation and Evaluation Details

Table 10. Random-fill results by seed. VGGT, 75% sparsity, kf=10k_f = 10. Each row is a full-dataset arithmetic mean over 18 sequences (7Scenes) or nine (NeuralRGBD). Distances are in cm and rotations in degrees.

DatasetSeedATE↓\downarrowRPE-t↓\downarrowRPE-r↓\downarrowAcc↓\downarrowComp↓\downarrowNC↑\uparrow
7Scenes811737.7313.5310.9801.7692.7630.64632
7Scenes811747.7503.5200.9811.7722.7600.64630
7Scenes811757.7713.4920.9631.7702.7610.64604
NeuralRGBD811735.1172.1880.2941.9401.5970.79429
NeuralRGBD811744.9532.1500.2891.9561.6080.79487
NeuralRGBD811755.1672.1770.3001.9181.5790.79291

Table 10. Random-fill results by seed. VGGT, 75% sparsity, kf=10k_f = 10. Each row is a full-dataset arithmetic mean over 18 sequences (7Scenes) or nine (NeuralRGBD). Distances are in cm and rotations in degrees.

One rule across sparsities. Table 11 summarizes the selection settings. The candidate-pool multiplier, initial-selection fraction and number of projection directions are fixed across the reported sparsities and backbones. The final block budget scales with the requested sparsity.

SettingValue
Query block size128 tokens
Key/value block size64 tokens
Candidate-pool multiplier α\alpha1.5
Initial-selection fraction pp0.75
Random directions per layer/head bb9
Maximum number of key groups512
Additional frame capNone

Table 11. Selection settings used in the experiments.

Group construction and counts. Each layer/head uses fixed Gaussian directions, generated with seed 20261106 + 100ℓ+h100\ell+h, where layer ℓ\ell and head hh are zero-based. The same directions are reused across inputs. The numerator RgR_g counts the frames containing a group among all frame-contained key blocks. The denominator counts only members in the current query block’s initial selection. Neither statistic is recomputed after adding each remaining block. Ties in the second-stage score follow the original value-aware candidate order. Each candidate is scored using its initial group count, so multiple blocks from one group can occupy the remaining slots.

Execution and protected tokens. Selected blocks are passed to the original sparse executor with their token-level keys and values. Camera/register-token interactions retain their protected execution paths. The partial patch block at the patch/special-token boundary also stays protected, with its slot counted inside the patch budget. An unmatched final value block is paired with itself and has zero contrast. Keys are grouped for selection only; all query tokens and the original selected key/value representations remain in attention.

Full-sequence evaluation. All indoor results use complete sampled sequences. VGGT is evaluated on 18 official 7Scenes test sequences and nine NeuralRGBD sequences at kf=10k_f = 10; π3\pi^3 uses all 18 7Scenes sequences at kf∈{5,10}k_f \in\{5, 10\}. Each sequence has equal weight in a dataset mean, irrespective of its length. Accuracy and completeness are nearest-neighbor distance measures, NC measures normal agreement, and the pose metrics are computed on the same sampled frame indices within each comparison.

Alignment and point evaluation. The VGGT indoor protocol uses scale-and-shift alignment, a 224-pixel center crop and all valid points. The π3\pi^3 protocol uses sequence-level Sim(3) alignment and the matched deterministic 200,000-point sample. Both use ICP with a 0.1 m correspondence threshold. The protocol is fixed across methods within each backbone. ETH3D instead uses all valid pixels at 392 × 518, without cropping or point caps, for all 235 images in the six outdoor scenes.

Random-fill variation. The random control locks the same initial selection and samples the remaining slots uniformly without replacement. Table 10 lists the per-seed dataset means used for the three-seed averages in the main text. These are repeats of the random selector, not repeats of the deterministic SparSelect configuration.

Baseline preparation and availability. GPA-VGGT [27] is the training-free geometry-preserving accelerator. AVVGT’s [26] official code was unavailable for our evaluation as of 11 November 2026.

Teaser normalization. Figure 1 plots dataset-mean ratios edense/emethode_{\mathrm{dense}}/e_{\mathrm{method}} for errors and NCmethod/NCdense\mathrm{NC}_{\mathrm{method}}/\mathrm{NC}_{\mathrm{dense}} for NC; larger is better. Radar plots and Kitchen use 75% sparsity; Stairs and Heads use 85%. Both sparse methods use the same sparsity within each scene. All panels use kf=10k_f = 10.

Figure 1. Reconstruction with prioritized sparse attention. Left: RGB and matched reconstructions of Kitchen, Stairs, and Heads. Red boxes mark shared regions. Right: dataset-level geometry quality relative to dense VGGT. Larger values indicate better quality.

Budget-Allocation Sensitivity

The two stages share a fixed final budget NiN_i. The candidate pool contains up to ⌈αNi⌉\lceil\alpha N_i \rceil blocks, and the initial selection locks Hi=⌈pNi⌉H_i = \lceil pN_i \rceil blocks before key-guided prioritization fills the remaining Ni−HiN_i - H_i slots. Reducing pp gives the Key stage more of the same budget; increasing α\alpha gives it more candidates to choose from. Table 12 reports complete-sequence results while keeping the checkpoint, input frames, projection directions, scoring rule, and attention executor fixed.

Sparsityα\alphappAcc↓\downarrowComp↓\downarrowNC↑\uparrowATE↓\downarrowRPE-t↓\downarrowRPE-r↓\downarrow
7Scenes (18 sequences)
65%1.50.75†0.75^{\dagger}1.7452.8200.648047.4443.2540.8912
65%1.50.51.7292.7810.648677.2603.2620.9013
75%1.50.75†0.75^{\dagger}1.7502.8110.647807.5393.3560.9342
75%1.50.51.7092.7850.648417.4483.3620.9351
75%1.50.6251.7182.8060.647977.5063.3740.9430
75%1.750.6251.7372.7820.647907.3413.3230.9300
85%1.50.75†0.75^{\dagger}1.9042.9240.645918.1643.7071.0410
85%1.50.51.9232.8520.645828.0943.9371.0624
85%1.50.6251.9032.8790.646458.2493.8361.0582
85%1.50.8751.8762.8450.645987.8693.7721.0551
NeuralRGBD (9 sequences)
65%1.50.75†0.75^{\dagger}1.5891.4480.818633.8341.9100.2398
65%1.50.51.4841.3850.812033.7501.9380.2284
75%1.50.75†0.75^{\dagger}1.8491.5940.808114.6572.0710.2722
75%1.50.51.7351.5170.809084.7322.1220.2751
75%1.50.6251.7801.5630.804604.6192.0950.2720
75%1.750.6251.7901.5550.800044.9242.1000.2810
85%1.50.75†0.75^{\dagger}2.6142.0840.795107.4412.6300.3568
85%1.50.52.9792.1020.793678.0832.7270.3770
85%1.50.6252.8272.1050.793127.8142.6330.3693
85%1.50.8752.6732.0940.787127.4732.5860.3660

Table 12. Budget-allocation sensitivity on complete sequences. VGGT at kf=10k_f = 10. Distances are in cm and rotations in degrees. α\alpha controls the candidate pool; pp controls the initial selection. † denotes the unchanged main-paper setting (α,p)=(1.5,0.75)(\alpha, p) = (1.5, 0.75). Every row uses the same final budget at its sparsity.

More room for key-guided selection. At 65% and 75% sparsity, reducing pp from 0.75 to 0.5 lowers both Acc and Comp on both datasets. On NeuralRGBD, Acc decreases by 6.6% and 6.1%, and Comp by 4.4% and 4.9%, respectively. On 7Scenes, ATE decreases from 7.444 to 7.260 cm at 65%, and from 7.539 to 7.448 cm at 75%. The same change does not improve every metric: NeuralRGBD ATE increases from 4.657 to 4.732 cm at 75%.

The split matters at higher sparsity. At 85%, reducing pp to 0.5 worsens all six NeuralRGBD metrics, whereas increasing it to 0.875 improves 7Scenes Acc, Comp and ATE relative to the default. A larger pool also has mixed effects: (α,p)=(1.75,0.625)(\alpha, p) = (1.75, 0.625) improves all six 7Scenes metrics at 75%, but reduces NeuralRGBD NC and increases its pose errors. These results show the trade-off between retaining high-ranked value-aware candidates and reallocating slots using Key. The main experiments retain one setting, (α,p)=(1.5,0.75)(\alpha, p) = (1.5, 0.75), across sparsities and backbones.

Evaluation order. These are exploratory sensitivity experiments. Configurations were first screened at 75% on three sequences per dataset, then the three alternatives shown in the table were evaluated on the remaining sequences. The p=0.5p = 0.5 variant was extended to 65% and 85%; p=0.625p = 0.625 and 0.875 were subsequently tested at 85%. All table entries average the complete 18-sequence or nine-sequence dataset, with equal weight per sequence and no added frame cap.

Peak GPU Memory

We measure the memory cost of key-guided prioritization using the full VGGT forward on an NVIDIA GeForce RTX 5090 D. Table 13 compares value-aware selection alone with PyTorch and Triton implementations of the same two-stage rule. Inputs are the first 50 or 100 stride-10 views of Chess/seq-03 at 392 × 518, with BF16 autocast and TF32 disabled.

FramesSelectorTime (s)Allocated (GiB)Reserved (GiB)Δ alloc. (MiB)
50Value-aware only1.978510.136313.7285–
50SparSelect (PyTorch)1.992710.136313.7285+0.03
50SparSelect (Triton)1.986310.137113.7285+0.85
100Value-aware only4.454513.970015.3613–
100SparSelect (PyTorch)4.506713.972315.3613+2.35
100SparSelect (Triton)4.482813.971615.3613+1.69

Table 13. Peak GPU memory and full-forward latency. VGGT, 75% sparsity, Chess/seq-03, RTX 5090 D. Entries are medians over seven warmed forwards per method. The last column subtracts the value-aware-only allocated peak.

Measurement. Each method is warmed separately. Seven timed forwards are interleaved, and each follows an untimed forward that checks its selection and output. CUDA peak counters are reset immediately before each timed forward; the allocator cache is retained. Allocated memory is the peak storage occupied by live tensors, while reserved memory includes the caching allocator’s retained blocks. Both are reported in GiB. The measured forward includes pooling, grouping, selection, sparse attention, the backbone and prediction heads. Input loading, compilation and output checks are outside the timing.

Incremental cost. Relative to value-aware selection alone, the Triton implementation adds 0.85 MiB and 1.69 MiB to the allocated peak for 50 and 100 views, respectively. Reserved peaks are unchanged within this benchmark. The PyTorch and Triton implementations produce identical selected masks, compact indices, and final pose/world-point output bytes at both lengths. Their different memory peaks therefore reflect implementation cost rather than a change to the selection rule.

Changing the budget split. Table 14 measures the p=0.75p = 0.75 and p=0.5p = 0.5 settings in a separate three-round benchmark on complete sampled sequences. The allocated peaks are equal within each sequence, and the displayed latencies differ by less than 2 ms. Changing the split alters which blocks fill the fixed budget without increasing the number of executed blocks.

SequenceFramesppTime (s)Peak allocated (GiB)
Chess/seq-031000.754.462313.9593
Chess/seq-031000.54.461513.9593
Breakfast Room1170.755.430515.2796
Breakfast Room1170.55.428615.2796

Table 14. Memory under a different budget split. VGGT, 75% sparsity, α=1.5\alpha= 1.5, full kf=10k_f = 10 sequences, RTX 5090 D. Entries are medians over three warmed rounds per setting.

Kernel checks. The measured Triton implementation packs the nine projection signs, accumulates frame-presence statistics, and computes query-specific group counts and priorities. Mean pooling, candidate selection and the sparse attention executor remain in the forward path. Checks cover exact budgets, retained initial selections, protected tokens, tied scores and compact-index agreement with the PyTorch reference. Peak counters are collected during inference, not during reconstruction-metric computation.

Dense timing and capacity. Table 4 interleaves sparse methods and excludes loading and evaluation. Dense point-map and sparse pose/point-map hashes match the quality runs. With the same inputs and checkpoint, unmodified official VGGT (first release, commit 40eb1c5) runs out of memory on all three sequences. Speedups use the memory-efficient full-attention baseline.

Additional Experimental Details

Random selection control. The random-fill control uses the same VGGT candidate pool AiA_i and initial selection IiI_i as SparSelect. It fills the remaining Ni−HiN_i - H_i slots uniformly without replacement from Ai∖IiA_i \setminus I_i. We evaluate three seeds on all 18 official 7Scenes test sequences and nine NeuralRGBD sequences at kf=10k_f = 10 and 75% sparsity. We first average sequences within each seed, then average the three seed means. Table 10 reports the individual seed means; Appendix § 7 compares the filling rules.

Dense π3\pi^3 reference. The dense rows use the unmodified official π3\pi^3 model with full attention, its first-release checkpoint, and BF16 autocast. We evaluate all 18 sequences at both strides without a frame cap, using the same input images and weights as the sparse runs. Input and checkpoint hashes are checked per sequence. The six metrics use the π3\pi^3 alignment and point-sampling procedure in Appendix § 10; each stride is averaged over 18 sequences.

Full-model timing. Table 4 uses an RTX 5090 D with BF16 autocast and 392×518392 \times518 inputs. We time complete model forwards, including selection, the backbone, and prediction heads, with CUDA synchronization. Data loading and geometric evaluation are excluded. Each reported time is the median of five forwards after two warm-ups. The three rows at each sparsity are separate sequence measurements, not a dataset mean. Appendix § 12 describes the dense implementation and reports peak GPU memory.

Axes in the quality–latency plot. Figure 2 reports NC averaged equally over the nine NeuralRGBD sequences. Its latency axis uses Breakfast Room alone: all 117 frames sampled at kf=10k_f = 10, evaluated on the RTX 5090 D. Thus, the vertical axis summarizes dataset quality, while the horizontal axis compares inference time on a common sequence. The 75% SparSelect and FasterVGGT times are from Table 4; the other points use the median of three synchronized forwards after two warm-ups.

Additional-baseline evaluation. Table 5 and Table 6 use the VGGT checkpoint and the same sampled images within each benchmark. FastVGGT uses merging ratio 0.90; GPA-VGGT uses its released configuration. The ETH3D comparison evaluates all valid pixels at 392×518392 \times518 without cropping or point caps. Appendix § 10 gives the indoor reconstruction protocols and baseline availability.

MethodAcc↓Comp↓NC↑
FasterVGGT25.1817.160.788
FastVGGT (0.90)22.5415.210.736
SparSelect21.2514.760.804

Table 5. Outdoor reconstruction on ETH3D. Six-scene means; distances in cm.

MethodAcc↓Comp↓NC↑
FastVGGT (0.90)1.6641.5810.575
GPA-VGGT1.7841.5280.573
SparSelect1.5891.4480.819

Table 6. Additional baselines on NeuralRGBD. Nine-sequence means at kf=10k_f = 10; distances in cm.

Interpreting Key-Guided Prioritization

Value-aware selection scores individual candidates. Key-guided prioritization also considers how many blocks with similar key features are already selected. The denominator in Eq. (11) has a simple interpretation: another block from a well-represented group receives a smaller additional reward. Below we make this interpretation explicit and summarize the one-pass implementation.

A Selection-Conditioned Score

Fix the candidate pool, key groups and nonnegative occurrence weights RgR_g for one query block ii. For a selected set SS, let ng(S)n_g(S) count its members in group gg. Define

Φ(S)=∑gRgh(ng(S)),h(n)=∑t=1n1t,h(0)=0.(13)\Phi(S) = \sum_g R_g h(n_g(S)), \qquad h(n) = \sum_{t=1}^{n} \frac{1}{t}, \qquad h(0) = 0. \tag*{(13)}

This assigns a group rewards RgR_g, Rg/2R_g/2, Rg/3R_g/3, and so on as more of its blocks are selected. It allows repeated representation, but each additional member contributes less than the previous one.

Single-block increment. For an unselected candidate jj, only the count of group g(j)g(j) changes:

Φ(S∪{j})−Φ(S)=Rg(j)1+ng(j)(S).(14)\Phi(S \cup\{j\}) - \Phi(S) = \frac{R_{g(j)}}{1+n_{g(j)}(S)}. \tag*{(14)}

The identity follows directly from h(n+1)−h(n)=1/(n+1)h(n+1)-h(n)=1/(n+1). At the initial selection S=IiS=\mathcal{I}_i, the increment is exactly the implemented priority SijS_{ij}. For the same occurrence weight, a group with fewer initial members has greater priority. The occurrence weight scales that reward; Appendix § 7 separates its contribution from the count term experimentally.

One-pass selection. Our implementation evaluates these increments at Ii\mathcal{I}_i once. For J⊆Ai∖Ii\mathcal{J} \subseteq\mathcal{A}_i \setminus\mathcal{I}_i with ∣J∣=Ni−Hi|\mathcal{J}|=N_i-H_i, selecting the highest-scoring candidates maximizes the fixed-score sum

Li(J)=∑j∈JRg(j)1+ni,g(j).(15)L_i(\mathcal{J}) = \sum_{j \in\mathcal{J}} \frac{R_{g(j)}}{1+n_{i,g(j)}}. \tag*{(15)}

This batches the marginal priorities into one ranking. If several candidates share a group, they use the same initial count rather than updating it after each choice. Thus the harmonic reward explains the score, while the implemented selection uses its fixed initial increments. The reward concerns representation of key groups; reconstruction quality is evaluated by the component ablations.

Preserving the initial selection. Let SVS_V continue the value-aware order and SKS_K use Key to fill the remaining slots. Both retain Ii\mathcal{I}_i and contain NiN_i blocks, so

∣SK∖SV∣≤Ni−Hi.(16)|S_K \setminus S_V| \le N_i-H_i. \tag*{(16)}

With Hi=⌈0.75Ni⌉H_i=\lceil0.75N_i\rceil, at least three quarters of the selected blocks remain fixed. Key changes the allocation of the remaining slots.

Algorithm and Additional Work

Algorithm 1 summarizes selection for one layer and head. Group construction and occurrence counts are shared across query blocks; initial-selection counts are specific to each query.

Input: pooled keys Kˉ\bar{K}, value priorities CC, retained counts NiN_i, fixed directions, frame membership.

Shared across queries

  1. Encode each pooled key into its bb-bit group g(j)g(j).

  2. Record one presence per frame and group; sum to obtain RgR_g.

For each query block ii

  1. Set Mi=min⁡(B,⌈αNi⌉)M_i=\min(B,\lceil\alpha N_i\rceil) and Hi=⌈pNi⌉H_i=\lceil pN_i\rceil.

  2. Form ordered pool Ai=Top⁡Mi(Ci)\mathcal{A}_i=\operatorname{Top}_{M_i}(C_i) and retain its first HiH_i entries as Ii\mathcal{I}_i.

  3. Count ni,gn_{i,g} using only j∈Iij\in\mathcal{I}_i.

  4. Score each remaining candidate by Rg(j)/(1+ni,g(j))R_{g(j)}/(1+n_{i,g(j)}).

  5. Take the highest Ni−HiN_i-H_i scores as Ji\mathcal{J}_i; break ties by their order in Ai\mathcal{A}_i.

  6. Return Si=Ii∪JiS_i=\mathcal{I}_i\cup\mathcal{J}_i to sparse attention.

Algorithm 1. Two-stage block selection. The ordered pool follows Eq. (7), including its protection and tie rules.

Shared preprocessing. With BB pooled keys of dimension dd, encoding costs O(Bdb)O(Bdb). The frame-presence table has F×GF\times G entries, where G=2bG=2^b. Recording and reducing it costs O(B+FG)O(B+FG). For b=9b=9, the same 512 group weights are reused by all queries in the head. No pairwise key matching is required.

Per-query work. Counting the initial members and evaluating candidate priorities take O(G+Mi)O(G+M_i) work before a single candidate-pool sort. The Triton implementation sorts packed priorities with the original candidate position as the tie key. It does not run an iterative selection loop. Pooling, value-aware candidate formation, compact-index construction and sparse attention remain in the full forward path measured in Table 4. Appendix § 12 reports the measured memory cost and PyTorch/Triton agreement.

Selection Behavior across Scenes and Layers

Sampling and replay. We inspect Chess/seq-03, Pumpkin/seq-01 and Stairs/seq-04 from 7Scenes, and Breakfast Room, Kitchen and White Room from NeuralRGBD. These are the first, middle and last entries of each dataset’s sorted sequence list. Their complete stride-10 inputs contain 100, 100, 50, 117, 152 and 168 views. We capture layers 0, 4, 8, 12, 16, 20 and 23, and heads 0, 7 and 15, all zero-based.

The 126 combinations provide 116,823 query-level count records. For selection replay, each combination saves the ordered candidate pools and selected blocks of 32 equally spaced queries. The comparison therefore uses 4,032 query–layer–head records, not all available count records. Replaying the Key rule reproduces all 4,032 captured selections, including the initial and protected blocks. Continuing the same pool order provides the value-aware comparison.

Which blocks are exchanged? In every scene, added blocks belong to groups with fewer initial members on average than replaced blocks (Figure 9a). The means range from 5.65 to 9.70 for added blocks and from 18.26 to 53.20 for replaced blocks. Mean exchanges account for 16.4–17.5% of the final selection across the six scenes, within the bound in Eq. (16).

Figure 9. Key-guided selection across six scenes. VGGT at 75% sparsity and kf=10k_f = 10. (a) Mean initial group counts of replaced and added blocks, weighting each exchanged block equally within a scene. (b) Median effective group count over 672 sampled query–layer–head records per scene; larger means less concentration in a few groups. (c) Fraction of queries with lower concentration than value-aware continuation, over 96 records per scene/layer (three heads and 32 queries each). All panels use fixed candidate pools and initial selections.

How the final selection changes. For final group fractions pigp_{ig}, we use the effective group count Di=1/∑gpig2D_i = 1 / \sum_g p_{ig}^{2}. Its scene-level median increases in all six scenes (Figure 9b). Concentration decreases in 3,489 of the 4,032 records (86.5%), is unchanged in one, and increases in 542. The layer-wise view in panel (c) shows the variation: the decrease occurs in 38.5% of Pumpkin’s layer-8 records but in all sampled Kitchen layer-0 records. Fixed initial counts guide selection toward less-represented groups without enforcing uniform coverage. These replay statistics describe the selection mechanism; the full component results in Appendix § 9 measure its effect on reconstruction and pose estimation.

References

  1. [1]Dejan Azinović, Ricardo Martin-Brualla, Dan B Goldman, Matthias Nießner, and Justus Thies. Neural RGB-D Surface Reconstruction. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6280–6291, 2022. 2, 6
  2. [2]Iz Beltagy, Matthew E. Peters, and Arman Cohan. Longformer: The Long-Document Transformer. arXiv preprint arXiv:2004.05150, 2020. 2arxiv.org/abs/2004.05150
  3. [3]Daniel Bolya, Cheng-Yang Fu, Xiaoliang Dai, Peizhao Zhang, Christoph Feichtenhofer, and Judy Hoffman. Token Merging: Your ViT But Faster. In International Conference on Learning Representations, 2023. 2arxiv.org/abs/2210.09461
  4. [4]Moses S. Charikar. Similarity Estimation Techniques from Rounding Algorithms. In Proceedings of the Thirty-Fourth Annual ACM Symposium on Theory of Computing, pages 380–388, 2002. 3, 5
  5. [5]Leyang Cheng, Junyi Wu, Zhiteng Li, and Yulun Zhang. GHOST: Geometry-Hierarchical Online Streaming Token Eviction for Efficient 3D Reconstruction. arXiv preprint arXiv:2605.15852, 2026. 3
  6. [6]Xingyu Chen, He Chen, Yuliang Xiu, Andreas Geiger, and Anpei Chen. TTT3R: 3D Reconstruction as Test-Time Training. In International Conference on Learning Representations, 2026. 2arxiv.org/abs/2509.26645
  7. [7]Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating Long Sequences with Sparse Transformers. arXiv preprint arXiv:1904.10509, 2019. 2arxiv.org/abs/1904.10509
  8. [8]Tri Dao, Dan Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning. In International Conference on Learning Representations, 2024. 1, 2arxiv.org/abs/2307.08691
  9. [9]Tri Dao, Dan Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness. In Advances in Neural Information Processing Systems, pages 16344–16359, 2022. 1, 2arxiv.org/abs/2205.14135
  10. [10]Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In International Conference on Learning Representations, 2021. 1
  11. [11]Weiliun Feng, Haotong Qin, Mingqiang Wu, Chuangyang Yang, Yuqi Li, Xiangqi Li, Zhulin An, Libo Huang, Yulun Zhang, Michele Magno, and Yongjun Xu. Quantized Visual Geometry Grounded Transformer. In International Conference on Learning Representations, 2026. 3arxiv.org/abs/2509.21302
  12. [12]Ankit Gupta and Jonathan Berant. Value-aware Approximate Attention. In Proceedings of the 2021 Conference onarxiv.org/abs/2103.09857
  13. [13]Huixiang Jiang, Yucheng Li, Chengruidong Zhang, Qianhui Wu, Xufang Luo, Surin Ahn, Zhenhua Han, Amir H. Abdi, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, and Lili Qiu. MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention. In Advances in Neural Information Processing Systems, pages 52481–52515, 2024. 2arxiv.org/abs/2407.02490
  14. [14]Nikita Kitaev, Łukasz Kaiser, and Anselm Levskaya. Reformer: The Efficient Transformer. In International Conference on Learning Representations, 2020. 2arxiv.org/abs/2001.04451
  15. [15]Vincent Leroy, Yohann Cabon, and Jérôme Revaud. Grounding Image Matching in 3D with MAST3R. In Computer Vision – ECCV 2024, pages 71–91, 2024. 1, 2arxiv.org/abs/2406.09756
  16. [16]Yuhong Li, Yingbing Huang, Bowen Yang, Bharat Venkitesh, Acyor Locatelli, Hanchen Ye, Tianle Cai, Patrick Lewis, and Deming Chen. SnapKV: LLM Knows What You are Looking for Before Generation. In Advances in Neural Information Processing Systems, pages 22947–22970, 2024. 2arxiv.org/abs/2404.14469
  17. [17]Youwei Liang, Chongjian Ge, Zhan Tong, Yibing Song, Jue Wang, and Pengtao Xie. Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations. In International Conference on Learning Representations, 2022. 2arxiv.org/abs/2202.07800
  18. [18]Kasper Nordenram and Amelie Dittmann. ClusterAttention: A training-free speedup of bidirectional attention. arXiv preprint arXiv:2608.26965, 2026. 2DOI
  19. [19]Yongming Rao, Wenliang Zhao, Benlin Liu, Jiwen Lu, Jie Zhou, and Cho-Jui Hsieh. DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification. In Advances in Neural Information Processing Systems, pages 13937–13949, 2021. 2arxiv.org/abs/2106.02034
  20. [20]Michael Ryoo, AJ Piergiovanni, Anurag Arnab, Mostafa Dehghani, and Anelia Angelova. TokenLearner: Adaptive Space-Time Tokenization for Videos. In Advances in Neural Information Processing Systems, pages 12786–12797, 2021. 2
  21. [21]Johannes Lutz Schönberger and Jan-Michael Frahm. Structure-from-Motion Revisited. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 4104–4113, 2016. 2DOI
  22. [22]Johannes L. Schönberger, Enliang Zheng, Jan-Michael Frahm, and Marc Pollefeys. Pixelwise View Selection for Unstructured Multi-View Stereo. In Computer Vision – ECCV 2016, pages 501–518, 2016. 2DOI
  23. [23]Thomas Schöps, Johannes L. Schönberger, Silvano Galliani, Torsten Sattler, Konrad Schindler, Marc Pollefeys, and Andreas Geiger. A Multi-View Stereo Benchmark with High-Resolution Images and Multi-Camera Videos. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3260–3269, 2017. 8DOI
  24. [24]You Shen, Zhipeng Zhang, Yansong Qu, Xiawu Zheng, Jiayi Ji, Shengchuan Zhang, and Lujuuan Cao. Fast VSGT: Training-Free Acceleration of Visual Geometry Transformer. arXiv preprint arXiv:2509.02560, 2025. 2, 3, 8arxiv.org/abs/2509.02560
  25. [25]Jamie Shotton, Ben Glocker, Christopher Zach, Shahram Izadi, Antonio Criminisi, and Andrew Fitzgibbon. Scene coordinate regression forests for camera relocalization in RGB-D images. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2930–2937, 2013. 2, 6DOI
  26. [26]Xiangbin Sun, Zhikai Zhu, Zhengyu Lou, Bo Yang, Jinyang Tang, Liqing Zhang, He Wang, and Jianfu Zhang. AVGGT: Rethinking Global Attention for Accelerating VGGT. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 251–260, 2026. 2, 3, 14arxiv.org/abs/2512.02541
  27. [27]Muyeol Sung, Jangwon Kim, and Jongwoo Lim. GPA-VGGT: Geometry-preserving acceleration of VGGT. arXiv preprint arXiv:2610.37000, 2026. 8, 14arxiv.org/abs/2610.37000
  28. [28]Jiaming Tang, Yilong Zhao, Kan Zhu, Guangxuan Xiao, Baris Kasikci, and Song Han. QUEST: Query-Aware Sparsity for Efficient Long-Context LLM Inference. In Proceedings of the 41st International Conference on Machine Learning, pages 47901–47911, 2024. 2arxiv.org/abs/2406.10774
  29. [29]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is All you Need. In Advances in Neural Information Processing Systems, 2017. 1arxiv.org/abs/1706.03762
  30. [30]Chung-Shien Brian Wang, Christian Schmidt, Jens Piekenbrinck, and Bastian Leibe. Block-Sparse Global Attention for Efficient Multi-View Geometry Transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14546–14555, 2026. 2, 3, 7arxiv.org/abs/2509.07120
  31. [31]Hengyi Wang and Lourdes Agapito. 3D Reconstruction with Spatial Memory. In 2025 International Conference on 3D Vision (3DV), pages 78–89, 2025. 2arxiv.org/abs/2408.16061
  32. [32]Jianyuan Wang, Minghao Chen, Nikita Karaev, Andrea Vedaldi, Christian Rupprecht, and David Novotny. VGGT: Visual Geometry Grounded Transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 5294–5306, 2025. 1, 2, 6arxiv.org/abs/2503.11651
  33. [33]Qianqian Wang, Yifei Zhang, Aleksander Holynski, Alexei A. Efros, and Angjoo Kanazawa. Continuous 3D Perception Model with Persistent State. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10510–10522, 2025. 2arxiv.org/abs/2501.12387
  34. [34]Shuzhe Wang, Vincent Leroy, Yohann Cabon, Boris Chidlovskii, and Jerome Revaud. DUSt3R: Geometric 3D Vision Made Easy. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 20697–20709, 2024. 1, 2arxiv.org/abs/2312.14132
  35. [35]Yifan Wang, Jianjun Zhou, Haoyi Zhu, Wenzheng Chang, Yang Zhou, Zizun Li, Junyi Chen, Jiangmiao Pang, Chunhua Shen, and Tong He. π³: Permutation-Equivariant Visual Geometry Learning. In International Conference on Learning Representations, 2026. 1, 2, 6
  36. [36]Yuqi Wu, Wenchao Zheng, Jie Zhou, and Jiwen Lu. Point3R: Streaming 3D Reconstruction with Explicit Spatial Pointer Memory. In Advances in Neural Information Processing Systems, pages 69675–69699, 2025. 2
  37. [37]Guangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han, and Mike Lewis. Efficient Streaming Language Models with Attention Sinks. In International Conference on Learning Representations, 2024. 2arxiv.org/abs/2309.17453
  38. [38]images. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2930–2937, 2013. 2, 6 Zhou, Zhouhai Ye, Weijie You, Tian Zheng, Dominic Brown, Pengbo Wang, Markus Hohenberbach, Richard Cai, Julien Demouth, John D. Owens, Xia Hu, Song Han, Timmy Liu, and Huizi Mao. BLASST: Dynamic BLocked Attention Sparsity via Softmax Thresholding. In Proceedings of Machine Learning and Systems, pages 843–859, 2026. 2arxiv.org/abs/2512.12087
  39. [39]Shuai Yuan, Yantai Yang, Xiaotian Yang, Xupeng Zhang, Zhonghao Zhao, Lingming Zhang, and Zhipeng Zhang. InfiniteVGGT: Visual Geometry Grounded Transformer for Endless Streams. arXiv preprint arXiv:2601.02281, 2026. 2arxiv.org/abs/2601.02281
  40. [40]Manzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, and Amr Ahmed. Big Bird: Transformers for Longer Sequences. In Advances in Neural Information Processing Systems, pages 17283–17297, 2020. 2arxiv.org/abs/2007.14062
  41. [41]Zhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen, Lianmin Zheng, Ruisi Cai, Zhao Song, Yuandong Tian, Christopher Ré, Clark Barrett, Zhangyang Wang, and Beidi Chen. H₂O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models. In Advances in Neural Information Processing Systems, pages 34661–34710, 2023. 2arxiv.org/abs/2306.14048
  42. [42]Dong Zhuo, Wenzhao Zheng, Jiahe Guo, Yuqi Wu, Jie Zhou, and Jiwen Lu. Streaming Visual Geometry Transformer. In International Conference on Learning Representations, 2026. 2

Paper details

vlnc:W_w3tsb2sk
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

ChatGPT, Codex

View statement
Looking for related papers…
Contents