Muestreo eficiente para la búsqueda de arquitecturas neuronales basada en predictores
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.
Resumen
Recientemente, los algoritmos basados en predictores han emergido como un enfoque prometedor para la búsqueda de arquitecturas neuronales (NAS). Para la NAS, típicamente debemos calcular la precisión de validación de un gran número de Redes Neuronales Profundas (DNN), lo cual es computacionalmente complejo. Los algoritmos de NAS basados en predictores abordan este problema. Entrenan un modelo proxy que puede inferir directamente la precisión de validación de los DNN a partir de su estructura de red. Durante la optimización, el proxy puede utilizarse para reducir el número de arquitecturas para las cuales se debe calcular la precisión de validación verdadera, lo que hace que los algoritmos basados en predictores sean eficientes en muestras. Normalmente, calculamos el proxy para todos los DNN en el espacio de búsqueda de redes y seleccionamos aquellos que maximizan el proxy como candidatos para la optimización. Sin embargo, esto es intratable en la práctica, porque los espacios de búsqueda suelen ser muy grandes y contener miles de millones de arquitecturas de red. Las contribuciones de este trabajo son tres: 1) Definimos una ganancia de eficiencia en muestras para comparar diferentes algoritmos de NAS basados en predictores. 2) Realizamos experimentos en el conjunto de datos NASBench-101 y mostramos que la eficiencia en muestras de los algoritmos basados en predictores disminuye drásticamente si el proxy se calcula solo para un subconjunto del espacio de búsqueda. 3) Mostramos que si elegimos el subconjunto del espacio de búsqueda en el que se evalúa el proxy de manera inteligente, se puede recuperar la eficiencia en muestras del algoritmo original de predictores que tiene acceso al espacio de búsqueda completo. Este es un paso importante para hacer que los algoritmos de NAS basados en predictores sean útiles en la práctica.
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.