[论文解读] Surrogate NAS Benchmarks: Going Beyond the Limited Search Spaces of Tabular NAS Benchmarks
本文提出了代理NAS基准——一种通过学习模型模拟大规模搜索空间中神经架构性能的代理模型——实现了NAS方法的快速、准确且可复现的评估。通过在部分架构上进行训练,代理模型在泛化能力上优于表格型基准,即使在包含高达10^21个架构的搜索空间中,也能在数秒内忠实模拟NAS优化器的性能。
The most significant barrier to the advancement of Neural Architecture Search (NAS) is its demand for large computational resources, which hinders scientifically sound empirical evaluations of NAS methods. Tabular NAS benchmarks have alleviated this problem substantially, making it possible to properly evaluate NAS methods in seconds on commodity machines. However, an unintended consequence of tabular NAS benchmarks has been a focus on extremely small architectural search spaces since their construction relies on exhaustive evaluations of the space. This leads to unrealistic results that do not transfer to larger spaces. To overcome this fundamental limitation, we propose a methodology to create cheap NAS surrogate benchmarks for arbitrary search spaces. We exemplify this approach by creating surrogate NAS benchmarks on the existing tabular NAS-Bench-101 and on two widely used NAS search spaces with up to $10^{21}$ architectures ($10^{13}$ times larger than any previous tabular NAS benchmark). We show that surrogate NAS benchmarks can model the true performance of architectures better than tabular benchmarks (at a small fraction of the cost), that they lead to faithful estimates of how well different NAS methods work on the original non-surrogate benchmark, and that they can generate new scientific insight. We open-source all our code and believe that surrogate NAS benchmarks are an indispensable tool to extend scientifically sound work on NAS to large and exciting search spaces.
研究动机与目标
- 解决表格型NAS基准的局限性,后者因需要全面评估而受限于小规模搜索空间。
- 实现在计算上不可行的、大规模真实搜索空间中科学严谨且可复现的NAS研究。
- 开发一种代理基准方法,在保持表格型基准查询效率的同时,可扩展至超大规模搜索空间。
- 验证代理基准能否忠实预测NAS优化器的性能,并支持新的科学洞见。
提出的方法
- 在大规模NAS搜索空间中采样得到的代表性架构子集上训练代理模型(如随机森林、梯度提升模型)。
- 使用贝叶斯优化(BOHB)调优代理模型超参数,以实现最佳性能预测。
- 通过多种训练数据划分构建代理基准,包括基于NAS优化器轨迹的划分和基于均匀覆盖的划分。
- 通过留一优化器排除实验验证代理模型,以模拟对未见过的NAS方法的基准测试。
- 记录全面的指标(准确率、FLOPs、参数量、训练时间),以支持多目标NAS评估。
- 对所有代理基准、训练数据和代码进行版本控制并开源,以确保可复现性和长期可用性。
实验结果
研究问题
- RQ1在预测大规模搜索空间中架构性能时,代理基准是否比表格型基准具有更好的泛化能力?
- RQ2代理基准是否能准确反映NAS优化器在真实搜索空间中的性能轨迹?
- RQ3代理基准是否能在无需全面枚举搜索空间的情况下,实现可靠、快速且可复现的NAS方法评估?
- RQ4代理基准是否能支持关于大规模空间中NAS行为的新科学洞见的发现?
- RQ5如何对代理基准进行版本控制和共享,以确保长期可复现性和可比性?
主要发现
- 代理基准在未见过的架构上实现了3.446e-3的平均绝对误差(MAE),优于表格型基准(MAE = 4.534e-3)。
- 代理模型在未见过的NAS优化器上泛化良好,代理基准上的搜索轨迹与完整评估的真实轨迹高度一致。
- 代理基准已成功构建于包含高达10^21个架构的搜索空间上——是任何先前表格型NAS基准规模的10^13倍。
- 该方法可在单个CPU上仅用数秒即模拟原本需要数千个GPU小时的NAS运行,同时保持与真实性能的高度保真度。
- 代理基准揭示了在大规模空间中局部搜索的表现优于以往假设,纠正了先前的误解。
- 作者已将所有代码、数据和版本化的代理基准以开源许可证发布,以支持可复现且可扩展的NAS研究。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。