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

DyVEDeep:动态变量作用深度神经网络

DyVEDeep: Dynamic Variable Effort Deep Neural Networks

Indian Institute of Technology Madras(印度理工学院马德拉斯分校);Purdue University(普渡大学)

Sanjay Ganapathy, Swagath Venkataramani, Balaraman Ravindran, Anand Raghunathan

摘要:

深度神经网络(DNN)已经在各种机器学习任务中推进了最先进的技术水平,并部署在越来越多的产品和服务中。然而,训练和评估大规模DNN的计算需求的增长速度远远快于它们所执行的底层硬件平台的能力。在这项工作中,我们提出了动态可变努力深度神经网络(DyVEDeep),以减少DNN在推理过程中的计算需求。以前的努力提出了DNN的专用硬件实现,静态修剪网络或压缩权重。作为对这些方法的补充,DyVEDeep是一种动态方法,它利用DNN输入的异质性来提高其计算效率,同时具有相当的分类精度。DyVEDeep为DNN配备了动态努力机制,在处理输入的过程中,可以识别一组计算对输入分类的重要性。DyVEDeep动态地将其计算工作仅集中在关键计算上,而跳过或近似其余的计算。我们提出了3个努力旋钮,在不同级别的粒度,即神经元,功能和层的水平。我们为5个流行的图像识别基准构建了DyVEDeep版本-一个用于CIFAR-10,四个用于ImageNet(AlexNet,OverFeat和VGG-16,权重压缩AlexNet)。在所有基准测试中,DyVEDeep实现了标量操作数量减少2.1 - 2.6倍,这意味着比基于Caffe的实现性能提高1.8 - 2.3倍,准确性损失< 0.5%。

英文摘要:

Deep Neural Networks (DNNs) have advanced the state-of-the-art in a variety of machine learning tasks and are deployed in increasing numbers of products and services. However, the computational requirements of training and evaluating large-scale DNNs are growing at a much faster pace than the capabilities of the underlying hardware platforms that they are executed upon. In this work, we propose Dynamic Variable Effort Deep Neural Networks (DyVEDeep) to reduce the computational requirements of DNNs during inference. Previous efforts propose specialized hardware implementations for DNNs, statically prune the network, or compress the weights. Complementary to these approaches, DyVEDeep is a dynamic approach that exploits the heterogeneity in the inputs to DNNs to improve their compute efficiency with comparable classification accuracy. DyVEDeep equips DNNs with dynamic effort mechanisms that, in the course of processing an input, identify how critical a group of computations are to classify the input. DyVEDeep dynamically focuses its compute effort only on the critical computa- tions, while skipping or approximating the rest. We propose 3 effort knobs that operate at different levels of granularity viz. neuron, feature and layer levels. We build DyVEDeep versions for 5 popular image recognition benchmarks - one for CIFAR-10 and four for ImageNet (AlexNet, OverFeat and VGG-16, weight-compressed AlexNet). Across all benchmarks, DyVEDeep achieves 2.1x-2.6x reduction in the number of scalar operations, which translates to 1.8x-2.3x performance improvement over a Caffe-based implementation, with < 0.5% loss in accuracy.

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

↑