NetCut:使用层移除的实时的DNN推断
NetCut: Real-Time DNN Inference Using Layer Removal
摘要:
深度学习在帮助人类生活的许多方面发挥着重要作用。随着时间的推移,这些网络往往会变得更深,它们会提取更多的特征来提高准确性,但代价是额外的推理延迟。这种精度-性能的权衡使得嵌入式系统作为具有严格期限的资源受限处理器,更具有挑战性,以有效地部署它们。这可能导致选择的网络可能过早地满足指定的最后期限,而多余的松弛时间可能有助于提高准确性。在这项工作中,我们建议:(i)层移除的概念,作为构建TRN(TRN)的一种手段,TRN基于移除迁移学习中使用的预训练网络的问题特定特征,以及(ii)NetCut,一种基于经验或分析延迟估计器的方法,其仅提出和重新训练可以满足应用程序的截止日期的TRN,从而显著减少探索时间。我们证明了TRN可以扩展Pareto边界,该边界可以权衡延迟和准确性,以提供可以满足任意截止日期的网络,其准确性比现成的网络有潜在的提高。我们的实验结果表明,这种TRN的利用,同时转移到一个更简单的数据集,与NetCut相结合,可以导致网络的建议,可以实现高达10.43%的相对精度提高现有的现成的神经架构,同时满足特定的截止日期,并在探索时间27倍加速。
英文摘要:
Deep Learning plays a significant role in assisting humans in many aspects of their lives. As these networks tend to get deeper over time, they extract more features to increase accuracy at the cost of additional inference latency. This accuracy-performance trade-off makes it more challenging for Embedded Systems, as resource-constrained processors with strict deadlines, to deploy them efficiently. This can lead to selection of networks that can prematurely meet a specified deadline with excess slack time that could have potentially contributed to increased accuracy. In this work, we propose: (i) the concept of layer removal as a means of constructing TRimmed Networks (TRNs) that are based on removing problem-specific features of a pretrained network used in transfer learning, and (ii) NetCut, a methodology based on an empirical or an analytical latency estimator, which only proposes and retrains TRNs that can meet the application's deadline, hence reducing the exploration time significantly. We demonstrate that TRNs can expand the Pareto frontier that trades off latency and accuracy to provide networks that can meet arbitrary deadlines with potential accuracy improvement over off-the-shelf networks. Our experimental results show that such utilization of TRNs, while transferring to a simpler dataset, in combination with NetCut, can lead to the proposal of networks that can achieve relative accuracy improvement of up to 10.43% among existing off-the-shelf neural architectures while meeting a specific deadline, and 27x speedup in exploration time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。