arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.14090cs.LGcs.AI
收藏

算力感知量化

Arithmetic-Intensity-Aware Quantization

Harvard College(哈佛学院)

Taig Singh, Shreshth Rajan, Nikhil Jain

AI总结:

AIQ通过动态调整每层位宽提升算力并保持精度,适用于内存受限的神经网络模型。

摘要:

随着现代神经网络越来越依赖内存,推理吞吐量受限于DRAM带宽而非计算能力。我们提出了算力感知量化(AIQ),一种混合精度量化框架,通过选择每层的位宽来最大化算力(AI)同时最小化精度损失。AIQ是一种后训练量化方法,利用搜索算法在每层量化方案上最小化AI和精度的加权损失。在ResNet-20/CIFAR-10上,AIQ在FP32基准上将算力提高约50%,同时保持测试精度在1个百分点以内,并优于全局均匀量化方案。在内存受限的MobileNetV2架构上,AIQ配置比FP32基准高1.66倍的吞吐量,同时保持测试精度在1个百分点以内。我们还发现AIQ会更激进地量化更大的层。

英文摘要:

As modern neural networks become increasingly memory-bound, inference throughput is limited by DRAM bandwidth rather than compute. We present Arithmetic-Intensity-Aware Quantization (AIQ), a mixed precision quantization framework that chooses per-layer bit-widths to maximize arithmetic intensity (AI) while minimizing accuracy loss. AIQ is a post-training quantization method that uses search algorithms over per-layer quantization schemes to minimize a weighted loss over AI and accuracy. On ResNet-20/CIFAR-10, AIQ increases AI by ~50% over an FP32 baseline while keeping test accuracy within ~1 percentage point, and outperforming global uniform quantization schemes. On a memory-bound MobileNetV2 architecture, AIQ configurations give a 1.66x higher throughput than the FP32 baseline while keeping test accuracy within 1 percentage point. We also find that AIQ naturally quantizes larger layers more aggressively.

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

↑