- The paper introduces HeSS, a novel metric that quantifies head-wise sensitivity to guide sparsity redistribution in transformer-based 3D vision models.
- It leverages second-order loss curvature via approximated Fisher Information Matrix traces to balance global camera pose and local point cloud errors.
- Experimental results demonstrate that HeSS-guided sparsification maintains high geometric fidelity and significantly improves performance under aggressive sparsity.
HeSS: Head Sensitivity Score for Sparsity Redistribution in VGGT
Introduction and Motivation
The Visual Geometry Grounded Transformer (VGGT) serves as a unified end-to-end architecture for multi-view 3D reconstruction, integrating both Structure-from-Motion (SfM) and Multi-View Stereo (MVS) within a single transformer framework. VGGT achieves this through an alternating design of Global Attention (GA) and Frame Attention (FA) layers, enabling both cross-frame and intra-frame reasoning. However, the quadratic computational complexity of the GA layers with respect to the number of views poses significant obstacles to scaling VGGT for real-time or large-scale geometry applications.
A series of acceleration strategies for VGGTโmost notably SparseVGGTโaddress this bottleneck by approximating the dense attention with block-sparse attention maps. Yet, these methods typically impose a uniform sparsification pattern across all transformer heads. This uniformity ignores potential heterogeneity in head-wise sensitivity to sparsification, often leading to marked accuracy drops, particularly under high sparsity constraints.
The authors hypothesize that the principal cause of performance degradation in existing sparsification schemes is failure to recognize and accommodate the differential impact of sparsification across attention heads. They propose a principled two-stage pipeline for VGGT sparsification: (1) a calibration stage, which quantifies head-wise sensitivity to sparsification via a novel Head Sensitivity Score (HeSS), and (2) an inference-time stage, in which the global attention computation is adaptively sparsified, prioritizing heads identified as critical.
Methodology
HeSS: Quantifying Head-Wise Sensitivity
The central technical contribution is the definition and empirical estimation of the Head Sensitivity Score (HeSS)โa scalar metric attributed to each attention head in the GA layers. HeSS quantifies the anticipated loss in task performance resulting from sparsification of a given head.
HeSS is computed as a weighted sum of two error curvatures: camera pose error (ecamโ), measuring global geometric fidelity, and point cloud error (epcโ), capturing fine-grained geometric detail. For each attention head, the curvature is analytically approximated via the trace of the respective Fisher Information Matrix (FIM) with respect to the head's query projection weights, providing a tractable surrogate for the true Hessian. The final HeSS for a head h is formalized as
HeSS(h)=ฮปโ
HeSScamโ(h)+(1โฮป)โ
HeSSpcโ(h)
where the ฮป hyperparameter controls the emphasis between global and local geometric criteria.
Figure 1: Overview of the calibration and inference pipeline for HeSS-guided sparsification in VGGT, including the error-based computation of per-head HeSS and adaptive attention masking at inference.
The calibration process relies on a small set of scenes, over which the necessary gradients are computed once and retained throughout deployment. The empirical results confirm that HeSS distributions are highly non-uniform and head-specific.
Figure 2: HeSS distributions across GA layers and heads in VGGT, with darker colors signaling greater head sensitivity.
HeSS-Guided Sparsification
At inference, standard block-sparse attention budgets (i.e., per-head quotas of active attention blocks) are supplanted by HeSS-weighted allocations. Concretely, the total attention budget for a GA layer is redistributed among heads based on their relative HeSS importance. An iterative budget capping procedure ensures that no head is oversupplied and excess allocation is fairly redistributed to uncapped heads, analogous to water-filling in information theory.
Figure 3: Redistribution of attention budgets via HeSS, showing the iterative capping and surplus redistribution mechanism for practical enforceability.
This scheme enables sparsification to aggressively target robust, low-sensitivity heads, while sparing high-sensitivity headsโdramatically mitigating the typical trade-off between compute reduction and task performance.
Experiments
Sensitivity Analysis and Visualization
Empirical analysis of HeSS distributions reveals that within each GA layer, sensitivity is concentrated in a minority of heads, with some heads contributing almost exclusively to global geometry and others to local geometry.
Quantitative and Qualitative Benchmarks
HeSS-Guided Sparsification is benchmarked on challenging 3D vision datasetsโCO3Dv2 (for camera pose) and DTU (for MVS/point cloud accuracy). Both quantitative and qualitative assessments are presented.
Figure 4: Comparative performance between the proposed method and SparseVGGT across sparsity levels on CO3Dv2 and DTU, evaluated via AUC@30, ATE, and Chamfer Distance.
At high sparsity, HeSS-guided allocation retains geometric fidelity and camera pose accuracy at levels substantially higher than SparseVGGT or pruning-based ViT baselines.
Figure 5: Error visualization on DTU, with green points indicating regions where 3D error exceeds 5 mm; HeSS-guided sparsification maintains fewer outlier points compared to uniform sparsification.
Performance collapse is directly observed when the HeSS ranking is inverted, providing strong evidence that HeSS correctly identifies crucial heads for geometry consistency.
Figure 6: Catastrophic failure of geometry when pruning is guided by inverted HeSS ranking (green), versus sustained accuracy with original HeSS ordering (red).
Ablation and Design Studies
Key ablations include: the necessity of budget reallocation versus naive proportional allocation, the role of loss weighting ฮป (HeSScamโ versus HeSSpcโ), and the impact of computing FIM traces w.r.t. query versus key projection matrices. The combined use of both error measures and query weights achieves optimal performance.
Figure 7: Impact of varying ฮป in HeSS; joint weighting strikes the best balance across sparsity regimes.
Runtime and Generalization
HeSS-guided sparsification introduces negligible runtime costs compared to SparseVGGT, and the pipeline generalizes effectively to other VGGT-style architectures, such as ฯ3, where head-wise sensitivity patterns remain predictive and the method maintains its advantage.
Theoretical and Practical Implications
HeSS reframes sparsification as a sensitivity-aware resource allocation problem, rather than a uniform masking task. This approach clarifies that the criticality of particular attention heads must be established with respect to end-task errors, rather than attention weights alone. The resulting sparsification regimes demonstrate that efficient execution and geometric accuracy are not inherently at odds if sparsification is properly structured. From a theoretical perspective, this places an explicit link between second-order loss landscape geometry and model/architectural interpretability for structured sparsification.
Pragmatically, the method drastically improves the performance-vs-compute trade-off for transformer-based 3D vision modelsโspecifically in settings where inference cost and memory are bottlenecks. This is directly relevant to robotics, AR/VR, and any low-latency 3D reasoning pipeline.
Limitations and Future Directions
HeSS operates with a per-layer uniformity assumption, not accounting for inter-layer differences in Fisher Information scale. The metric is not directly comparable across layers, suggesting future work in normalizing or standardizing FIM traces for truly global pruning. Additionally, the focus is strictly on inference-time masking; incorporating sensitivity awareness into the training objective (e.g., through robust learning under simulated sparsification) constitutes a promising extension.
Conclusion
This paper introduces the Head Sensitivity Score (HeSS), a scalable, error-driven metric for guiding sparsity redistribution in the VGGT transformer for multi-view 3D vision. By grounding sparsification in explicit measurement of per-head task impact, the proposed two-stage HeSS pipeline outperforms uniform and naive pruning baselines by significant margins, especially under aggressive sparsity constraints, without incurring extra inference costs. This work advances both the interpretability and efficiency of transformer-based vision architectures and offers a blueprint for second-order-aware resource allocation in future AI systems.