arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2105.12971cs.CVcs.AI
收藏

Joint-DetNAS:使用NAS、修剪和动态蒸馏升级您的检测器

Joint-DetNAS: Upgrade Your Detector with NAS, Pruning and Dynamic Distillation

Hong Kong University of Science and Technology(香港科技大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Lewei Yao, Renjie Pi, Hang Xu, Wei Zhang, Zhenguo Li, Tong Zhang

摘要:

我们提出了Joint-DetNAS,一个统一的NAS目标检测框架,它集成了3个关键组件:神经结构搜索,修剪和知识蒸馏。我们的Joint-DetNAS不是天真地将这些技术流水线化,而是联合优化它们。该算法由两个核心过程组成:学生态射优化学生的结构并删除冗余参数,而动态蒸馏旨在找到最佳匹配教师。对于学生态射,采用权重继承策略,允许学生灵活地更新其架构,同时充分利用前任的权重,这大大加快了搜索速度;为了便于动态蒸馏,通过集成渐进收缩策略训练弹性教师池,教师检测器可以在后续搜索中采样而无需额外成本。给定一个基本检测器作为输入,我们的算法直接输出高性能的派生学生检测器,而无需额外的训练。实验表明,我们的联合DetNAS优于天真的流水线方法的一个很大的保证金。以经典的R101-FPN作为基本检测器,Joint-DetNAS能够在MS COCO上将其mAP从41.4提高到43.9,并将延迟降低47%,与SOTA EfficientDet相当,同时需要更少的搜索成本。我们希望我们提出的方法可以为社区提供一个新的方式来联合优化NAS,KD和修剪。

英文摘要:

We propose Joint-DetNAS, a unified NAS framework for object detection, which integrates 3 key components: Neural Architecture Search, pruning, and Knowledge Distillation. Instead of naively pipelining these techniques, our Joint-DetNAS optimizes them jointly. The algorithm consists of two core processes: student morphism optimizes the student's architecture and removes the redundant parameters, while dynamic distillation aims to find the optimal matching teacher. For student morphism, weight inheritance strategy is adopted, allowing the student to flexibly update its architecture while fully utilize the predecessor's weights, which considerably accelerates the search; To facilitate dynamic distillation, an elastic teacher pool is trained via integrated progressive shrinking strategy, from which teacher detectors can be sampled without additional cost in subsequent searches. Given a base detector as the input, our algorithm directly outputs the derived student detector with high performance without additional training. Experiments demonstrate that our Joint-DetNAS outperforms the naive pipelining approach by a great margin. Given a classic R101-FPN as the base detector, Joint-DetNAS is able to boost its mAP from 41.4 to 43.9 on MS COCO and reduce the latency by 47%, which is on par with the SOTA EfficientDet while requiring less search cost. We hope our proposed method can provide the community with a new way of jointly optimizing NAS, KD and pruning.

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

↑