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

用于有效推理的自适应神经网络

Adaptive Neural Networks for Efficient Inference

Boston University(波士顿大学);Amazon(亚马逊);Microsoft Research(微软研究院)

Tolga Bolukbasi, Joseph Wang, Ofer Dekel, Venkatesh Saligrama

摘要:

我们提出了一种自适应地利用深度神经网络的方法,以减少对新示例的评估时间而不损失准确性。而不是试图重新设计或近似现有的网络,我们提出了两个方案,自适应地利用网络。我们首先提出了一个自适应网络评估方案,在该方案中,我们学习一个系统来自适应地选择要为每个示例评估的深度网络的组件。通过允许使用系统的早期层正确分类的示例退出,我们避免了与网络的全面评估相关的计算时间。我们扩展到学习一个网络选择系统,自适应地选择每个例子的网络进行评估。我们表明,计算时间可以大大减少,利用这一事实,许多例子可以正确地分类使用相对有效的网络,复杂的,计算成本高的网络是必要的,只有一小部分的例子。我们提出了一个全球性的目标,学习自适应提前退出或网络选择政策,并解决它减少了策略学习问题,一层一层加权二进制分类问题。从经验上看,这些方法大大降低了计算成本,在ImageNet图像识别挑战中,最先进的网络加速高达2.8倍,而前5名的准确性损失最小(<1%)。

英文摘要:

We present an approach to adaptively utilize deep neural networks in order to reduce the evaluation time on new examples without loss of accuracy. Rather than attempting to redesign or approximate existing networks, we propose two schemes that adaptively utilize networks. We first pose an adaptive network evaluation scheme, where we learn a system to adaptively choose the components of a deep network to be evaluated for each example. By allowing examples correctly classified using early layers of the system to exit, we avoid the computational time associated with full evaluation of the network. We extend this to learn a network selection system that adaptively selects the network to be evaluated for each example. We show that computational time can be dramatically reduced by exploiting the fact that many examples can be correctly classified using relatively efficient networks and that complex, computationally costly networks are only necessary for a small fraction of examples. We pose a global objective for learning an adaptive early exit or network selection policy and solve it by reducing the policy learning problem to a layer-by-layer weighted binary classification problem. Empirically, these approaches yield dramatic reductions in computational cost, with up to a 2.8x speedup on state-of-the-art networks from the ImageNet image recognition challenge with minimal (<1%) loss of top5 accuracy.

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

↑