arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.11704cs.CV
收藏

n-hot:二次幂神经网络quantization的有效比特级稀疏性

n-hot: Efficient bit-level sparsity for powers-of-two neural network quantization

Sony Corporate(索尼公司)

Yuiko Sakuma, Hiroshi Sumihiro, Jun Nishikawa, Toshiki Nakamura, Ryoji Ikegaya

摘要:

2的幂(PoT)量化减少了深度神经网络在资源受限的硬件上的位操作的数量。然而,PoT量化由于其有限的表示能力而触发严重的准确性下降。由于DNN模型已经被应用于相对复杂的任务(例如,大数据集的分类和目标检测),需要提高PoT量化方法的准确度。虽然一些先前的工作试图提高PoT量化的准确性,但没有工作以存储器高效的方式平衡准确性和计算成本。为了解决这个问题,我们提出了一个有效的PoT量化方案。引入了位级稀疏性;权重(或激活)被舍入为可以通过乘法中的n次移位运算计算的值。我们还允许不仅加法,而且减法作为每个操作。此外,我们使用两阶段的微调算法来恢复的精度下降,是由引入比特级稀疏触发。在COCO数据集上的目标检测模型(CenterNet,MobileNet-v2 backbone)上的实验结果表明,与统一方法相比,我们提出的方法最多可以抑制0.3%的准确率下降,同时减少了约75%的操作次数和11.5%的模型大小。

英文摘要:

Powers-of-two (PoT) quantization reduces the number of bit operations of deep neural networks on resource-constrained hardware. However, PoT quantization triggers a severe accuracy drop because of its limited representation ability. Since DNN models have been applied for relatively complex tasks (e.g., classification for large datasets and object detection), improvement in accuracy for the PoT quantization method is required. Although some previous works attempt to improve the accuracy of PoT quantization, there is no work that balances accuracy and computation costs in a memory-efficient way. To address this problem, we propose an efficient PoT quantization scheme. Bit-level sparsity is introduced; weights (or activations) are rounded to values that can be calculated by n shift operations in multiplication. We also allow not only addition but also subtraction as each operation. Moreover, we use a two-stage fine-tuning algorithm to recover the accuracy drop that is triggered by introducing the bit-level sparsity. The experimental results on an object detection model (CenterNet, MobileNet-v2 backbone) on the COCO dataset show that our proposed method suppresses the accuracy drop by 0.3% at most while reducing the number of operations by about 75% and model size by 11.5% compared to the uniform method.

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

↑