arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02056cs.LGcs.NE
收藏

CAP:一种用于 NAS 的上下文感知神经预测器

CAP: A Context-Aware Neural Predictor for NAS

College of Computer Science, Sichuan University(四川大学计算机学院)

Han Ji, Yuqi Feng, Yanan Sun

AI总结:

提出上下文感知神经预测器CAP,利用上下文自监督任务学习架构表示,仅需少量标注架构即可精确排名并高效探索NAS搜索空间。

摘要:

神经预测器凭借对未见架构的直接估计,能有效加速神经架构搜索(NAS)中耗时的性能评估阶段。尽管十分有效,但用更少的标注架构来训练强大的神经预测器仍是一个巨大挑战。本文提出一种上下文感知神经预测器(CAP),它仅需少量标注架构进行训练,并基于架构的上下文信息进行预测。具体而言,输入架构被编码为图,预测器推断每个图内部节点周围的上下文结构。随后,在提出的上下文感知自监督任务的增强下,预训练的预测器能够获得架构的富有表现力且可泛化的表示。因此,仅需少量标注架构即可完成训练。在不同搜索空间的实验结果证明了 CAP 相比于最先进神经预测器的优越性能。特别是在 NAS-Bench-101 中,CAP 仅需 172 个标注架构即可精确地对架构进行排名。此外,在 CIFAR-10 数据集上的 NAS-Bench-101 和 DARTS 搜索空间中,CAP 均能帮助寻找有前景的架构,作为 NAS 的有效导航器来高效探索搜索空间。

英文摘要:

Neural predictors are effective in boosting the time-consuming performance evaluation stage in neural architecture search (NAS), owing to their direct estimation of unseen architectures. Despite the effectiveness, training a powerful neural predictor with fewer annotated architectures remains a huge challenge. In this paper, we propose a context-aware neural predictor (CAP) which only needs a few annotated architectures for training based on the contextual information from the architectures. Specifically, the input architectures are encoded into graphs and the predictor infers the contextual structure around the nodes inside each graph. Then, enhanced by the proposed context-aware self-supervised task, the pre-trained predictor can obtain expressive and generalizable representations of architectures. Therefore, only a few annotated architectures are sufficient for training. Experimental results in different search spaces demonstrate the superior performance of CAP compared with state-of-the-art neural predictors. In particular, CAP can rank architectures precisely at the budget of only 172 annotated architectures in NAS-Bench-101. Moreover, CAP can help find promising architectures in both NAS-Bench-101 and DARTS search spaces on the CIFAR-10 dataset, serving as a useful navigator for NAS to explore the search space efficiently.

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

↑