Skip to main content
QUICK REVIEW

[论文解读] FairNAS: Rethinking Evaluation Fairness of Weight Sharing Neural Architecture Search

Xiangxiang Chu, Bo Zhang|arXiv (Cornell University)|Jul 3, 2019
Human Pose and Action RecognitionComputer Science被引用 72
一句话总结

FairNAS 在训练单 shot 超网中引入严格的公平性以评估子网,显著提高排名准确性,在 ImageNet 与 NAS-Bench-201 上实现最先进的结果,拥有高效模型的 Pareto 前沿。

ABSTRACT

One of the most critical problems in weight-sharing neural architecture search is the evaluation of candidate models within a predefined search space. In practice, a one-shot supernet is trained to serve as an evaluator. A faithful ranking certainly leads to more accurate searching results. However, current methods are prone to making misjudgments. In this paper, we prove that their biased evaluation is due to inherent unfairness in the supernet training. In view of this, we propose two levels of constraints: expectation fairness and strict fairness. Particularly, strict fairness ensures equal optimization opportunities for all choice blocks throughout the training, which neither overestimates nor underestimates their capacity. We demonstrate that this is crucial for improving the confidence of models' ranking. Incorporating the one-shot supernet trained under the proposed fairness constraints with a multi-objective evolutionary search algorithm, we obtain various state-of-the-art models, e.g., FairNAS-A attains 77.5% top-1 validation accuracy on ImageNet. The models and their evaluation codes are made publicly available online http://github.com/fairnas/FairNAS .

研究动机与目标

  • 提高在权重共享 NAS 中对子网性能预测可靠性的动机。
  • 解决一-shot 超网中的偏差,该偏差导致候选模型排名错误。
  • 提出公平性约束以稳定并提升评估质量。
  • 在标准 NAS 基准和实际任务中展示有效性。

提出的方法

  • 在超网训练中定义等价性、期望公平性(EF)和严格公平性(SF)。
  • 使用无放回的均匀采样训练公平的单路径超网,使每个块在每一步中同等更新。
  • 形式化一种训练过程,在一次参数更新前训练 m 个模型并累积梯度,确保每一步的块更新方差为零。
  • 在阶段2,在公平超网上使用 NSGA-II 风格的多目标进化搜索(结合 PPO)以获得 Pareto 效率的架构。
  • 在 ImageNet 和 NAS-Bench-201 上进行评估,并扩展到 CIFAR、COCO 目标检测和 VOC 分割的可迁移性。

实验结果

研究问题

  • RQ1公平感知的 one-shot 超网训练是否能减少偏差并提高预测子网性能与真实性能之间的相关性?
  • RQ2期望公平性与严格公平性在子网排名精度方面的比较如何?
  • RQ3在使用公平超网并结合多目标搜索时,架构搜索效率和最终模型质量的经验增益是什么?
  • RQ4所得的 FairNAS 架构是否可迁移到其他视觉任务和数据集?
  • RQ5公平视角如何解释训练动态以及跨块的特征图相似性?

主要发现

  • 严格公平性在单次预测与真实性能之间产生最佳的排序相关性(Kendall tau),超越 EF 和以往方法。
  • FairNAS 在 ImageNet 上实现最先进或具竞争力的结果(例如 FairNAS-A 77.5% top-1 的 Pareto-efficient 设计)以及 NAS-Bench-201 基准。
  • 公平的单路径训练在跨块的特征图相似性方面表现出高水平(每通道余弦相似度 > 0.9),支持块之间的互换性和稳定训练。
  • FairNAS 展示了内存友好、线性摊销的 GPU 成本,并在典型NAS预算的一小部分内实现 proxyless 搜索(例如 ImageNet 上 12 GPU 天)。
  • 迁移后的 FairNAS 模型在 CIFAR-10/100、COCO 目标检测 和 VOC 分割上相对于基线呈现有竞争力或更高的准确性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。