DεpS: 用于加速一次性训练的延迟ε收缩算法
DεpS: Delayed ε-Shrinking for Faster Once-For-All Training
AI总结:
针对现有一次性训练方法成本过高的问题,提出在模型训练约50%时启动收缩的DεpS方法,结合子网学习率动态调整启发式规则,在多个数据集上实现准确率提升与训练成本大幅下降。
摘要:
卷积神经网络(CNNs)正越来越多地部署在不同硬件、动态环境以及低功耗嵌入式设备上。这推动了以在各类可变部署约束下最大化准确率为目标的CNN架构设计与训练研究。随着部署场景数量的增长,亟需可扩展的解决方案来设计并训练专用CNN。一次性(Once-for-all)训练作为一种可扩展方法应运而生,它能以恒定的训练成本同时联合训练多个模型(子网),后续再从中筛选出专用CNN。这种可扩展性通过训练完整模型,同时将其缩减为共享模型权重的更小子网(权重共享收缩)来实现。然而,现有的一次性训练方法训练成本极高,可达1200 GPU小时。我们认为这是因为这些方法要么过早启动完整模型的收缩过程,要么启动过晚。为此,我们提出延迟ε收缩(Delayed ε-Shrinking,DεpS)方法,该方法在完整模型完成部分训练(约50%)时启动收缩过程,既能提升训练成本效率,又能为更小模型提供更优的原位知识蒸馏。所提方法还包含可逐步动态调整子网学习率的新型启发式规则(E),同样能改善从较大子网到较小子网的权重共享知识蒸馏效果。实验结果表明,在CIFAR10/100、ImageNet-100和ImageNet-1k等不同数据集上,DεpS在准确率和成本方面均优于当前最先进的一次性训练技术。在ImageNet-1k数据集上,它实现了1.83%的top1准确率提升;或在准确率相同的情况下,浮点运算量(FLOPs)降低1.3倍,训练成本(GPU*小时)下降2.5倍。
英文摘要:
CNNs are increasingly deployed across different hardware, dynamic environments, and low-power embedded devices. This has led to the design and training of CNN architectures with the goal of maximizing accuracy subject to such variable deployment constraints. As the number of deployment scenarios grows, there is a need to find scalable solutions to design and train specialized CNNs. Once-for-all training has emerged as a scalable approach that jointly co-trains many models (subnets) at once with a constant training cost and finds specialized CNNs later. The scalability is achieved by training the full model and simultaneously reducing it to smaller subnets that share model weights (weight-shared shrinking). However, existing once-for-all training approaches incur huge training costs reaching 1200 GPU hours. We argue this is because they either start the process of shrinking the full model too early or too late. Hence, we propose Delayed $ε$-Shrinking (D$ε$pS) that starts the process of shrinking the full model when it is partially trained (~50%) which leads to training cost improvement and better in-place knowledge distillation to smaller models. The proposed approach also consists of novel heuristics that dynamically adjust subnet learning rates incrementally (E), leading to improved weight-shared knowledge distillation from larger to smaller subnets as well. As a result, DEpS outperforms state-of-the-art once-for-all training techniques across different datasets including CIFAR10/100, ImageNet-100, and ImageNet-1k on accuracy and cost. It achieves 1.83% higher ImageNet-1k top1 accuracy or the same accuracy with 1.3x reduction in FLOPs and 2.5x drop in training cost (GPU*hrs)
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。