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

Log$_\ ext{b}$Quant: 在对数空间中量化语言模型

$\text{Log}_\text{b}$Quant: Quantizing Language Models in Logarithmic Space

School of Computation, Information and Technology, Technical University of Munich(慕尼黑工业大学计算、信息与技术学院)

Jeremias Bohn, Tizian Dippold, Mahdi Koubaa, Elias R. Wahl, Georg Groh

AI总结:

提出Log$_\ ext{b}$Quant,一种可调基数的对数量化方法,适应常见参数分布,在4位精度下优于非对称线性量化,实现适度加速和高内存节省。

摘要:

量化已成为减少现代语言模型内存需求和推理速度的宝贵工具,特别是使其可用于消费级设备和边缘设备。虽然先前的工作主要关注均匀量化码本,但由于低频高幅值权重,此类方法容易出现次优表示。我们引入了Log$_\ ext{b}$Quant,一种具有可调基数的对数量化方法,以适应常见的参数分布。我们表明,在张量级粒度下,与不对称线性量化相比,我们的方法在多个性能基准测试中展现出4位精度下的优越性能,同时实现了适度的加速和高内存节省,使其适用于消费级GPU上的私人使用。

英文摘要:

Quantization has become an invaluable tool to reduce memory requirements and inference speed of modern language models, in particular to make them available for consumer setups and edge devices. While previous work has primarily focused on uniform quantization codebooks, such approaches are prone to suboptimal representations due to low-frequency high-magnitude weights. We introduce Log$_\text{b}$Quant, a novel logarithmic quantization approach with adjustable bases, to adapt to common parameter distributions. We show that our method exhibits superior performance at 4-bit precision on several performance benchmarks compared to asymmetric linear quantization at tensor-wise granularity, while achieving moderate speedup and high memory savings, making it suitable for private use on consumer-grade GPUs.

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

↑