CompOFA:复合型一次性网络,实现更快的多平台部署
CompOFA: Compound Once-For-All Networks for Faster Multi-Platform Deployment
摘要:
CNN在主流部署中的出现需要设计和训练高效架构的方法,以在各种硬件和延迟约束下最大限度地提高准确性。为了扩展这些资源密集型任务与越来越多的部署目标,一次性为所有(OFA)提出了一种方法,联合训练几个模型一次与一个恒定的训练成本。然而,这一成本仍然高达40-50 GPU天,并且还受到次优模型配置的组合爆炸的影响。我们试图减少这个搜索空间--从而减少训练预算--通过将搜索限制在接近准确性-延迟帕累托边界的模型。我们将模型尺寸之间的复合关系的见解,以建立CompOFA,一个设计空间小了几个数量级。通过在ImageNet上的实验,我们证明了即使使用简单的算法,与现有技术相比,我们也可以实现2倍的训练时间减少和216倍的模型搜索/提取时间加速,而不会损失帕累托最优性!我们还表明,这种较小的设计空间足够密集,可以为类似的硬件和延迟目标多样性提供同样准确的模型,同时还降低了训练和后续提取算法的复杂性。
英文摘要:
The emergence of CNNs in mainstream deployment has necessitated methods to design and train efficient architectures tailored to maximize the accuracy under diverse hardware & latency constraints. To scale these resource-intensive tasks with an increasing number of deployment targets, Once-For-All (OFA) proposed an approach to jointly train several models at once with a constant training cost. However, this cost remains as high as 40-50 GPU days and also suffers from a combinatorial explosion of sub-optimal model configurations. We seek to reduce this search space -- and hence the training budget -- by constraining search to models close to the accuracy-latency Pareto frontier. We incorporate insights of compound relationships between model dimensions to build CompOFA, a design space smaller by several orders of magnitude. Through experiments on ImageNet, we demonstrate that even with simple heuristics we can achieve a 2x reduction in training time and 216x speedup in model search/extraction time compared to the state of the art, without loss of Pareto optimality! We also show that this smaller design space is dense enough to support equally accurate models for a similar diversity of hardware and latency targets, while also reducing the complexity of the training and subsequent extraction algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。