arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.31124cs.CV
收藏

QVGGT: 训练后量化的视觉几何基础Transformer

QVGGT: Post-Training Quantized Visual Geometry Grounded Transformer

Westlake University(西湖大学);Beijing University of Posts and Telecommunications(北京邮电大学)

Zhizhen Pan, Hesong Wang, Huan Wang

AI总结:

针对VGGT模型参数量大、部署受限的问题,提出QVGGT量化框架,通过选择性混合精度、令牌滤波与任务感知尺度搜索,实现近无损W4A16量化,显著降低内存和加速推理。

摘要:

直接从图像估计3D属性的技术随着视觉几何基础Transformer(VGGT)的提出而迅速发展,该模型能够在前向传播中一次性预测相机参数、深度图和点云。然而,其12亿参数规模严重限制了在无人机和移动AR设备等资源受限平台上的部署。为解决这一限制,我们引入了QVGGT,一个专门为压缩VGGT而设计的量化框架。我们的方法基于以下观察:VGGT内的Transformer块对量化表现出异质性敏感度。因此,我们分析了逐块量化敏感度,并提出了一种选择性混合精度策略,为最脆弱的Transformer块分配更高精度。为了解决由高方差相机和注册令牌引起的量化误差放大问题,我们进一步引入了带相机信息补偿的令牌过滤,从激活校准中移除这些异常值,并使用PCA导出的全局补偿令牌恢复其几何线索。最后,我们开发了一种任务感知尺度搜索机制,不仅通过层重建,还通过多头监督以及相机姿态、深度图和点图之间的跨头几何一致性来评估候选量化尺度。在多个几何感知基准上的大量实验表明,QVGGT实现了近乎无损的W4A16量化,在保持所有3D预测头精度的同时,相比FP32实现了3~4.9倍的内存减少和高达2.8倍的硬件实际加速。我们的方法使得在边缘设备上实现高保真3D感知成为可能,从而在现实世界的受限环境中实现前馈3D重建模型的实际部署。

英文摘要:

Estimating 3D attributes directly from images has advanced rapidly with the Visual Geometry Grounded Transformer (VGGT), which predicts camera parameters, depth maps, and point clouds in a single forward pass. However, its 1.2B-parameter scale severely limits deployment on resource-constrained platforms such as UAVs and mobile AR devices. To address this limitation, we introduce QVGGT, a tailored quantization framework designed to compress VGGT. Our approach starts from the observation that transformer blocks within VGGT exhibit heterogeneous sensitivity to quantization. We thus analyze per-block quantization sensitivity and propose a selective mixed-precision strategy that allocates higher precision to the most fragile transformer blocks. To address the amplification of quantization error caused by high-variance camera and register tokens, we further introduce token filtering with camera information compensation, which removes these outliers from activation calibration and restores their geometric cues using a PCA-derived global compensation token. Finally, we develop a task-aware scale search mechanism that evaluates candidate quantization scales not only through layer reconstruction but also through multi-head supervision and cross-head geometric consistency among camera poses, depth maps, and point maps. Extensive experiments on multiple geometry perception benchmarks demonstrate that QVGGT achieves near-lossless W4A16 quantization, preserving the accuracy of all 3D prediction heads while delivering 3$\sim$4.9$\times$ memory reduction and up to 2.8$\times$ real hardware speedup over FP32. Our approach makes high-fidelity 3D perception feasible on edge devices, enabling practical deployment of feed-forward 3D reconstruction models in real-world constrained environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑