Hardware-aware Calibrated Clustered Attention for Efficient Visual Geometric Transformers
Abstract
The Visual Geometry Grounded Transformer (VGGT) marks a significant leap forward in 3D scene reconstruction, as it is the first model that directly infers all key 3D attributes (camera poses, depths, and dense geometry) jointly in one pass. However, this joint inference mechanism requires global attention layers with extremely long sequences that causes a significant latency bottleneck. In this paper, we propose blockwise clustered attention (BC attention) to accelerate the global attention layers in VGGT. By limiting the clustering within HW-friendly neighborhood blocks, BC attention reduces the computation overhead of query clustering as well as the costly data movement between on- and off-chip memory. This enables BC attention to scale to long sequences and deliver practical latency improvements on GPUs. Moreover, we introduce a hashing hyperplane calibration method and a threshold-based error compensation method to reduce clustering errors efficiently, which is a bottleneck in the current clustered attention mechanism. Overall, our experiments on GPU demonstrate that calibrated BC attention accelerates the global attention layers by 2.10-2.63 and the whole backbone by 1.77-2.35 with negligible loss (1%) for large scenes. With a small performance loss (< 5%), calibrated BC attention further achieves a 2.26-2.87 latency improvement on the global attention layers and a 1.90-2.55 improvement on the backbone.
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- Accepted to IJCNN26
Related papers
Rethinking Unsupervised Cross-Modal Homography Estimation:Spatially Aware Representations and Geometric Consistency Learning
Shared title terminologycs.CVZhuoran Yang, Junchen Yu, Runmin Zhang et al.
Efficient Scene-Distribution-Aware Second-Order Optimization for 3D Gaussian Splatting
Shared title terminologycs.CVHyunseung Son, Young Sun Choi, Youngsik Yun et al.
Linear-Time Online Visual Geometry Transformer with Hybrid Architecture
Shared title terminologycs.CVHaoyu Kang, Pingzhi Li, Ruichen Zhang et al.
What Is Redundant at High Resolution? Efficient Attention and Feed-Forward Design for All-in-One Image Restoration
Shared title terminologycs.CVDongheon Lee, DongJae Lee, Sewhan Chun et al.
Look Back, Think Ahead: Visual Memory on Demand for Efficient Multimodal Reasoning
Shared title terminologycs.CVYicheng Xue, Han Wu, Jufeng Yang et al.
Streaming-Aware Diffusion for Real-Time Video Super-Resolution via Cross-Step Attention
Shared title terminologycs.CVHarris Partaourides, Sotirios Chatzis