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

特殊类和资源约束下的快速弹性体系结构搜索

Rapid Elastic Architecture Search under Specialized Classes and Resource Constraints

Monash University(莫纳什大学);South China University of Technology(华南理工大学)

Jing Liu, Bohan Zhuang, Mingkui Tan, Xu Liu, Dinh Phung, Yuanqing Li, Jianfei Cai

摘要:

在许多现实世界的应用程序中,我们经常需要处理各种部署场景,其中资源约束和与一组类相对应的感兴趣的超类是动态指定的。如何针对不同的部署场景高效地部署深度模型是一个新的挑战。以前的NAS方法寻求同时为所有类设计架构,这对于某些单独的超类可能不是最佳的。一个简单的解决方案是为每个部署场景从头开始搜索架构,但是这是计算密集型的,不切实际。为了解决这个问题,我们提出了一个新的和一般的框架,称为弹性架构搜索(EAS),允许即时专业化在运行时不同的超类与各种资源约束。为此,我们首先建议在训练期间通过超类退出策略来有效地训练过参数化网络。通过这种方式,所得到的模型对于在推理时丢弃的后续超类是鲁棒的。基于训练良好的过参数化网络,我们提出了一个有效的架构生成器,以获得有前途的架构在一个单一的前向通过。在三个图像分类数据集上的实验表明,EAS能够找到具有更好性能的更紧凑的网络,同时比最先进的NAS方法(例如,在ImageNet-10上,在预算约为3.61亿#MAds的情况下,在Top-1准确度上比OFA(一次性)高出1.3%。更重要的是,EAS能够在0.1秒内为50个部署场景找到紧凑的架构。

英文摘要:

In many real-world applications, we often need to handle various deployment scenarios, where the resource constraint and the superclass of interest corresponding to a group of classes are dynamically specified. How to efficiently deploy deep models for diverse deployment scenarios is a new challenge. Previous NAS approaches seek to design architectures for all classes simultaneously, which may not be optimal for some individual superclasses. A straightforward solution is to search an architecture from scratch for each deployment scenario, which however is computation-intensive and impractical. To address this, we present a novel and general framework, called Elastic Architecture Search (EAS), permitting instant specializations at runtime for diverse superclasses with various resource constraints. To this end, we first propose to effectively train an over-parameterized network via a superclass dropout strategy during training. In this way, the resulting model is robust to the subsequent superclasses dropping at inference time. Based on the well-trained over-parameterized network, we then propose an efficient architecture generator to obtain promising architectures within a single forward pass. Experiments on three image classification datasets show that EAS is able to find more compact networks with better performance while remarkably being orders of magnitude faster than state-of-the-art NAS methods, e.g., outperforming OFA (once-for-all) by 1.3% on Top-1 accuracy at a budget around 361M #MAdds on ImageNet-10. More critically, EAS is able to find compact architectures within 0.1 second for 50 deployment scenarios.

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

↑