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

基于移位-批量归一化的纯整数神经网络Quantization方案

Integer-Only Neural Network Quantization Scheme Based on Shift-Batch-Normalization

Peking University(北京大学)

Qingyu Guo, Yuan Wang, Xiaoxin Cui

摘要:

神经网络在许多领域都非常流行,但是巨大的计算复杂度使得神经网络难以在资源有限的设备上运行。为了解决这个问题,量化方法被用来减少模型的大小和计算成本,使得神经网络在嵌入式平台或移动设备上的使用成为可能。本文介绍了一种仅限整数的量化方案。该方案使用一个层,该层结合了基于移位的批量归一化和均匀量化来实现4位仅整数的推断。该方案不需要大整数乘法(在以前的仅整数量化方法中使用),可以实现良好的功率和延迟效率,并且特别适合于部署在协同设计的硬件平台上。测试证明,该方案对于简单的任务非常有效。对于困难的任务,其推理效率可以容忍性能损失。我们的工作可以在github上找到:https://github.com/hguq/IntegerNet。

英文摘要:

Neural networks are very popular in many areas, but great computing complexity makes it hard to run neural networks on devices with limited resources. To address this problem, quantization methods are used to reduce model size and computation cost, making it possible to use neural networks on embedded platforms or mobile devices. In this paper, an integer-only-quantization scheme is introduced. This scheme uses one layer that combines shift-based batch normalization and uniform quantization to implement 4-bit integer-only inference. Without big integer multiplication(which is used in previous integer-only-quantization methods), this scheme can achieve good power and latency efficiency, and is especially suitable to be deployed on co-designed hardware platforms. Tests have proved that this scheme works very well for easy tasks. And for tough tasks, performance loss can be tolerated for its inference efficiency. Our work is available on github: https://github.com/hguq/IntegerNet.

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

↑