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

EBJR:基于能量的自适应联合推理

EBJR: Energy-Based Joint Reasoning for Adaptive Inference

Huawei Technologies Canada Co., Ltd.(华为技术加拿大有限公司)

Mohammad Akbari, Amin Banitalebi-Dehkordi, Yong Zhang

摘要:

最先进的深度学习模型在各种基准测试中取得了显著的性能水平。然而,出色的性能是以低效的计算成本为代价的。另一方面,轻量级架构可以实现中等精度,但延迟更理想。本文提出了一种大精度模型与小精度模型联合使用的新方法。为此,我们提出了一个基于能量的联合推理(EBJR)框架,该框架自适应地将样本分布在浅模型和深模型之间,以实现接近深模型的准确性,但延迟接近浅模型。我们的方法适用于开箱即用的预训练模型,因为它不需要架构更改或重新训练。此外,它易于使用和部署,特别是对于云服务。通过对不同下游任务的一组全面实验,我们表明,我们的方法优于强大的最先进的方法,具有相当大的利润。此外,我们还提出了专门的EBJR,这是我们方法的一个扩展,我们创建了一个较小的专门的侧模型,它只执行部分目标任务,但可以产生更高的准确性和更快的推理。我们验证了我们的方法与理论和实验评估的优势。

英文摘要:

State-of-the-art deep learning models have achieved significant performance levels on various benchmarks. However, the excellent performance comes at a cost of inefficient computational cost. Light-weight architectures, on the other hand, achieve moderate accuracies, but at a much more desirable latency. This paper presents a new method of jointly using the large accurate models together with the small fast ones. To this end, we propose an Energy-Based Joint Reasoning (EBJR) framework that adaptively distributes the samples between shallow and deep models to achieve an accuracy close to the deep model, but latency close to the shallow one. Our method is applicable to out-of-the-box pre-trained models as it does not require an architecture change nor re-training. Moreover, it is easy to use and deploy, especially for cloud services. Through a comprehensive set of experiments on different down-stream tasks, we show that our method outperforms strong state-of-the-art approaches with a considerable margin. In addition, we propose specialized EBJR, an extension of our method where we create a smaller specialized side model that performs the target task only partially, but yields an even higher accuracy and faster inference. We verify the strengths of our methods with both theoretical and experimental evaluations.

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

↑