arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1710.03368cs.LG
收藏

基于级联深度分类器的节能摊销推理

Energy-efficient Amortized Inference with Cascaded Deep Classifiers

Tsinghua University(清华大学);UIUC(伊利诺伊大学厄巴纳-香槟分校);Dartmouth College(达特茅斯学院);UT Austin(德克萨斯大学奥斯汀分校)

Jiaqi Guan, Yang Liu, Qiang Liu, Jian Peng

摘要:

深度神经网络在各种人工智能任务中取得了显着的成功,但对于移动传感等能量受限的应用,通常会产生高计算和能量成本。我们解决这个问题,提出了一种新的框架,同时优化预测精度和能源成本,从而使有效的成本精度权衡在测试时。在我们的框架中,每个数据实例都被推入一个规模不断增加的深度神经网络级联中,并且选择模块用于顺序确定何时可以将足够准确的分类器用于该数据实例。神经网络的级联和选择模块通过REINFORCE算法以端到端的方式联合训练,以优化计算成本和预测准确性之间的权衡。我们的方法能够同时提高准确性和效率,通过学习将简单的实例分配给快速但足够准确的分类器,以节省计算和能源成本,同时将较难的实例分配给更深,更强大的分类器,以确保满意的准确性。通过使用级联ResNet分类器对几个图像分类数据集进行广泛的实验,我们证明了我们的方法在准确性方面优于标准的训练有素的ResNet,但在CIFAR-10/100数据集上仅需要不到20%和50%的FLOP成本,在ImageNet数据集上分别需要66%。

英文摘要:

Deep neural networks have been remarkable successful in various AI tasks but often cast high computation and energy cost for energy-constrained applications such as mobile sensing. We address this problem by proposing a novel framework that optimizes the prediction accuracy and energy cost simultaneously, thus enabling effective cost-accuracy trade-off at test time. In our framework, each data instance is pushed into a cascade of deep neural networks with increasing sizes, and a selection module is used to sequentially determine when a sufficiently accurate classifier can be used for this data instance. The cascade of neural networks and the selection module are jointly trained in an end-to-end fashion by the REINFORCE algorithm to optimize a trade-off between the computational cost and the predictive accuracy. Our method is able to simultaneously improve the accuracy and efficiency by learning to assign easy instances to fast yet sufficiently accurate classifiers to save computation and energy cost, while assigning harder instances to deeper and more powerful classifiers to ensure satisfiable accuracy. With extensive experiments on several image classification datasets using cascaded ResNet classifiers, we demonstrate that our method outperforms the standard well-trained ResNets in accuracy but only requires less than 20% and 50% FLOPs cost on the CIFAR-10/100 datasets and 66% on the ImageNet dataset, respectively.

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

↑