用压缩描述符注意力提升3D重建模型的效率与扩展性
FlashVGGT: Efficient and Scalable Visual Geometry Transformers with Compressed Descriptor Attention
- 用少量描述符代替全图令牌,实现跨帧全局注意力
- 1000张图像推理时间仅9.3%,支持超3000帧序列
- 适合长序列3D重建任务,兼顾精度与实时性
从多视角图像进行3D重建是计算机视觉的核心挑战。近年来,前馈方法成为传统逐场景优化技术的高效且稳健替代方案。其中,最先进模型如视觉几何定位变压器(VGGT)通过在所有图像令牌上使用全自注意力来捕捉全局关系。然而,这种做法因自注意力的二次复杂度和长图像序列产生的大量令牌而面临可扩展性差的问题。本文提出FlashVGGT,一种高效的替代方案,通过基于描述符的注意力机制解决这一瓶颈。不同于对所有令牌进行密集全局注意力,FlashVGGT将每帧的空间信息压缩为一组紧凑的描述符令牌。随后,全局注意力以图像令牌与该小规模描述符集之间的交叉注意力形式计算,显著降低计算开销。此外,描述符的紧凑性支持通过分块递归机制实现长序列的在线推理,复用先前分块的缓存描述符。实验表明,FlashVGGT在重建精度上与VGGT相当,但1000张图像的推理时间仅为VGGT的9.3%,并能高效扩展至超过3000张图像的序列。
原文摘要 · Abstract (English)
3D reconstruction from multi-view images is a core challenge in computer vision. Recently, feed-forward methods have emerged as efficient and robust alternatives to traditional per-scene optimization techniques. Among them, state-of-the-art models like the Visual Geometry Grounding Transformer (VGGT) leverage full self-attention over all image tokens to capture global relationships. However, this approach suffers from poor scalability due to the quadratic complexity of self-attention and the large number of tokens generated in long image sequences. In this work, we introduce FlashVGGT, an efficient alternative that addresses this bottleneck through a descriptor-based attention mechanism. Instead of applying dense global attention across all tokens, FlashVGGT compresses spatial information from each frame into a compact set of descriptor tokens. Global attention is then computed as cross-attention between the full set of image tokens and this smaller descriptor set, significantly reducing computational overhead. Moreover, the compactness of the descriptors enables online inference over long sequences via a chunk-recursive mechanism that reuses cached descriptors from previous chunks. Experimental results show that FlashVGGT achieves reconstruction accuracy competitive with VGGT while reducing inference time to just 9.3% of VGGT for 1,000 images, and scaling efficiently to sequences exceeding 3,000 images. Our project page is available at https://wzpscott.github.io/flashvggt_page/.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。