예측기 기반 신경망 구조 탐색을 위한 효율적 샘플링
Efficient Sampling for Predictor-Based Neural Architecture Search
Efficient Sampling for Predictor-Based Neural Architecture Search
@misc{mauch2020efficient,
title = {Efficient Sampling for Predictor-Based Neural Architecture Search},
author = {Lukas Mauch and Stephen Tiedemann and Javier Alonso Garcia and Bac Nguyen Cong and Kazuki Yoshiyama and Fabien Cardinaux and Thomas Kemp},
year = {2020},
eprint = {2011.12043},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2011.12043}
}
Mauch, L., Tiedemann, S., Garcia, J. A., Cong, B. N., Yoshiyama, K., Cardinaux, F., & Kemp, T. (2020). Efficient Sampling for Predictor-Based Neural Architecture Search [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.12043
MAUCH L, TIEDEMANN S, GARCIA JA, et al. Efficient Sampling for Predictor-Based Neural Architecture Search[EB/OL]. (2020-11-24)[2026-11-29]. https://arxiv.org/abs/2011.12043.
초록
최근, 예측기 기반 알고리즘이 신경망 구조 탐색 (NAS) 에 대한 유망한 접근법으로 부상했다. NAS 에서 우리는 일반적으로 수백만 개의 딥러닝 신경망 (DNN) 의 검증 정확도를 계산해야 하며, 이는 계산적으로 복잡하다. 예측기 기반 NAS 알고리즘은 이 문제를 해결한다. 이 알고리즘들은 DNN 의 네트워크 구조로부터 직접 검증 정확도를 추론할 수 있는 대리 모델을 훈련시킨다. 최적화 과정에서 대리 모델은 진정한 검증 정확도를 계산해야 하는 구조의 수를 줄여주어 예측기 기반 알고리즘이 샘플 효율성을 갖게 한다. 일반적으로 우리는 네트워크 탐색 공간 내의 모든 DNN 에 대해 대리 모델을 계산하고, 최적화 후보로 그 중 대리 모델의 값이 최대인 구조를 선택한다. 그러나 탐색 공간이 매우 크며 수십억 개의 네트워크 구조를 포함하는 경우가 많아 이는 실용적으로 불가능하다. 본 논문은 세 가지 기여를 한다: 1) 다른 예측기 기반 NAS 알고리즘을 비교하기 위해 샘플 효율성 향상 (sample efficiency gain) 을 정의한다. 2) NASBench-101 데이터셋에서 실험을 수행하여, 대리 모델을 탐색 공간의 부분집합에만 계산할 경우 예측기 기반 알고리즘의 샘플 효율성이 급격히 감소함을 보여준다. 3) 대리 모델을 평가하는 탐색 공간의 부분집합을 지능적으로 선택하면, 전체 탐색 공간에 접근할 수 있는 원래 예측기 기반 알고리즘의 샘플 효율성을 회복할 수 있음을 보여준다. 이는 실용적으로 예측기 기반 NAS 알고리즘을 유용하게 만드는 중요한 단계이다.
Recently, predictor-based algorithms emerged as a promising approach for neural architecture search (NAS). For NAS, we typically have to calculate the validation accuracy of a large number of Deep Neural Networks (DNNs), what is computationally complex. Predictor-based NAS algorithms address this problem. They train a proxy model that can infer the validation accuracy of DNNs directly from their network structure. During optimization, the proxy can be used to narrow down the number of architectures for which the true validation accuracy must be computed, what makes predictor-based algorithms sample efficient. Usually, we compute the proxy for all DNNs in the network search space and pick those that maximize the proxy as candidates for optimization. However, that is intractable in practice, because the search spaces are often very large and contain billions of network architectures. The contributions of this paper are threefold: 1) We define a sample efficiency gain to compare different predictor-based NAS algorithms. 2) We conduct experiments on the NASBench-101 dataset and show that the sample efficiency of predictor-based algorithms decreases dramatically if the proxy is only computed for a subset of the search space. 3) We show that if we choose the subset of the search space on which the proxy is evaluated in a smart way, the sample efficiency of the original predictor-based algorithm that has access to the full search space can be regained. This is an important step to make predictor-based NAS algorithms useful, in practice.