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

一种支持动态推理的渐进子网搜索框架

A Progressive Sub-Network Searching Framework for Dynamic Inference

School of Electrical, Computer and Energy Engineering, Arizona State University(亚利桑那州立大学电气、计算机与能源工程学院)

Li Yang, Zhezhi He, Yu Cao, Deliang Fan

摘要:

已经开发了许多技术,例如模型压缩,以使深度神经网络(DNN)推理更有效。然而,DNN仍然缺乏优秀的运行时动态推理能力,以使用户能够权衡准确性和计算复杂性(即,目标硬件上的延迟)。这种研究方向最近引起了极大的关注,其中一种实现是通过多项目标函数来训练目标DNN,该多项目标函数由来自多个子网的交叉熵项组成。我们在这项工作中的调查表明,动态推理的性能高度依赖于子网采样的质量。为了构建动态DNN,以最小的搜索代价搜索多个高质量子网,提出了一种渐进式子网搜索框架,该框架嵌入了几种有效的技术,包括可训练噪声排序、通道组和微调阈值设置、子网重新选择。该框架使目标DNN具有更好的动态推理能力,通过对不同网络结构的综合实验,其性能优于CIFAR-10和ImageNet数据集。以ResNet18为例,我们提出的方法在相同模型大小的ImageNet数据集中实现了比之前流行的Universally-Slimmable-Network更好的动态推理准确率,最高为4.4%,平均为2.3%。

英文摘要:

Many techniques have been developed, such as model compression, to make Deep Neural Networks (DNNs) inference more efficiently. Nevertheless, DNNs still lack excellent run-time dynamic inference capability to enable users trade-off accuracy and computation complexity (i.e., latency on target hardware) after model deployment, based on dynamic requirements and environments. Such research direction recently draws great attention, where one realization is to train the target DNN through a multiple-term objective function, which consists of cross-entropy terms from multiple sub-nets. Our investigation in this work show that the performance of dynamic inference highly relies on the quality of sub-net sampling. With objective to construct a dynamic DNN and search multiple high quality sub-nets with minimal searching cost, we propose a progressive sub-net searching framework, which is embedded with several effective techniques, including trainable noise ranking, channel group and fine-tuning threshold setting, sub-nets re-selection. The proposed framework empowers the target DNN with better dynamic inference capability, which outperforms prior works on both CIFAR-10 and ImageNet dataset via comprehensive experiments on different network structures. Taken ResNet18 as an example, our proposed method achieves much better dynamic inference accuracy compared with prior popular Universally-Slimmable-Network by 4.4%-maximally and 2.3%-averagely in ImageNet dataset with the same model size.

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

↑