Skip to main content
QUICK REVIEW

[Paper Review] You Only Search Once: Single Shot Neural Architecture Search via Direct Sparse Optimization

Xinbang Zhang, Zehao Huang|arXiv (Cornell University)|Nov 5, 2018
Advanced Neural Network ApplicationsComputer Science25 references43 citations
TL;DR

DSO-NAS reframes NAS as direct sparse optimization on a fully connected block DAG, learning weights and sparse edge scalings jointly to prune architecture in one shot. It achieves competitive results with reduced search cost, enabling large-scale dataset applicability.

ABSTRACT

Recently Neural Architecture Search (NAS) has aroused great interest in both academia and industry, however it remains challenging because of its huge and non-continuous search space. Instead of applying evolutionary algorithm or reinforcement learning as previous works, this paper proposes a Direct Sparse Optimization NAS (DSO-NAS) method. In DSO-NAS, we provide a novel model pruning view to NAS problem. In specific, we start from a completely connected block, and then introduce scaling factors to scale the information flow between operations. Next, we impose sparse regularizations to prune useless connections in the architecture. Lastly, we derive an efficient and theoretically sound optimization method to solve it. Our method enjoys both advantages of differentiability and efficiency, therefore can be directly applied to large datasets like ImageNet. Particularly, On CIFAR-10 dataset, DSO-NAS achieves an average test error 2.84\%, while on the ImageNet dataset DSO-NAS achieves 25.4\% test error under 600M FLOPs with 8 GPUs in 18 hours.

Motivation & Objective

  • Democratize NAS by avoiding costly controllers or predictors and provide a differentiable, single-model search framework.
  • Represent the NAS search space as a complete DAG and prune via sparse regularization on edge scalings.
  • Develop and apply an efficient optimization method for jointly learning weights and architectural parameters under budgets.

Proposed method

  • Represent NAS as pruning edges in a complete DAG block with scaling factors λ on each edge (edges with zero λ are pruned).
  • Formulate block search with outputs h(i) = O(i)(sum_j λ(j→i) h(j)); λ are learned with sparse regularization (L1) to induce sparsity.
  • Optimize W (weights) and λ jointly via an accelerated proximal gradient method (APG-NAG) with a two-part training to prevent overfitting of structure (split data for W and λ).
  • Use budget-aware regularization (Adaptive FLOPs or Adaptive MAC) to steer architecture under FLOPs or memory/compute constraints.
  • Search space includes two modes: block-shared λ and block-independent λ (full search).
  • Final architecture derived by pruning zero-λ edges and isolated operations, then retraining from scratch.

Experimental results

Research questions

  • RQ1Can NAS be effectively performed by directly pruning a fully connected architectural space rather than using controllers or predictors?
  • RQ2Does a differentiable, sparse-optimization formulation enable scalable NAS on large datasets like ImageNet?
  • RQ3How do budget-aware regularizations influence the discovered architectures under FLOPs and MAC constraints?

Key findings

  • On CIFAR-10, DSO-NAS achieves 2.84% average test error (with ±0.07) for the share variant and competitive results under comparable parameter budgets.
  • On ImageNet, DSO-NAS achieves 25.4% top-1/8.4% top-5 with 4.8B? FLOPs and comparable parameter counts under a small search cost, enabling direct search on ImageNet.
  • DSO-NAS requires significantly less search cost (around 1 GPU day) compared to 4k–3k GPU-days reported by several RL/evolution/one-shot NAS methods.
  • Adaptive budget strategies (Adaptive FLOPs and Adaptive MAC) improve performance under fixed FLOPs or MAC budgets by balancing edge pruning across blocks.
  • A block-based search without block sharing (DSO-NAS-full) performs competitively; block-sharing (DSO-NAS-share) often yields better or similar results with reduced search complexity.

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.