[Paper Review] Self-supervised Representation Learning for Evolutionary Neural Architecture Search
This paper proposes a self-supervised representation learning framework for neural architecture search (NAS) that improves neural predictor performance with minimal labeled data. By introducing a position-aware path-based encoding to better represent neural architectures and designing two novel self-supervised pre-training methods—graph edit distance prediction and central contrastive learning—the approach achieves state-of-the-art accuracy on NASBench-101 and NASBench-201 using only a fraction of the training data required by supervised baselines.
Recently proposed neural architecture search (NAS) algorithms adopt neural predictors to accelerate the architecture search. The capability of neural predictors to accurately predict the performance metrics of neural architecture is critical to NAS, and the acquisition of training datasets for neural predictors is time-consuming. How to obtain a neural predictor with high prediction accuracy using a small amount of training data is a central problem to neural predictor-based NAS. Here, we firstly design a new architecture encoding scheme that overcomes the drawbacks of existing vector-based architecture encoding schemes to calculate the graph edit distance of neural architectures. To enhance the predictive performance of neural predictors, we devise two self-supervised learning methods from different perspectives to pre-train the architecture embedding part of neural predictors to generate a meaningful representation of neural architectures. The first one is to train a carefully designed two branch graph neural network model to predict the graph edit distance of two input neural architectures. The second method is inspired by the prevalently contrastive learning, and we present a new contrastive learning algorithm that utilizes a central feature vector as a proxy to contrast positive pairs against negative pairs. Experimental results illustrate that the pre-trained neural predictors can achieve comparable or superior performance compared with their supervised counterparts with several times less training samples. We achieve state-of-the-art performance on the NASBench-101 and NASBench201 benchmarks when integrating the pre-trained neural predictors with an evolutionary NAS algorithm.
Motivation & Objective
- To address the challenge of limited labeled data in training neural predictors for neural architecture search (NAS).
- To improve the predictive accuracy of neural predictors with significantly fewer training samples than supervised methods.
- To develop a more effective architecture encoding scheme that captures structural and positional differences in neural architectures.
- To explore self-supervised pre-training techniques that generate meaningful representations for neural architecture embeddings.
- To integrate pre-trained predictors into an evolutionary NAS framework and evaluate performance on standard benchmarks.
Proposed method
- Proposes a position-aware path-based encoding scheme that captures operation positions and distinguishes isomorphic graphs, overcoming limitations of standard path-based encoding.
- Designs a two-branch graph neural network to predict the graph edit distance (GED) between two neural architectures as a self-supervised pretext task.
- Introduces a central contrastive learning method that uses a shared central feature vector to contrast positive pairs (similar architectures) against negative pairs (dissimilar ones).
- Pre-trains the architecture embedding module of the neural predictor using these self-supervised objectives before fine-tuning on small labeled datasets.
- Integrates the pre-trained neural predictors into an evolutionary NAS algorithm to search for high-performing architectures efficiently.
- Employs NASBench-101 and NASBench-201 as benchmark datasets to evaluate performance across CIFAR-10, CIFAR-100, and ImageNet-16-120.
Experimental results
Research questions
- RQ1Can a self-supervised pre-training strategy significantly improve the performance of neural predictors in NAS with limited labeled data?
- RQ2Does a position-aware architecture encoding scheme lead to better representation learning than standard path-based encoding?
- RQ3How do different self-supervised pretext tasks—GED prediction and contrastive learning—affect the final predictor accuracy?
- RQ4Can pre-trained neural predictors achieve state-of-the-art performance when integrated into an evolutionary NAS framework?
- RQ5What is the impact of pre-training on sample efficiency, particularly when training data is scarce?
Key findings
- The proposed position-aware path-based encoding successfully distinguishes isomorphic and position-differentiated neural architectures, unlike standard path-based encoding.
- The self-supervised pre-trained neural predictors achieve comparable or superior performance to supervised counterparts when trained on only a few times fewer samples.
- On NASBench-101, the method achieves a test error of 8.92% on CIFAR-10 with a fixed search budget, matching the ORACLE baseline of 8.91%.
- On NASBench-201, the method achieves state-of-the-art performance with a test error of 8.94% on CIFAR-10, 26.51% on CIFAR-100, and 53.78% on ImageNet-16-120 using 150 evaluations.
- The two self-supervised methods—GED prediction and central contrastive learning—exhibit distinct behaviors, suggesting different inductive biases in representation learning.
- The pre-trained neural predictors generalize well when integrated into evolutionary NAS, demonstrating strong sample efficiency and performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.