提出GoQuant,让低比特Transformer推理无需乘法且精度更高
GoQuant: Geometric Orthogonal Residual Projection for Multiplier-Free Power-of-Two Transformer Quantization

- 用几何投影重构残差格点,避免传统方法的精度损失
- 0.47分钟完成70亿参数模型量化,4.4分钟完成全模型
- 适合边缘设备部署,特别适合低比特硬件加速
大型语言模型和视觉变换器在边缘设备上的部署受限于内存容量和密集乘累加阵列带来的时序瓶颈。在超低比特场景下,对数型2的幂次(PoT)量化通过将主流点积计算中的通用乘法替换为位移操作,提供了一种硬件友好的替代方案。然而,其非均匀指数网格固有的低角度分辨率问题在低于4比特精度时尤为明显,严重损害高维特征流形的表示能力。为此,我们提出几何正交残差投影量化(GoQuant),一种面向无乘法低比特推理的软硬件协同设计框架。通过将量化建模为双基几何投影,GoQuant构建了更高分辨率的残差网格,同时保持移位加法的内积结构。其解析求解器避免了计算开销大的梯度或迭代搜索过程。数据无关的纯几何模式(GEO)仅需0.47分钟即可量化LLaMA-2-7B,激活优化模式(REF)约4.4分钟完成全模型量化。
原文摘要 · Abstract (English)
The deployment of Large Language Models (LLMs) and Vision Transformers (ViTs) on edge devices is significantly constrained by memory capacity and the critical timing bottlenecks introduced by dense Multiply--Accumulate (MAC) arrays. In the ultra-low-bit regime, logarithmic Power-of-Two (PoT) quantization provides a hardware-efficient alternative by replacing general multiplications in the dominant dot-product computation with bit-shift operations. However, its non-uniform exponential lattice inherently suffers from a \textbf{Low Angular Resolution Regime}, a structural limitation that becomes particularly pronounced below 4-bit precision and can substantially degrade the representation of high-dimensional feature manifolds. To address this geometric limitation, we propose Geometric Orthogonal Residual Projection Quantization (GoQuant), an algorithm--hardware co-design framework for multiplier-reduced low-bit inference. By formulating quantization as a dual-basis geometric projection, GoQuant constructs a higher-resolution residual lattice while retaining a shift-and-add inner-product structure. Its analytical solver further avoids computationally intensive gradient-based or iterative search procedures. The data-free Geometric-Only (GEO) mode quantizes LLaMA-2-7B in only 0.47 minutes, while the Activation-Refined (REF) mode completes full-model quantization in approximately \textbf{4.4 minutes}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。