Abstract
Neural architecture search (NAS), an important branch of automatic machine learning, has become an effective approach to automate the design of deep learning models. However, the major issue in NAS is how to reduce the large search time imposed by the heavy computational burden. While most recent approaches focus on pruning redundant sets or developing new search methodologies, this paper attempts to formulate the problem based on the data curation manner. Our key strategy is to search the architecture using summarized data distribution, i.e., core-set. Typically, many NAS algorithms separate searching and training stages, and the proposed core-set methodology is only used in search stage, thus their performance degradation can be minimized. In our experiments, we were able to save overall computational time from 30.8 hours to 3.5 hours, 8.8x reduction, on a single RTX 3090 GPU without sacrificing accuracy.
Introduction
Neural Architecture Search (NAS) aims to automate the design of optimal deep learning models, replacing human intuition with algorithmic search. However, evaluating thousands of candidate architectures on massive datasets imposes a massive computational burden. To reduce search time, most existing research focuses on algorithmic improvements: pruning the search space, using weight-sharing super-networks, or searching on a smaller "proxy" dataset (like CIFAR-10) and transferring the discovered architecture to the target task. However, proxy datasets suffer from domain gaps—the "best" architecture for CIFAR-10 might not be the best for a more complex dataset. This paper addresses the computational bottleneck by using a highly representative, condensed subset of the target data, known as a "core-set."
Methodology
The proposed data curation methodology isolates a core-set of the target dataset to be used exclusively during the NAS search phase. The final discovered architecture is then trained from scratch on the full dataset.
The core-set selection process involves three main steps:
- Semantic Embedding: Raw images are passed through a pre-trained image classifier (e.g., Inceptionv3) to project them into a low-dimensional, semantically meaningful feature space.
- Core-set Selection: Subset selection is framed as a "minimax facility location" problem. Using a greedy $k$-center algorithm, samples are iteratively selected for each class to maximize the distance to the nearest already-selected sample, ensuring thorough coverage of the data distribution without redundancy.
- Architecture Search: A state-of-the-art differentiable NAS algorithm (PC-DARTS) is run on this small core-set to find the optimal network topology.
Experimental Results
The core-set approach demonstrates a significant improvement in efficiency without compromising model performance.
As shown in Figure 1, searching on a 10% core-set of Tiny-ImageNet achieves a Top-1 accuracy of 61.4%, matching the performance of a search on the full dataset but with 8.8x less search time. Detailed quantitative results are provided in the table below, comparing core-set selection against random sampling and the full dataset.
Key observations from the experiments include:
- Efficiency: Search time dropped from 30.8 hours (full dataset) to 3.5 hours (10% core-set) on a single RTX 3090 GPU.
- Core-set vs. Random Sampling: At a 10% sampling ratio, the core-set approach (61.4% accuracy) significantly outperforms random sampling (59.3% accuracy).
- Direct Search vs. Proxy Transfer: Searching on a 10% core-set of the target data yields better results than searching on a full proxy dataset like CIFAR-10 (60.5% accuracy).
The quality of embeddings is crucial; supervised Inceptionv3 trained on ImageNet yielded better core-sets than other models, such as ResNet-50 trained on Places365 or unsupervised SwAV.
Conclusion
Data curation via core-set sampling is a highly effective, orthogonal approach to algorithmic NAS improvements. By focusing on the data distribution, search costs can be drastically reduced with zero loss in accuracy. Future work includes exploring dynamic data curation and applying these techniques to a wider variety of NAS methodologies.
Summary updated