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

TileQuant:将Tile作为大语言模型混合精度后训练量化的精度分配单元

TileQuant: Tile as the Precision-Allocation Unit for LLM Mixed-Precision Post-Training Quantization

University of North Texas(北得克萨斯大学);Saint Louis University(圣路易斯大学)

Hanzhi Zhang, Qiao Zhang, Qinglei Cao, Heng Fan, Yan Huang, Kewei Sha, Yunhe Feng

AI总结:

TileQuant是一种无需训练的LLM混合精度后训练量化框架,将精度分配给硬件对齐的二维权重Tile,可提升吞吐量并在多任务中保留性能且优于相关模型。

摘要:

后训练量化(PTQ)可降低大语言模型(LLM)的部署成本,但要保持模型性能需考虑权重敏感性的不均匀性。均匀PTQ采用统一的权重位宽,感知重要性的PTQ会在该位宽内调整缩放因子或重构权重,列级混合精度则会将选定列保留为更高精度。然而,列内的敏感性存在差异,因此整列保留会保护敏感性较低的权重,而运行时异常检测会增加解码开销。为此,我们提出TileQuant,这是一种无需训练的框架,可将精度分配给与硬件对齐的二维权重Tile。离线校准通过前向统计提供输入激活感知的评分,以降低校准成本;通过损失敏感性提供梯度感知的评分,以增强性能保留。在每个投影的保留预算内,评分最高的Tile保持为16位,其余Tile使用8位。生成的映射会引导重构为紧凑的权重缓冲区,内核可将其重用于原生整数和16位计算,并通过本地累加减少内存流量。实验表明,TileQuant的生成吞吐量达到原始模型的2.66倍,在语言建模、推理、长上下文检索和问答任务中,它既能保留性能,又在多个任务上优于量化模型和原始模型。这些结果支持选择能捕捉局部敏感性同时实现高效硬件执行的精度单元。

英文摘要:

Post-training quantization (PTQ) reduces large language model (LLM) deployment costs, but preserving quality requires accounting for uneven weight sensitivity. Uniform PTQ uses one weight bit-width, importance-aware PTQ adjusts scales or reconstructs weights within that width, and column-wise mixed precision retains selected columns at higher precision. However, sensitivity varies within columns, so whole-column retention also protects less sensitive weights, while runtime outlier detection adds decoding overhead. We therefore introduce TileQuant, a training-free framework that assigns precision to hardware-aligned 2D weight tiles. Offline calibration provides input-activation-aware scoring from forward statistics for lower calibration cost and gradient-informed scoring from loss sensitivity for stronger quality preservation. Within each projection's retention budget, the highest-scoring tiles remain at 16-bit and the rest use 8-bit. The resulting map guides reconstruction into compact weight buffers, which the kernel reuses for native integer and 16-bit computation with local accumulation to reduce memory traffic. Experiments show that TileQuant reaches 2.66x the original model's generation throughput. Across language modeling, reasoning, long-context retrieval, and question answering, it preserves quality and surpasses quantized and original models on multiple tasks. These results support selecting precision units that capture local sensitivity while enabling efficient hardware execution. The implementation is: https://github.com/HanzhiZhang-Ulrica/TileQuant

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

↑