[论文解读] ReNAS:Relativistic Evaluation of Neural Architecture Search
ReNAS 提出了一种用于神经架构搜索(NAS)的相对性能预测器,其重点在于架构的排序而非绝对准确率的预测。通过使用邻接矩阵和计算度量(如 FLOPs 和参数量)将架构编码为特征张量,并在仅 0.1% 的搜索空间(424 个架构)上训练基于成对排序损失的预测器,ReNAS 在 NAS-Bench-101 和 NAS-Bench-201 上实现了最先进(SOTA)的准确率,且搜索成本极低。
An effective and efficient architecture performance evaluation scheme is essential for the success of Neural Architecture Search (NAS). To save computational cost, most of existing NAS algorithms often train and evaluate intermediate neural architectures on a small proxy dataset with limited training epochs. But it is difficult to expect an accurate performance estimation of an architecture in such a coarse evaluation way. This paper advocates a new neural architecture evaluation scheme, which aims to determine which architecture would perform better instead of accurately predict the absolute architecture performance. Therefore, we propose a extbf{relativistic} architecture performance predictor in NAS (ReNAS). We encode neural architectures into feature tensors, and further refining the representations with the predictor. The proposed relativistic performance predictor can be deployed in discrete searching methods to search for the desired architectures without additional evaluation. Experimental results on NAS-Bench-101 dataset suggests that, sampling 424 ($0.1\%$ of the entire search space) neural architectures and their corresponding validation performance is already enough for learning an accurate architecture performance predictor. The accuracies of our searched neural architectures on NAS-Bench-101 and NAS-Bench-201 datasets are higher than that of the state-of-the-art methods and show the priority of the proposed method.
研究动机与目标
- 解决现有 NAS 方法依赖粗粒度代理评估所导致的性能估计不准确的问题。
- 通过聚焦于相对性能排序而非绝对准确率预测,提升架构搜索效率。
- 通过在极小的架构子集上训练预测器,同时保持高预测准确率,降低计算成本。
- 通过利用训练好的、可泛化的预测器,实现在搜索过程中无需额外评估的有效架构搜索。
- 证明基于排序的学习方法在 NAS 下游性能上优于基于回归的方法。
提出的方法
- 使用细胞的邻接矩阵和节点级特征(如 FLOPs 和参数量)将架构编码为特征张量。
- 使用成对排序损失函数而非均方误差(MSE)训练深层神经网络预测器,强调架构之间正确相对顺序的建模。
- 在从 NAS-Bench-101 搜索空间中采样的 424 个代表性架构的小型子集上训练预测器,实现高泛化能力。
- 训练完成的预测器用于在完整搜索空间中对架构进行排序并选择表现最佳的架构,无需重新训练。
- 通过在 CIFAR-100 上收集 424 个随机采样架构的真实准确率,将该方法扩展至未知标签的搜索空间。
- 在 NAS-Bench-101 和 NAS-Bench-201 上评估该框架,显示出强大的泛化能力和极低的搜索成本。
实验结果
研究问题
- RQ1在大型搜索空间中,仅在小部分架构子集上训练的性能预测器能否准确对神经架构的相对性能进行排序?
- RQ2与基于回归的损失函数(如 MSE)相比,使用成对排序损失函数是否能提升架构搜索性能?
- RQ3在仅使用极少训练数据和低搜索成本的前提下,相对性能预测器能否在最终准确率上超越最先进 NAS 方法?
- RQ4当在不同分布上进行训练时,该预测器在未见数据集(如 CIFAR-100)上的泛化能力如何?
- RQ5所提出的方法在无预计算准确率标签的搜索空间中是否具备可扩展性和有效性?
主要发现
- 在 NAS-Bench-201 的 CIFAR-10 验证集上,ReNAS 达到 93.99% ± 0.25 的 top-1 准确率,优于先前 SOTA 方法 REA 的 0.07%。
- 在 CIFAR-100 测试集上,ReNAS 达到 72.12% ± 0.79,优于 REA 的 0.28% 和 NASBOT 的 0.74%。
- 在 ImageNet-16-120 测试集上,ReNAS 达到 45.97% ± 0.49,优于 REA 的 0.43% 和 NASBOT 的 0.09%。
- 仅在 NAS-Bench-101 中 424 个(0.1%)架构上训练的预测器,即可在完整搜索空间中识别出表现最好的 0.02% 架构。
- ReNAS 的搜索成本在单张 GPU 上低于两分钟,预测器训练完成后,完整搜索空间的遍历时间小于 1 毫秒。
- 在 NAS-Bench-201 的所有三个数据集(CIFAR-10、CIFAR-100、ImageNet-16-120)上,ReNAS 均表现出优越性能,证实了其泛化能力和效率。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。