arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2003.07326cs.CV
收藏

用于高效推理的分辨率自适应网络

Resolution Adaptive Networks for Efficient Inference

Tsinghua University(清华大学);Harbin Institute of Technology(哈尔滨工业大学);SenseTime(商汤科技)

Le Yang, Yizeng Han, Xi Chen, Shiji Song, Jifeng Dai, Gao Huang

摘要:

自适应推理是在深度网络中实现准确性和计算成本之间动态权衡的有效机制。现有的工作主要是利用网络深度或宽度的架构冗余。在本文中,我们专注于输入样本的空间冗余,并提出了一种新的分辨率自适应网络(RANet),这是灵感的直觉,低分辨率表示是足够的分类“容易”的输入包含大型对象的原型功能,而只有一些“硬”的样本需要空间上的详细信息。在RANet中,输入图像首先被路由到一个轻量级的子网络,该子网络可以有效地提取低分辨率表示,而那些具有高预测置信度的样本将提前退出网络,而无需进一步处理。同时,网络中的高分辨率路径保持识别“硬”样本的能力。因此,RANet可以有效地减少在推断高分辨率输入时所涉及的空间冗余。从经验上讲,我们在CIFAR-10,CIFAR-100和ImageNet数据集上证明了所提出的RANet在随时预测设置和预算批次分类设置中的有效性。

英文摘要:

Adaptive inference is an effective mechanism to achieve a dynamic tradeoff between accuracy and computational cost in deep networks. Existing works mainly exploit architecture redundancy in network depth or width. In this paper, we focus on spatial redundancy of input samples and propose a novel Resolution Adaptive Network (RANet), which is inspired by the intuition that low-resolution representations are sufficient for classifying "easy" inputs containing large objects with prototypical features, while only some "hard" samples need spatially detailed information. In RANet, the input images are first routed to a lightweight sub-network that efficiently extracts low-resolution representations, and those samples with high prediction confidence will exit early from the network without being further processed. Meanwhile, high-resolution paths in the network maintain the capability to recognize the "hard" samples. Therefore, RANet can effectively reduce the spatial redundancy involved in inferring high-resolution inputs. Empirically, we demonstrate the effectiveness of the proposed RANet on the CIFAR-10, CIFAR-100 and ImageNet datasets in both the anytime prediction setting and the budgeted batch classification setting.

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

↑