arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.18650cs.CVcs.AIcs.LGcs.NE
收藏

二元二次量化:面向实值矩阵压缩的超越一阶量化方法

Binary Quadratic Quantization: Beyond First-Order Quantization for Real-Valued Matrix Compression

Institute of Science Tokyo(东京科学研究所);Waseda University(早稻田大学)

Kyo Kuroki, Yasuyuki Okoshi, Thiem Van Chu, Kazushi Kawamura, Masato Motomura

AI总结:

该研究提出二元二次量化(BQQ)方法,利用二元二次表达式提升矩阵压缩效果,在矩阵压缩基准和Vision Transformer的2比特训练后量化实验中,性能均优于传统方法,验证了该表达式在高效矩阵近似与神经网络压缩中的有效性。

摘要:

本文提出了一种新型矩阵量化方法——二元二次量化(Binary Quadratic Quantization, BQQ)。传统的一阶量化方法(如均匀量化和二进制编码量化)通过二值基的线性组合来近似实值矩阵,与之不同,BQQ在维持极致紧凑数据格式的同时,充分利用了二元二次表达式的表达能力。我们通过两项实验验证了所提方法:一项矩阵压缩基准测试,以及在预训练Vision Transformer类模型上的训练后量化(Post-Training Quantization, PTQ)实验。实验结果表明,在压缩各类矩阵数据时,BQQ在内存效率与重构误差之间的权衡始终优于传统方法。尽管我们既未以严苛内存约束下的PTQ精度达到SOTA为目标,也未依赖PTQ专属的二值矩阵优化技术,该方法仍展现出优异的PTQ性能。例如,在等效2比特量化条件下,所提方法在ImageNet数据集上的表现优于当前最优PTQ方法,在校准场景和无数据场景下提升幅度分别高达2.2%和59.1%。这些发现凸显了二元二次表达式在高效矩阵近似与神经网络压缩领域的惊人效用。

英文摘要:

This paper proposes a novel matrix quantization method, Binary Quadratic Quantization (BQQ). In contrast to conventional first-order quantization approaches, such as uniform quantization and binary coding quantization, that approximate real-valued matrices via linear combinations of binary bases, BQQ leverages the expressive power of binary quadratic expressions while maintaining an extremely compact data format. We validate our approach with two experiments: a matrix compression benchmark and post-training quantization (PTQ) on pretrained Vision Transformer-based models. Experimental results demonstrate that BQQ consistently achieves a superior trade-off between memory efficiency and reconstruction error than conventional methods for compressing diverse matrix data. It also delivers strong PTQ performance, even though we neither target state-of-the-art PTQ accuracy under tight memory constraints nor rely on PTQ-specific binary matrix optimization. For example, our proposed method outperforms the state-of-the-art PTQ method by up to 2.2\% and 59.1% on the ImageNet dataset under the calibration-based and data-free scenarios, respectively, with quantization equivalent to 2 bits. These findings highlight the surprising effectiveness of binary quadratic expressions for efficient matrix approximation and neural network compression.

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

↑