Inductive Transfer for Neural Architecture Optimization

Martin Wistuba, Tejaswini PedapatiarXiv 2019

Abstract

The recent advent of automated neural network architecture search led to several methods that outperform state-of-the-art human-designed architectures. However, these approaches are computationally expensive, in extreme cases consuming GPU years. We propose two novel methods which aim to expedite this optimization problem by transferring knowledge acquired from previous tasks to new ones. First, we propose a novel neural architecture selection method which employs this knowledge to identify strong and weak characteristics of neural architectures across datasets. Thus, these characteristics do not need to be rediscovered in every search, a strong weakness of current state-of-the-art searches. Second, we propose a method for learning curve extrapolation to determine if a training process can be terminated early. In contrast to existing work, we propose to learn from learning curves of architectures trained on other datasets to improve the prediction accuracy for novel datasets. On five different image classification benchmarks, we empirically demonstrate that both of our orthogonal contributions independently lead to an acceleration, without any significant loss in accuracy.

Introduction

Neural Architecture Search (NAS) has revolutionized model design by automating the discovery of high-performing structures. However, the computational cost remains a significant barrier, often requiring thousands of GPU hours. A primary inefficiency in current NAS algorithms is their "forgetfulness": every search on a new dataset typically starts from scratch, ignoring valuable metaknowledge from previous experiments. This paper introduces a framework based on inductive transfer to address two critical bottlenecks: search strategy and performance estimation.

Methods

IT-NAS: Search Strategy via Matrix Factorization

The authors treat architecture selection as a recommendation problem. By constructing a matrix where rows represent neural architectures and columns represent datasets, the search for a new dataset ($d_{new}$) becomes a matrix completion task.

The IT-NAS framework uses matrix factorization to predict architecture performance on new datasets based on metaknowledge from previous tasks.

Using Variational Bayesian Matrix Factorization, the model learns latent representations of architectures and datasets. This allows it to predict the performance of a specific architecture on a brand-new dataset without training it to completion. Bayesian Optimization then uses these predictions to prioritize architectures likely to exceed the current best performance.

IT-LCE: Learning Curve Extrapolation

To further accelerate evaluation, the authors propose IT-LCE for early stopping. Unlike traditional methods that only consider the current training run, IT-LCE leverages thousands of learning curves from other datasets to predict final accuracy after only a few epochs. If the probability of a model surpassing the current state-of-the-art falls below a threshold, the training is terminated immediately, saving substantial compute resources.

Empirical Evaluation

The proposed methods were evaluated on five diverse image classification benchmarks: CIFAR-10, CIFAR-100, SVHN, Fashion-MNIST, and Quick, Draw!. The results demonstrate that strong architectural characteristics are often robust across different image tasks; a cell topology that performs well on CIFAR-10 is likely to be effective for SVHN as well.

Comparison of IT-NAS against Random search and ENAS across five benchmarks, showing significant speedups in finding high-accuracy architectures.

Key Results

  • Search Efficiency: IT-NAS identified state-of-the-art architectures on CIFAR-10 and CIFAR-100 in under 8 hours of search time.
  • Acceleration: The IT-LCE early stopping method provided a 16x speedup compared to full training, saving an average of 350 GPU hours per search.
  • Competitive Performance: On CIFAR-10, the method achieved a 3.06% error rate, matching or outperforming more expensive methods like ENAS and Large-Scale Evolution while being orders of magnitude faster.

Conclusion

By leveraging metaknowledge through inductive transfer, NAS can be transformed from a weeks-long process into one that takes only hours. While building the initial library of experiments requires an upfront investment, this metaknowledge serves as a reusable public good. Future work may involve collaborative platforms like OpenML to crowdsource this metaknowledge, making efficient NAS accessible to the broader research community.

Summary updated

BibTeX
@misc{wistuba2019inductive,
  author = {Martin Wistuba and Tejaswini Pedapati},
  title = {{Inductive Transfer for Neural Architecture Optimization}},
  year = {2019},
  eprint = {1903.03536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.03536},
}
Figure