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

用于深度神经网络压缩的量化感知分解

Quantization Aware Factorization for Deep Neural Network Compression

Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院)

Daria Cherniuk, Stanislav Abukhovich, Anh-Huy Phan, Ivan Oseledets, Andrzej Cichocki, Julia Gusak

AI总结:

本文提出一种量化感知的张量分解算法,利用ADMM直接获得CP分解的量化因子,在压缩神经网络的同时保持预测质量,并展现出与训练后量化方法相比的竞争力和灵活性。

摘要:

卷积层和全连接层的张量分解是减少神经网络参数和FLOP的有效方法。由于移动或嵌入式设备的内存和功耗限制,在部署预训练模型时通常需要进行量化步骤。将传统的训练后量化方法应用于具有分解权重的网络会导致精度下降。这促使我们开发一种算法,直接利用量化因子寻找张量近似,从而同时受益于两种压缩技术,同时保持模型的预测质量。具体而言,我们提出使用交替方向乘子法(ADMM)进行规范多面体(CP)分解,其因子元素位于指定的量化网格上。我们使用所设计的算法压缩神经网络权重,并评估其预测质量和性能。我们将我们的方法与最先进的训练后量化方法进行比较,并展示了具有竞争力的结果以及在实现理想的质量-性能权衡方面的高灵活性。

英文摘要:

Tensor decomposition of convolutional and fully-connected layers is an effective way to reduce parameters and FLOP in neural networks. Due to memory and power consumption limitations of mobile or embedded devices, the quantization step is usually necessary when pre-trained models are deployed. A conventional post-training quantization approach applied to networks with decomposed weights yields a drop in accuracy. This motivated us to develop an algorithm that finds tensor approximation directly with quantized factors and thus benefit from both compression techniques while keeping the prediction quality of the model. Namely, we propose to use Alternating Direction Method of Multipliers (ADMM) for Canonical Polyadic (CP) decomposition with factors whose elements lie on a specified quantization grid. We compress neural network weights with a devised algorithm and evaluate it's prediction quality and performance. We compare our approach to state-of-the-art post-training quantization methods and demonstrate competitive results and high flexibility in achiving a desirable quality-performance tradeoff.

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

↑