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

并非所有任务量化平等:面向视觉几何Transformer的Fisher引导量化

Not All Tasks Quantize Equally: Fisher-Guided Quantization for Visual Geometry Transformer

Department of Electronic and Computer Engineering, HKUST(香港科技大学电子与计算机工程系);State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);School of Data Science and Engineering, South China Normal University(华南师范大学数据科学与工程学院)

Yipu Zhang, Jintao Cheng, Weilun Feng, Jiehao Luo, Chuanguang Yang, Zhulin An, Yongjun Xu, Wei Zhang

AI总结:

提出Fisher引导量化方法,利用Fisher信息矩阵量化不同任务、块和通道的敏感性,在量化校准中保护关键通道和块,以解决前馈3D重建模型量化时任务间敏感性差异导致的精度损失问题。

摘要:

以视觉几何基础Transformer(VGGT)为代表的前馈3D重建模型,在单次前向传播中联合预测多个视觉几何任务,如深度估计、相机姿态预测和点云重建。它们已广泛应用于3D视觉应用,但其十亿级参数带来了巨大的内存和计算开销,给设备端部署带来挑战。训练后量化(PTQ)是减少这种开销的有效技术。现有的前馈3D模型PTQ方法主要关注处理重尾激活分布和构建多样化的校准数据集。然而,我们观察到前馈3D模型通过共享骨干网络预测多个几何属性,其中不同的Transformer块和隐藏通道对每个任务的贡献不同,导致不同任务、块和通道对量化误差的敏感性差异显著。因此,平等对待所有任务会过度强调不敏感的任务,并导致敏感任务上的显著精度损失。为解决此问题,我们提出面向前馈3D重建模型的Fisher引导量化(FGQ)。具体地,FGQ使用对角Fisher信息矩阵来量化不同任务、块和通道的敏感性,并在校准期间将这些敏感性纳入可学习仿射变换中,以更好地保留对每个任务最关键的通道和块。在相机姿态估计、点云重建和深度估计上的大量实验表明,FGQ在VGGT上始终优于最先进的量化基线,在4比特量化下实现了高达39%的相对改进。代码可在https://github.com/ypzhng/FGQ获取。

英文摘要:

Feed-forward 3D reconstruction models, represented by Visual Geometry Grounded Transformer (VGGT), jointly predict multiple visual geometry tasks such as depth estimation, camera pose prediction, and point cloud reconstruction in a single forward pass. They have been widely adopted in 3D vision applications, but their billion-scale parameters bring substantial memory and computation overhead, posing challenges for on-device deployment. Post-Training Quantization (PTQ) is an effective technique to reduce this overhead. Existing PTQ methods for feed-forward 3D models mainly focus on handling heavy-tailed activation distributions and constructing diverse calibration datasets. However, we observe that feed-forward 3D models predict multiple geometric attributes through a shared backbone, where different transformer blocks and hidden channels contribute distinctly to each task, resulting in substantially different sensitivities to quantization errors across tasks, blocks, and channels. Consequently, treating all tasks equally over-emphasizes insensitive tasks and causes significant accuracy loss on the sensitive ones. To address this issue, we propose Fisher-Guided Quantization (FGQ) for feed-forward 3D reconstruction models. Specifically, FGQ uses the diagonal Fisher information matrix to quantify the different sensitivities across tasks, blocks, and channels, and incorporates these sensitivities into the Learnable Affine Transformation during calibration to better preserve the channels and blocks most critical to each task. Extensive experiments across camera pose estimation, point map reconstruction, and depth estimation show that FGQ consistently outperforms state-of-the-art quantization baselines on VGGT, achieving up to 39% relative improvement under the 4-bit quantization. Code is available at https://github.com/ypzhng/FGQ.

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

↑