arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.04685cs.LGcs.ARcs.NE
收藏

Predictive Exit:用于计算和能量有效推理的细粒度早期退出预测

Predictive Exit: Prediction of Fine-Grained Early Exits for Computation- and Energy-Efficient Inference

Shanghai Jiao Tong University(上海交通大学)

Xiangjie Li, Chenfei Lou, Zhengping Zhu, Yuchi Chen, Yingtao Shen, Yehan Ma, An Zou

摘要:

通过将退出层添加到深度学习网络,提前退出可以更早地终止推理并获得准确的结果。是否退出或继续下一层的被动决策必须经过每个预先放置的退出层,直到它退出。此外,随着推理的进行,也很难调整计算平台的配置。通过结合低成本的预测引擎,我们提出了一个预测退出框架的计算和节能的深度学习应用程序。预测退出可以预测网络将在何处退出(即,建立剩余层的数量以完成推理),这通过按时退出而不运行每个预先放置的退出层来有效地降低网络计算成本。此外,根据剩余层数,适当的计算配置(即,频率和电压)来执行网络以进一步节省能量。大量的实验结果表明,与经典的深度学习网络相比,预测退出实现了高达96.2%的计算减少和72.9%的节能;与最先进的退出策略下的早期退出相比,在相同的推理精度和延迟下,计算减少了12.8%,节能了37.6%。

英文摘要:

By adding exiting layers to the deep learning networks, early exit can terminate the inference earlier with accurate results. The passive decision-making of whether to exit or continue the next layer has to go through every pre-placed exiting layer until it exits. In addition, it is also hard to adjust the configurations of the computing platforms alongside the inference proceeds. By incorporating a low-cost prediction engine, we propose a Predictive Exit framework for computation- and energy-efficient deep learning applications. Predictive Exit can forecast where the network will exit (i.e., establish the number of remaining layers to finish the inference), which effectively reduces the network computation cost by exiting on time without running every pre-placed exiting layer. Moreover, according to the number of remaining layers, proper computing configurations (i.e., frequency and voltage) are selected to execute the network to further save energy. Extensive experimental results demonstrate that Predictive Exit achieves up to 96.2% computation reduction and 72.9% energy-saving compared with classic deep learning networks; and 12.8% computation reduction and 37.6% energy-saving compared with the early exit under state-of-the-art exiting strategies, given the same inference accuracy and latency.

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

↑