资源自适应超网训练中的优先子网抽样
Prioritized Subnet Sampling for Resource-Adaptive Supernet Training
摘要:
一个资源自适应的超网调整其推理的时间,以适应动态可用的资源。在本文中,我们提出了优先子网采样训练一个资源自适应的超网,称为PSS-Net。我们维护多个子网池,每个子网池都存储了大量资源消耗相似的子网的信息。考虑到资源约束,从预定义的子网结构空间中采样以该资源约束为条件的子网,并且将高质量的子网插入到相应的子网池中。然后,采样将逐渐倾向于从子网池中采样子网。此外,如果采样来自子网池,则具有更好性能度量的一个被分配有更高的优先级来训练我们的PSS-Net。在训练结束时,我们的PSS-Net保留了每个池中的最佳子网,以便在可用资源变化时快速切换高质量的子网进行推理。使用MobileNet-V1/V2和ResNet-50在ImageNet上进行的实验表明,我们的PSS-Net可以很好地超越最先进的资源自适应超网。我们的项目在https://github.com/chenbong/PSS-Net上公开。
英文摘要:
A resource-adaptive supernet adjusts its subnets for inference to fit the dynamically available resources. In this paper, we propose prioritized subnet sampling to train a resource-adaptive supernet, termed PSS-Net. We maintain multiple subnet pools, each of which stores the information of substantial subnets with similar resource consumption. Considering a resource constraint, subnets conditioned on this resource constraint are sampled from a pre-defined subnet structure space and high-quality ones will be inserted into the corresponding subnet pool. Then, the sampling will gradually be prone to sampling subnets from the subnet pools. Moreover, the one with a better performance metric is assigned with higher priority to train our PSS-Net, if sampling is from a subnet pool. At the end of training, our PSS-Net retains the best subnet in each pool to entitle a fast switch of high-quality subnets for inference when the available resources vary. Experiments on ImageNet using MobileNet-V1/V2 and ResNet-50 show that our PSS-Net can well outperform state-of-the-art resource-adaptive supernets. Our project is publicly available at https://github.com/chenbong/PSS-Net.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。