arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.01330cs.CV
收藏

共线性衰减:通过异常衰减训练量化友好的视觉Transformer

Colinearity Decay: Training Quantization-Friendly ViTs with Outlier Decay

State Key Laboratory of Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);Zhongguancun Academy, Beijing(中关村学院)

Jin Tong, Guang Liang, Peilin Sun, Jianxin Wu

AI总结:

本文提出Colinearity-Decay方法,通过结构正则化控制Transformer块内的矩阵对对齐,减少极端激活,提升低比特部署精度,同时保持全精度性能。

摘要:

低比特量化是高效部署视觉Transformer的实用途径,但激活异常会复杂化完全量化部署。现有方法或在训练后处理量化,或在训练中抑制大激活;然而,激烈限制视觉模型中的异常可能导致全精度与量化精度之间的权衡变差。我们主张,训练目标应控制使异常有害的结构放大。为此,我们引入Colinearity-Decay(CD),一种用于Transformer块内有序矩阵对的结构正则化器。CD惩罚有害的跨矩阵对齐并减轻极端激活,而无需改变架构或任务损失。作为解耦更新应用,CD是非侵入性的,并引入最小的训练开销。在ImageNet-1K预训练、COCO检测和下游微调中,CD在多个管道中一致提升了量化精度,同时保持或甚至提高了全精度性能。最终,我们的结果表明,结构正则化有效为低比特部署准备了视觉Transformer,且无推理时间开销。

英文摘要:

Low-bit quantization is a practical route for efficiently deploying vision Transformers, yet activation outliers complicate fully quantized deployment. Existing methods either handle quantization post-training or suppress large activations during training; however, aggressively restricting outliers in vision models can lead to a poorer trade-off between full-precision and quantized accuracy. We argue that rather than simply suppressing outliers, the training objective should control the structural amplification that makes them harmful. To this end, we introduce Colinearity-Decay (CD), a structural regularizer for ordered matrix pairs within Transformer blocks. CD penalizes detrimental cross-matrix alignment and mitigates extreme activations without altering the architecture or task loss. Applied as a decoupled update, CD is non-invasive and introduces minimal training overhead. Across ImageNet-1K pre-training, COCO detection, and downstream fine-tuning, CD consistently boosts quantized accuracy across multiple pipelines while preserving, or even improving, full-precision performance. Ultimately, our results demonstrate that structural regularization effectively prepares vision Transformers for low-bit deployment with zero inference-time overhead.

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

↑