DropNAS: Grouped Operation Dropout for Differentiable Architecture Search

Weijun Hong, Guilin Li, Weinan Zhang, Ruiming Tang, Yunhe Wang, Zhenguo Li, Yong Yu

Introduction

Neural Architecture Search (NAS) has significantly advanced the automation of deep learning model design. Among NAS techniques, Differentiable Architecture Search (DARTS) is prominent for its efficiency, utilizing a "supernet" where all potential operations—such as various convolutions and pooling layers—are trained simultaneously via weight-sharing. However, DARTS is hindered by two critical issues: the Co-adaption Problem and the Matthew Effect.

Co-adaption occurs because simpler operations (e.g., skip-connections or $3\times3$ convolutions) converge faster than complex ones (e.g., $5\times5$ convolutions). Consequently, the supernet quickly learns to rely on these "easy" operations, preventing complex operations from being fully explored. This leads to the Matthew Effect—a "rich get richer" scenario where operations with slightly higher initial architecture scores receive more gradient updates, further improving their scores while underperforming but potentially superior operations are prematurely discarded.

The DropNAS Framework

To address these biases, we introduce DropNAS, which employs a "Grouped Operation Dropout" strategy to ensure a fair competition during the architectural search. DropNAS consists of three primary mechanisms:

  1. Grouped Operation Dropout: Operations are categorized into Parameterized ($O_p$, such as convolutions) and Non-parameterized ($O_{np}$, such as max-pooling or identity) groups. By randomly disabling subsets of these operations during training, the supernet is forced to explore diverse paths, giving complex operations the necessary "airtime" to mature.
  2. $\alpha$-Adjust: Standard DARTS uses a Softmax function for architecture scores. Dropping an operation would mathematically inflate the scores of remaining operations regardless of their actual performance. $\alpha$-Adjust introduces a correction term to stabilize relative scores, preventing accidental promotion of operations.
  3. Partial-Decay: To avoid over-regularization, L2 weight decay is applied only to active (non-dropped) operations in each training step.

Visualizing Feature Diversity

A key insight of DropNAS is its ability to preserve the unique contributions of complex operations. By clustering feature maps using Principal Component Analysis (PCA), we can visualize how different operations contribute to the network's representational power.

Feature clusters visualized via PCA across different cells and datasets, highlighting the diversity of learned operations under the DropNAS framework.

As shown in the visualization, standard DARTS often ignores large kernels like $5\times5$ convolutions because they take longer to mature. DropNAS effectively brings these "outliers" back into the fold, ensuring that the search process identifies the most effective operations rather than just the fastest-converging ones. This is reflected in the high fidelity of the search; DropNAS achieved a performance correlation coefficient of 0.902, a massive improvement over the 0.2 seen in standard DARTS.

Experimental Results

DropNAS was evaluated on standard benchmarks, demonstrating state-of-the-art performance and high efficiency:

  • CIFAR-10: Achieved a 2.26% test error, outperforming DARTS (3.00%) and P-DARTS (2.50%).
  • CIFAR-100: Reached a 16.39% test error (14.10% with auto-augmentation), significantly better than the 17.76% of original DARTS.
  • ImageNet: Architectures transferred from CIFAR achieved a 23.4% Top-1 error, competitive with top-tier mobile-sized models.
  • Efficiency: The search process is highly efficient, requiring only 0.6 to 0.7 GPU days.

Discussion and Limitations

While DropNAS provides a robust framework for NAS, it is not without challenges. The search performance is notably sensitive to the Drop Path Rate ($r$). Finding the optimal rate is crucial for balancing exploration and exploitation.

Impact of the Drop Path Rate $r$ on CIFAR-100 accuracy, demonstrating the sensitivity of the search process to this hyperparameter.

Future work may involve refining the grouping logic beyond the current binary parameterized/non-parameterized split—perhaps grouping by kernel size or dilation rate—and expanding the application of Grouped Operation Dropout to domains like Natural Language Processing and Object Detection.

Summary updated

BibTeX
@inproceedings{hong2020dropnas,
  author = {Weijun Hong and Guilin Li and Weinan Zhang and Ruiming Tang and Yunhe Wang and Zhenguo Li and Yong Yu},
  title = {{DropNAS: Grouped Operation Dropout for Differentiable Architecture Search}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/322},
}
Figure