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

QwT-v2:实用、有效且高效的训练后量化

QwT-v2: Practical, Effective and Efficient Post-Training Quantization

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

Ningyuan Tang, Minghao Fu, Hao Yu, Jianxin Wu

AI总结:

本文提出QwT-v2训练后量化方法,通过引入轻量级逐通道仿射补偿模块,在保持甚至提升精度的同时减少额外参数与计算量,并解决了原QwT方法硬件不兼容及额外延迟问题。

摘要:

网络量化可以说是减少现代深度神经网络巨大资源消耗的最实用的网络压缩方法之一。它们通常需要针对特定架构和任务进行多样且微妙的设计选择。相反,QwT方法是一种简单且通用的方法,它引入轻量级的附加结构来改进量化。但QwT会带来额外的参数和延迟。更重要的是,QwT与许多硬件平台不兼容。在本文中,我们提出了QwT-v2,它不仅享有QwT的所有优势,而且解决了QwT的主要缺陷。通过采用非常轻量级的逐通道仿射补偿(CWAC)模块,与QwT相比,QwT-v2引入的额外参数和计算量显著减少,同时在精度上匹配甚至超越QwT。QwT-v2的补偿模块可以轻松集成到量化推理引擎中,这不仅有效消除了额外开销,还使其与大多数现有硬件平台兼容。

英文摘要:

Network quantization is arguably one of the most practical network compression approaches for reducing the enormous resource consumption of modern deep neural networks. They usually require diverse and subtle design choices for specific architecture and tasks. Instead, the QwT method is a simple and general approach which introduces lightweight additional structures to improve quantization. But QwT incurs extra parameters and latency. More importantly, QwT is not compatible with many hardware platforms. In this paper, we propose QwT-v2, which not only enjoys all advantages of but also resolves major defects of QwT. By adopting a very lightweight channel-wise affine compensation (CWAC) module, QwT-v2 introduces significantly less extra parameters and computations compared to QwT, and at the same time matches or even outperforms QwT in accuracy. The compensation module of QwT-v2 can be integrated into quantization inference engines with little effort, which not only effectively removes the extra costs but also makes it compatible with most existing hardware platforms.

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

↑