Skip to main content
QUICK REVIEW

[Paper Review] AutoHAS: Efficient Hyperparameter and Architecture Search

Xuanyi Dong, Mingxing Tan|arXiv (Cornell University)|Jun 5, 2020
Machine Learning and Data ClassificationComputer Science43 references24 citations
TL;DR

AutoHAS is a unified, efficient framework for joint hyperparameter and neural architecture search using reinforcement learning with weight sharing. It alternately optimizes shared network weights and a controller that samples architecture and hyperparameter configurations, achieving state-of-the-art accuracy gains—up to 11.4% on less-optimized models and 0.8% on highly optimized ones like EfficientNet-B0—across CIFAR-10/100, ImageNet, and Places365 with significantly reduced memory cost.

ABSTRACT

Efficient hyperparameter or architecture search methods have shown remarkable results, but each of them is only applicable to searching for either hyperparameters (HPs) or architectures. In this work, we propose a unified pipeline, AutoHAS, to efficiently search for both architectures and hyperparameters. AutoHAS learns to alternately update the shared network weights and a reinforcement learning (RL) controller, which learns the probability distribution for the architecture candidates and HP candidates. A temporary weight is introduced to store the updated weight from the selected HPs (by the controller), and a validation accuracy based on this temporary weight serves as a reward to update the controller. In experiments, we show AutoHAS is efficient and generalizable to different search spaces, baselines and datasets. In particular, AutoHAS can improve the accuracy over popular network architectures, such as ResNet and EfficientNet, on CIFAR-10/100, ImageNet, and four more other datasets.

Motivation & Objective

  • To address the inefficiency and lack of generality in existing hyperparameter and architecture search methods that handle only one or the other.
  • To unify hyperparameter and architecture search into a single, efficient, and scalable framework.
  • To reduce memory and computational costs during search while maintaining high accuracy improvements.
  • To enable automatic discovery of optimal hyperparameters (e.g., learning rate, dropout, mixup) and architectures in a single search process.
  • To generalize weight sharing beyond architecture search to include hyperparameter search, enabling faster convergence and better initialization.

Proposed method

  • AutoHAS uses a supermodel with shared weights across all architecture and hyperparameter configurations, enabling efficient training without retraining from scratch.
  • A reinforcement learning controller samples architecture and hyperparameter candidates, with the probability distribution over choices learned via policy optimization.
  • Temporary weights are introduced to store the model state under a specific hyperparameter configuration, enabling validation accuracy to serve as a reward signal.
  • Continuous hyperparameters (e.g., learning rate) are discretized into a linear combination of categorical basis vectors to unify the search space for both categorical and continuous variables.
  • The controller is optimized using the REINFORCE algorithm, which avoids the high memory cost of differentiable search by training only a subset of the supermodel at each step.
  • Weight sharing is extended across both architecture and hyperparameter spaces, allowing the shared weights to serve as a strong initialization for all subsequent search steps.

Experimental results

Research questions

  • RQ1Can a single, unified framework efficiently search for both neural architectures and hyperparameters?
  • RQ2How does AutoHAS compare in efficiency and accuracy to existing methods that handle only architecture or hyperparameter search?
  • RQ3Can AutoHAS discover beneficial hyperparameter configurations (e.g., drop-connect ratios) that are difficult to tune manually?
  • RQ4Does the integration of weight sharing across both architecture and hyperparameter spaces lead to better generalization and scalability?
  • RQ5How does the memory efficiency of REINFORCE-based search compare to differentiable search in large-scale models like EfficientNet-B0?

Key findings

  • AutoHAS improves ImageNet top-1 accuracy by 0.8% over the highly-optimized EfficientNet-B0 baseline through joint architecture and hyperparameter search.
  • On the less-optimized Oxford-Flowers dataset, AutoHAS achieves an 11.4% accuracy gain over the baseline model.
  • On Places365, AutoHAS improves the accuracy of EfficientNet-B0 by 1%, achieving a new state-of-the-art result with single-crop evaluation.
  • AutoHAS reduces memory cost by 70% compared to differentiable search methods, enabling scalable search on large models like ResNet-50 and EfficientNet-B0.
  • The framework discovers optimal drop-connect ratios across multiple layers in EfficientNet-B0, which are difficult to tune manually, and visualizations confirm non-uniform, layer-specific optimal values.
  • AutoHAS achieves comparable accuracy gains to differentiable search but with significantly lower memory usage, making it feasible for larger models and broader search spaces.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.