[论文解读] FBNetV3: Joint Architecture-Recipe Search using Predictor Pretraining
FBNetV3 提出神经架构-训练配方联合搜索(NARS),一种联合优化神经架构及其训练配方的框架,利用预训练的准确率预测器实现。通过利用免费的架构统计量(如 FLOPs、参数量)进行预测器预训练,NARS 实现了高样本效率,并可在 CPU 上实现快速、多预算的进化搜索,从而在 ImageNet 和目标检测基准上实现最先进的准确率-效率权衡。
Neural Architecture Search (NAS) yields state-of-the-art neural networks that outperform their best manually-designed counterparts. However, previous NAS methods search for architectures under one set of training hyper-parameters (i.e., a training recipe), overlooking superior architecture-recipe combinations. To address this, we present Neural Architecture-Recipe Search (NARS) to search both (a) architectures and (b) their corresponding training recipes, simultaneously. NARS utilizes an accuracy predictor that scores architecture and training recipes jointly, guiding both sample selection and ranking. Furthermore, to compensate for the enlarged search space, we leverage "free" architecture statistics (e.g., FLOP count) to pretrain the predictor, significantly improving its sample efficiency and prediction reliability. After training the predictor via constrained iterative optimization, we run fast evolutionary searches in just CPU minutes to generate architecture-recipe pairs for a variety of resource constraints, called FBNetV3. FBNetV3 makes up a family of state-of-the-art compact neural networks that outperform both automatically and manually-designed competitors. For example, FBNetV3 matches both EfficientNet and ResNeSt accuracy on ImageNet with up to 2.0x and 7.1x fewer FLOPs, respectively. Furthermore, FBNetV3 yields significant performance gains for downstream object detection tasks, improving mAP despite 18% fewer FLOPs and 34% fewer parameters than EfficientNet-based equivalents.
研究动机与目标
- 解决先前 NAS 方法仅优化架构而固定训练配方的局限性,后者可能导致次优性能。
- 通过训练可泛化的准确率预测器,实现在多种资源约束下的高效、可复用搜索。
- 通过在架构统计量(如 FLOPs、参数量)上进行代理预训练,克服因引入训练配方而导致的搜索空间爆炸问题。
- 通过在免费的非训练指标上预训练,提升准确率预测器的样本效率与预测可靠性。
- 生成紧凑且高准确率的模型,在多种硬件约束下超越人工设计与自动搜索的模型表现。
提出的方法
- 提出神经架构-配方搜索(NARS),通过单一准确率预测器同时评分架构与训练配方,实现联合搜索。
- 利用架构统计量(如 FLOPs、参数量)在代理数据上预训练准确率预测器,以提升样本效率并降低训练成本。
- 采用受限的迭代优化方法,在真实验证准确率上微调预测器,确保架构-配方对的可靠排序。
- 应用基于预测器的进化搜索,在 CPU 分钟级别内快速生成适用于不同 FLOP 和参数约束的高性能模型。
- 在训练过程中结合 EMA 和知识蒸馏等技术,进一步提升准确率,同时不增加推理成本。
- 使用标准训练协议将搜索到的架构迁移至下游任务(如 COCO 检测)以评估泛化能力。
实验结果
研究问题
- RQ1联合搜索架构与训练配方是否能优于仅搜索架构的方法?
- RQ2在免费的架构统计量上预训练预测器,如何提升 NAS 中的样本效率?
- RQ3单一训练好的预测器是否可无需重新训练即用于生成多种资源约束下的模型?
- RQ4正确的架构-配方配对对最终模型准确率有何影响?
- RQ5基于预测器的进化搜索在 NAS 中相较于受限迭代优化,能多大程度上实现性能提升?
主要发现
- FBNetV3 在 ImageNet 上以仅 557M FLOPs 实现 80.8% 的 top-1 准确率,性能与 EfficientNet 相当,但 FLOPs 减少 2.0 倍。
- FBNetV3 在 2.1G FLOPs 下实现 82.8% 的 top-1 准确率,相比 ResNeSt 减少 7.1 倍 FLOPs。
- 在 COCO 目标检测任务中作为主干网络使用时,FBNetV3 模型相比基于 EfficientNet 的模型,FLOPs 最多降低 18.3%,参数量最多降低 34.1%,同时保持或提升 mAP。
- 在 FBNetV3-B 与 FBNetV3-E 之间互换训练配方,准确率最高下降 2.3%,证明了正确架构-配方配对的关键作用。
- 若舍弃基于预测器的进化搜索阶段,准确率下降 0.8%,表明其在最终性能中的核心作用。
- EMA 与知识蒸馏的结合使 FBNetV3-G 的 top-1 准确率从 80.9% 提升至 82.8%,证实其在提升单模型性能方面的有效性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。