Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

CAP: A Context-Aware Neural Predictor for NAS

About

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.

Han Ji, Yuqi Feng, Yanan Sun• 2024

Related benchmarks

TaskDatasetResultRank
Neural Architecture SearchNAS-Bench-201 ImageNet-16-120 (test)
Accuracy46.49
140
Neural Architecture SearchCIFAR-10 NAS-Bench-201 (val)
Accuracy94.34
111
Neural Architecture SearchNAS-Bench-201 CIFAR-10 (test)
Accuracy93.81
110
Neural Architecture SearchImageNet16-120 NAS-Bench-201 (val)
Accuracy46
104
Neural Architecture SearchNAS-Bench-201 CIFAR-100 (test)
Accuracy72.32
103
Neural Architecture SearchCIFAR-100 NAS-Bench-201 (val)
Accuracy72.24
92
Architecture Performance PredictionNAS-Bench-101 (test)
Kendall's Tau0.59
49
Neural Architecture SearchNASBench-201 ImageNet16-120
Rank3
38
Neural Architecture SearchNAS-Bench-201 CIFAR-100
Accuracy73.41
24
Neural Architecture SearchNAS-Bench-101
Accuracy94.18
19
Showing 10 of 17 rows

Other info

Follow for update