SeVeDo:一种通过分层分组量化和SVD引导混合精度的异构Transformer加速器
SeVeDo: A Heterogeneous Transformer Accelerator for Low-Bit Inference via Hierarchical Group Quantization and SVD-Guided Mixed Precision
AI总结:
SeVeDo通过分层分组量化和SVD引导混合精度,提高低比特推理的能效,实现13.8TOPS/W的峰值能效,优于传统设计。
摘要:
低比特量化是一种通过减少计算和内存开销来提高Transformer推理效率的有前途的技术。然而,由于激活异常值,激进的比特宽度减少仍具有挑战性,导致精度下降。现有方法如异常值处理和分组量化虽然能实现高精度,但会带来显著的能量消耗。为此,我们提出了SeVeDo,一种基于SVD的高效异构加速器,通过将对异常值敏感的组件结构分离到高精度低秩路径,而其余计算则在低比特残差数据路径中通过分组量化执行。为进一步提高效率,分层分组量化(HGQ)结合了粗粒度浮点缩放与细粒度位移,有效降低了去量化成本。此外,SVD引导的混合精度(SVD-MP)通过低秩分解静态分配更高比特宽度给对精度敏感的组件,从而最小化浮点运算成本。实验结果表明,SeVeDo在ViT-Base和Llama2-7B基准上分别达到12.7TOPS/W和13.4TOPS/W的能效,峰值能效达到13.8TOPS/W,超过了传统设计。
英文摘要:
Low-bit quantization is a promising technique for efficient transformer inference by reducing computational and memory overhead. However, aggressive bitwidth reduction remains challenging due to activation outliers, leading to accuracy degradation. Existing methods, such as outlier-handling and group quantization, achieve high accuracy but incur substantial energy consumption. To address this, we propose SeVeDo, an energy-efficient SVD-based heterogeneous accelerator that structurally separates outlier-sensitive components into a high-precision low-rank path, while the remaining computations are executed in a low-bit residual datapath with group quantization. To further enhance efficiency, Hierarchical Group Quantization (HGQ) combines coarse-grained floating-point scaling with fine-grained shifting, effectively reducing dequantization cost. Also, SVD-guided mixed precision (SVD-MP) statically allocates higher bitwidths to precision-sensitive components identified through low-rank decomposition, thereby minimizing floating-point operation cost. Experimental results show that SeVeDo achieves a peak energy efficiency of 13.8TOPS/W, surpassing conventional designs, with 12.7TOPS/W on ViT-Base and 13.4TOPS/W on Llama2-7B benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。