ASAP: Architecture Search, Anneal and Prune

Asaf Noy, Niv Nayman, Tal Ridnik, Nadav Zamir, Sivan Doveh, Itamar Friedman, Raja Giryes, Lihi Zelnik-Manor

TL;DR

This paper introduces ASAP, a novel Neural Architecture Search (NAS) method that significantly reduces search time by employing a continuous, differentiable search space with gradual annealing and pruning of network operations. This approach achieves state-of-the-art accuracy on CIFAR-10 with a mere 0.2 GPU search days, outperforming previous methods that required days or weeks.

What Problem Does This Paper Address?

The core challenge addressed is the immense computational cost associated with Neural Architecture Search (NAS). While NAS has proven effective in discovering state-of-the-art deep learning models, traditional methods often require thousands of GPU days for convergence. Even more recent gradient-based approaches, while faster, still involve discrete steps like pruning weak connections all at once, which can be suboptimal and hinder efficiency. This paper aims to make NAS more affordable and accessible by drastically reducing the search time without sacrificing accuracy.

Methods

ASAP builds upon the differentiable search space concept introduced in DARTS. The key innovation lies in making this search space "annealable." Instead of a single, harsh pruning step at the end of the search, ASAP gradually anneals the architecture weights and prunes inferior operations continuously throughout the process. This is achieved by:

  • Differentiable Search Space: Similar to DARTS, ASAP uses a continuous relaxation of the discrete search space, allowing for gradient-based optimization.
  • Annealing Architecture Weights: A temperature parameter $T$ is introduced, which gradually decreases over time. This controls the "softness" of the operation selection, initially allowing consideration of all operations and eventually converging to a single, best operation.
  • Gradual Pruning: Operations are pruned based on their associated architecture weights falling below a dynamic threshold $\theta_t$. This "soft" pruning, guided by the annealing process, avoids the abruptness of traditional methods.
  • Warm-up Phase: A short initial phase trains network weights without pruning to ensure a more balanced starting point, preventing premature decisions based on imbalanced weights.

The paper also provides theoretical analysis (Theorem 2 and 3) to support the effectiveness of their annealing and thresholding policies in guaranteeing the pruning of suboptimal operations.

Datasets

The following datasets were used for training and/or evaluation:

  • CIFAR-10: Used for initial architecture search and evaluation.
  • ImageNet: Used for transferability testing of the learned cell.
  • CINIC-10, Freiburg, CIFAR-100, SVHN, Fashion-MNIST: Additional classification benchmarks used to evaluate the transferability of the ASAP-found cell.

Key Insights and Ideas

  • Annealing is Key to Efficiency and Accuracy: The gradual annealing and pruning process is the central idea. It allows the network to continuously refine its architecture, leading to faster convergence and better final performance compared to a single, late-stage pruning event.
  • Continuous Optimization is Superior: By maintaining a differentiable and continuous search space throughout, ASAP avoids the "relaxation bias" that can occur when discrete operations are abruptly selected.
  • Pruning as a Gradual Process: The paper argues that pruning should not be a binary decision made at the end, but rather an ongoing, gentle refinement that allows weights to adapt.
  • Theoretical Guarantees for Pruning: The authors provide theoretical backing for their approach, demonstrating that their method is likely to prune suboptimal operations while preserving the best ones.

Key Results

  • Drastic Speedup: ASAP achieves an error rate of 1.68% on CIFAR-10 with only 0.2 GPU search days (approximately 4.8 GPU hours). This is a significant improvement over previous state-of-the-art methods that required hundreds or thousands of GPU days.
  • Competitive Accuracy: The architectures found by ASAP achieve competitive or superior accuracy compared to other NAS methods on CIFAR-10 and several other transferability datasets. For instance, ASAP-Large achieved a test error of 1.68% on CIFAR-10.
  • Good Transferability: The cell architecture discovered by ASAP on CIFAR-10 demonstrated strong transferability to other datasets, often outperforming other NAS methods.
  • Reduced Search Cost: The primary quantitative result is the dramatic reduction in search cost, making NAS more practical for researchers and practitioners.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper suggests specific annealing schedules and threshold policies, the effectiveness of ASAP might still be sensitive to hyperparameter choices, especially for different datasets or network architectures.
  • Generalization to Other Tasks: The current work focuses on image classification. Future work could explore ASAP's applicability to other domains like natural language processing or object detection.
  • Further Optimization of Search Space: The paper mentions that the search space could be further explored or modified to potentially discover even better architectures.
  • Exploration of Different Pruning Criteria: While ASAP's gradual pruning is effective, exploring alternative criteria for pruning beyond weight magnitude could be a future direction.

Summary updated

BibTeX
@inproceedings{noy2020asap,
  author = {Asaf Noy and Niv Nayman and Tal Ridnik and Nadav Zamir and Sivan Doveh and Itamar Friedman and Raja Giryes and Lihi Zelnik-Manor},
  title = {{ASAP: Architecture Search, Anneal and Prune}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
}
Figure