Towards Improving the Consistency, Efficiency, and Flexibility of Differentiable Neural Architecture Search

Yibo Yang, Shan You, Hongyang Li, Fei Wang, Chen Qian, Zhouchen Lin

Abstract

Differentiable Neural Architecture Search (NAS) methods like DARTS often suffer from an "architecture gap" between the search and evaluation phases. We present EnTranNAS, which bridges this gap using a hybrid Engine-Transit cell structure and a Differentiable Search for Topology (DST). EnTranNAS achieves a 2.22% error rate on CIFAR-10 and a 23.8% top-1 error on ImageNet, while being significantly faster than previous methods, completing a CIFAR-10 search in just 1.6 hours on a single GPU.

Introduction

Differentiable Neural Architecture Search (NAS) has revolutionized automated model design by making the search space continuous and optimizable via gradient descent. However, standard methods face three critical challenges: inconsistency between the super-net search and target-net evaluation, memory inefficiency due to the massive super-net, and inflexibility caused by rigid, hand-crafted topology rules (e.g., forcing exactly two connections per node).

Methodology

The core innovation of EnTranNAS is the separation of the network into Engine-cells and Transit-cells to minimize the discrepancy between search and evaluation.

Engine-cells and Transit-cells

In traditional NAS, every cell in the super-net is a complex mixture of all possible operations. EnTranNAS simplifies this by using only one Engine-cell per cell type (normal and reduction) to maintain and update architecture parameters. The remaining cells, termed Transit-cells, execute only the currently optimal sub-graph derived from the Engine-cell. This ensures the search network closely resembles the final evaluation network, providing more realistic gradients and naturally handling deeper networks without memory explosion.

The macro-architecture of EnTranNAS, illustrating the distribution of Engine-cells (red) and Transit-cells (green) throughout the network.

Differentiable Search for Topology (DST)

To overcome the limitations of fixed topology rules, the authors introduce EnTranNAS-DST. This method utilizes a learnable threshold to prune connections based on importance scores. This allows the model to autonomously discover irregular and more efficient topologies, deciding if a node needs zero, one, or multiple connections to previous layers.

Comparison of the standard EnTranNAS and the EnTranNAS-DST variant, highlighting the transition from a dense search space to a sparse, derived architecture.

Feature Sharing Strategy

To further improve efficiency, EnTranNAS implements a feature sharing strategy. By sharing the output of identical operations from the same source node across different target nodes, the method reduces redundant computations and memory usage, though it slightly trades off some representation power during the search phase.

Results

EnTranNAS demonstrates superior performance across multiple benchmarks:

  • Efficiency: The search on CIFAR-10 is completed in 0.07 GPU-days (approximately 1.6 hours), a 10x speedup over the original DARTS implementation.
  • Accuracy: On CIFAR-10, the derived architecture achieves a 2.22% error rate. On ImageNet, direct search yields a 23.8% top-1 error rate. The architectures also proved effective as backbones for semantic segmentation on Pascal VOC 2012.
  • Flexibility: The DST mechanism allows for a smooth trade-off between model complexity and accuracy by adjusting a sparsification hyperparameter ($\lambda$), discovering models that consistently outperform manually designed baselines like DenseNet.

Conclusion

EnTranNAS effectively addresses the architecture gap in differentiable NAS. By utilizing Engine and Transit cells alongside a differentiable topology search, it provides a consistent, efficient, and flexible framework for discovering high-performance neural architectures. Future work may explore extending this framework to more complex macro-architectures beyond cell-based designs.

Summary updated

BibTeX
@inproceedings{yang2021towards,
  author = {Yibo Yang and Shan You and Hongyang Li and Fei Wang and Chen Qian and Zhouchen Lin},
  title = {{Towards Improving the Consistency, Efficiency, and Flexibility of Differentiable Neural Architecture Search}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00660},
}
Figure