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

用于减少延迟和能耗推断的深度模型复用

Runtime Deep Model Multiplexing for Reduced Latency and Energy Consumption Inference

University of Southern California(南加州大学)

Amir Erfan Eshratifar, Massoud Pedram

摘要:

我们提出了一个学习算法来设计一个轻量级的神经多路复用器,给定的输入和计算资源的要求,调用的模型,将消耗最少的计算资源,一个成功的推理。移动设备可以使用所提出的算法将硬输入卸载到云,同时在本地推断简单的输入。此外,在大规模的基于云的智能应用中,不是复制最准确的模型,而是可以根据输入的复杂性复用一系列小型和大型模型,这将节省云的计算资源。输入的复杂性或难度由可以预测正确标签的模型数量决定。例如,如果没有模型可以正确预测标签,则输入被认为是最难的。所提出的算法允许移动终端检测可以在本地处理的输入和需要更大模型并且应该发送到云服务器的输入。因此,移动用户不仅受益于本地处理,还受益于云服务器上托管的准确模型。我们的实验结果表明,该算法提高了8.52%,这是因为这些输入是正确的选择和卸载到云服务器的移动的模型的准确性。此外,它还将云提供商的计算资源节省了2.85倍,因为选择了更小的模型以便于输入。

英文摘要:

We propose a learning algorithm to design a light-weight neural multiplexer that given the input and computational resource requirements, calls the model that will consume the minimum compute resources for a successful inference. Mobile devices can use the proposed algorithm to offload the hard inputs to the cloud while inferring the easy ones locally. Besides, in the large scale cloud-based intelligent applications, instead of replicating the most-accurate model, a range of small and large models can be multiplexed from depending on the input's complexity which will save the cloud's computational resources. The input complexity or hardness is determined by the number of models that can predict the correct label. For example, if no model can predict the label correctly, then the input is considered as the hardest. The proposed algorithm allows the mobile device to detect the inputs that can be processed locally and the ones that require a larger model and should be sent a cloud server. Therefore, the mobile user benefits from not only the local processing but also from an accurate model hosted on a cloud server. Our experimental results show that the proposed algorithm improves mobile's model accuracy by 8.52% which is because of those inputs that are properly selected and offloaded to the cloud server. In addition, it saves the cloud providers' compute resources by a factor of 2.85x as small models are chosen for easier inputs.

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

↑