arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1710.07830cs.LGcs.CVstat.ML
收藏

神经网络推理中动态计算标度的不完全点积

Incomplete Dot Products for Dynamic Computation Scaling in Neural Network Inference

Harvard University(哈佛大学)

Bradley McDanel, Surat Teerapittayanon, H. T. Kung

摘要:

我们提出了使用不完全点积(IDP)动态调整的输入通道的数量在前馈推理过程中的每一层的卷积神经网络。IDP在训练期间将单调非递增系数(称为“简档”)添加到信道。该配置文件以非递增顺序对每个通道的贡献进行排序。在推断时,可以动态地调整所使用的通道的数量,以通过仅选择通道的开始子集来权衡降低功耗和减少延迟的准确性。这种方法允许单个网络在计算范围内动态扩展,而不是训练和部署多个网络来支持不同级别的计算扩展。此外,我们将概念扩展到多个配置文件,每个配置文件都针对特定范围的计算缩放进行了优化。我们目前的实验流行的图像分类模型和数据集的IDP的计算和准确性的权衡。我们证明,对于MNIST和CIFAR-10,IDP显著减少了计算,例如,75%,而不会显著影响准确性。我们认为,IDP提供了一个方便和有效的手段,设备动态地降低计算成本,以反映当前的计算预算的系统。例如,具有50% IDP的VGG-16(仅使用前50%的通道)在CIFAR-10数据集上实现了70%的准确度,而标准网络在使用缩减通道集时仅实现了35%的准确度。

英文摘要:

We propose the use of incomplete dot products (IDP) to dynamically adjust the number of input channels used in each layer of a convolutional neural network during feedforward inference. IDP adds monotonically non-increasing coefficients, referred to as a "profile", to the channels during training. The profile orders the contribution of each channel in non-increasing order. At inference time, the number of channels used can be dynamically adjusted to trade off accuracy for lowered power consumption and reduced latency by selecting only a beginning subset of channels. This approach allows for a single network to dynamically scale over a computation range, as opposed to training and deploying multiple networks to support different levels of computation scaling. Additionally, we extend the notion to multiple profiles, each optimized for some specific range of computation scaling. We present experiments on the computation and accuracy trade-offs of IDP for popular image classification models and datasets. We demonstrate that, for MNIST and CIFAR-10, IDP reduces computation significantly, e.g., by 75%, without significantly compromising accuracy. We argue that IDP provides a convenient and effective means for devices to lower computation costs dynamically to reflect the current computation budget of the system. For example, VGG-16 with 50% IDP (using only the first 50% of channels) achieves 70% in accuracy on the CIFAR-10 dataset compared to the standard network which achieves only 35% accuracy when using the reduced channel set.

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

↑