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

基于精确 QUBO 公式化的稠密神经网络量化优化

Optimization of the quantization of dense neural networks from an exact QUBO formulation

Andalusian Research Institute in Data Science and Computational Intelligence (DaSCI), University of Jaén, 23071 Jaén, Spain(数据科学与计算智能安达卢西亚研究机构(DaSCI)、杰嫩大学)

Sergio Muñiz Subiñas, Manuel L. González, Jorge Ruiz Gómez, Alejandro Mata Ali, Jorge Martínez Martín, Miguel Franco Hernando, Ángel Miguel García-Vico

AI总结:

提出一种基于 ADAROUND 的精确 QUBO 训练后量化方法,利用 Frobenius 距离建模权重与偏置舍入,并将全局问题精确分解后用模拟退火等启发式算法求解。

摘要:

本工作提出了一种用于稠密神经网络的训练后量化(PTQ)方法,该方法通过一种新颖的基于 ADAROUND 的 QUBO 公式化实现。研究将理论输出与(激活函数之前的)反量化输出之间的 Frobenius 距离作为目标函数,得到一个显式 QUBO,其二进制变量表示每个权重和偏置的舍入选择。此外,通过利用系数 QUBO 矩阵的结构,全局问题可以被精确分解为 n 个规模为 f+1 的独立子问题,这些子问题能够通过模拟退火等启发式方法高效求解。该方法在 MNIST、Fashion-MNIST、EMNIST 和 CIFAR-10 上,针对从 int8 到 int1 的整数精度进行了评估,并与传统的四舍五入量化方法进行了比较。

英文摘要:

This work introduces a post-training quantization (PTQ) method for dense neural networks via a novel ADAROUND-based QUBO formulation. Using the Frobenius distance between the theoretical output and the dequantized output (before the activation function) as the objective, an explicit QUBO whose binary variables represent the rounding choice for each weight and bias is obtained. Additionally, by exploiting the structure of the coefficient QUBO matrix, the global problem can be exactly decomposed into $n$ independent subproblems of size $f+1$, which can be efficiently solved using some heuristics such as simulated annealing. The approach is evaluated on MNIST, Fashion-MNIST, EMNIST, and CIFAR-10 across integer precisions from int8 to int1 and compared with a round-to-nearest traditional quantization methodology.

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

↑