[论文解读] MAE-DET: Revisiting Maximum Entropy Principle in Zero-Shot NAS for Efficient Object Detection
MAE-DET 通过在 FLOPs 约束下最大化特征图的微分熵,提出了一种用于高效目标检测主干网络的零样本神经架构搜索方法,实现了 SOTA 的 mAP 提升,且搜索成本近乎为零。该方法在相同 FLOPs 下相比 ResNet-50 实现了 +2.0% 的 mAP 提升,并在 V100 上实现 1.54 倍的推理加速,仅需一次 GPU 天的搜索时间,无需训练参数。
In object detection, the detection backbone consumes more than half of the overall inference cost. Recent researches attempt to reduce this cost by optimizing the backbone architecture with the help of Neural Architecture Search (NAS). However, existing NAS methods for object detection require hundreds to thousands of GPU hours of searching, making them impractical in fast-paced research and development. In this work, we propose a novel zero-shot NAS method to address this issue. The proposed method, named MAE-DET, automatically designs efficient detection backbones via the Maximum Entropy Principle without training network parameters, reducing the architecture design cost to nearly zero yet delivering the state-of-the-art (SOTA) performance. Under the hood, MAE-DET maximizes the differential entropy of detection backbones, leading to a better feature extractor for object detection under the same computational budgets. After merely one GPU day of fully automatic design, MAE-DET innovates SOTA detection backbones on multiple detection benchmark datasets with little human intervention. Comparing to ResNet-50 backbone, MAE-DET is $+2.0\%$ better in mAP when using the same amount of FLOPs/parameters, and is $1.54$ times faster on NVIDIA V100 at the same mAP. Code and pre-trained models are available at https://github.com/alibaba/lightweight-neuralarchitecture-search.
研究动机与目标
- 为降低基于训练的神经架构搜索在目标检测主干网络中的高计算成本,此类方法通常需要数百至数千 GPU 小时。
- 实现在无需训练网络参数情况下的高效、零样本架构搜索,用于检测主干网络。
- 通过利用最大熵原理,在固定 FLOPs 预算下提升特征提取能力,改善目标检测中的速度-精度权衡。
- 解决将零样本 NAS 从图像分类迁移至目标检测的挑战,其中多目标边界框预测增加了复杂性。
- 开发一种方法,可自动设计高效且高性能的检测主干网络,同时最大限度减少人工干预和硬件成本。
提出的方法
- 在固定 FLOPs 约束下,MAE-DET 将主干网络中特征图的微分熵最大化,作为模型容量的代理,以促进鲁棒且多样化的特征表示。
- 通过估计特征图方差的高斯上界来估算微分熵,实现无需训练的高效可微搜索。
- 引入多尺度熵先验(MSEP),以考虑 COCO 等数据集中非均匀的对象尺寸分布,提升多尺度特征学习能力。
- 搜索过程采用粗到细的变异策略,结合进化算法,高效探索架构空间,重点聚焦于深度与宽度配置。
- 每个候选架构仅需一次前向传播,使得搜索成本相比基于训练的 NAS 几乎为零。
- 最终架构在 YOLOF 和 FCOS 框架中进行评估,模型采用 ImageNet 预训练权重或从头开始训练。
实验结果
研究问题
- RQ1最大熵原理能否有效应用于目标检测的零样本 NAS?在特征多样性与多尺度表示至关重要的场景下是否有效?
- RQ2在不训练网络参数的情况下,最大化特征图的微分熵如何提升检测性能?
- RQ3与单尺度熵相比,引入多尺度熵先验是否能显著增强目标检测的特征表示能力?
- RQ4零样本 NAS 方法能否在 mAP 和推理速度上超越基于训练的 NAS,同时将搜索成本降至近乎为零?
- RQ5MAE-DET 主干网络在 VOC、Cityscapes 和 COCO 实例分割等不同检测任务与数据集上的泛化能力如何?
主要发现
- 在相同 FLOPs 和参数预算下,MAE-DET 相比 ResNet-50 实现了 +2.0% 的 mAP 提升,证明其在精度-效率权衡上的优越性。
- 在 NVIDIA V100 上,该方法推理速度比 ResNet-50 快 1.54 倍,同时保持相同的 mAP,凸显其推理效率优势。
- 引入多尺度熵先验后,与单尺度熵相比,COCO 上 FCOS 的 mAP 提升 +0.6%,YOLOF 的 mAP 提升 +0.3%。
- 采用粗到细的变异策略进一步提升性能,在 YOLOF 上实现 +2.5% 的 mAP 提升,在 FCOS 上实现 +2.0% 的 mAP 提升,均超过 ResNet-50。
- 模型展现出强大的迁移能力:在 ImageNet 预训练权重下微调时,MAE-DET-M 在 VOC 上实现 +4.1% 的 mAP 提升,在 Cityscapes 上实现 +1.1% 的 mAP 提升。
- 在 COCO 实例分割任务中,MAE-DET-M 在 Mask R-CNN 和 SCNet 上均以相近的 FLOPs 和模型大小,优于 ResNet-50,同时在 AP 和 mask AP 上表现更优。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。