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

SQuantizer:稀疏和低精度神经网络的同时学习

SQuantizer: Simultaneous Learning for Both Sparse and Low-precision Neural Networks

Movidius(摩维迪乌斯);AIPG(人工智能产品组);Intel(英特尔)

Mi Sun Park, Xiaofan Xu, Cormac Brick

摘要:

深度神经网络已经在广泛的计算机视觉、语音识别和机器翻译任务中实现了最先进的准确性。然而,内存带宽和计算能力的限制限制了能够部署这些现代网络的设备的范围。为了解决这个问题,我们提出了S量化器,一种新的训练方法,联合优化稀疏和低精度神经网络,同时保持高精度,并提供高压缩率。这种方法将稀疏化和低比特量化带入单个训练通道,以被证明是最佳的顺序采用这些技术。我们的方法使用ResNet 18,MobileNet-v2和ResNet 50的4位和2位精度实现了最先进的精度,即使具有高度的稀疏性。ResNet 18的压缩率为18倍,ResNet 50的压缩率为17倍,MobileNet-v2的压缩率为9倍,当SQuantifying ResNets和MobileNet-v2的权重和激活分别在1%和2%的准确度损失内时。将这些技术扩展到目标检测也证明了YOLO-v3的高精度。此外,我们的方法允许快速单遍训练,这对于快速原型和神经架构搜索技术非常重要。最后,这种同时训练方法的广泛结果使我们能够对稀疏性和量化的相对优点有一些有用的见解。

英文摘要:

Deep neural networks have achieved state-of-the-art accuracies in a wide range of computer vision, speech recognition, and machine translation tasks. However the limits of memory bandwidth and computational power constrain the range of devices capable of deploying these modern networks. To address this problem, we propose SQuantizer, a new training method that jointly optimizes for both sparse and low-precision neural networks while maintaining high accuracy and providing a high compression rate. This approach brings sparsification and low-bit quantization into a single training pass, employing these techniques in an order demonstrated to be optimal. Our method achieves state-of-the-art accuracies using 4-bit and 2-bit precision for ResNet18, MobileNet-v2 and ResNet50, even with high degree of sparsity. The compression rates of 18x for ResNet18 and 17x for ResNet50, and 9x for MobileNet-v2 are obtained when SQuantizing both weights and activations within 1% and 2% loss in accuracy for ResNets and MobileNet-v2 respectively. An extension of these techniques to object detection also demonstrates high accuracy on YOLO-v3. Additionally, our method allows for fast single pass training, which is important for rapid prototyping and neural architecture search techniques. Finally extensive results from this simultaneous training approach allows us to draw some useful insights into the relative merits of sparsity and quantization.

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

↑