NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Stabilizing Differentiable Architecture Search via Perturbation-based Regularization

Xiangning Chen, Cho-Jui Hsieh

Introduction

Differentiable Architecture Search (DARTS) has revolutionized Neural Architecture Search (NAS) by introducing a continuous relaxation of the search space. This allows for efficient gradient-based optimization, drastically reducing the search time compared to traditional reinforcement learning or evolutionary methods. However, DARTS is notoriously unstable. As the search progresses, the performance of the final discretized architecture often collapses, with the algorithm frequently converging to shallow networks dominated by parameter-free operations like skip connections.

The Sharpness Problem

The authors identify that the root cause of this instability is the "discretization gap." Standard DARTS tends to converge to "sharp" regions in the loss landscape where validation accuracy is highly sensitive to small perturbations in architecture weights. When the continuous weights used during search are discretized to form the final model, the resulting shift causes a significant drop in performance.

Comparison of validation accuracy landscapes between standard DARTS (a) and the proposed SDARTS variants (b, c). The smoothing effect of the perturbations is clearly visible.

SmoothDARTS: Regularizing the Landscape

To mitigate this, the paper introduces SmoothDARTS (SDARTS), which regularizes the optimization objective to ensure high performance within a local neighborhood of the architecture weights. Two primary variants are proposed:

  1. SDARTS-RS (Random Smoothing): This method adds random noise ($\delta$) to the architecture weights during training. It is computationally efficient, adding almost no overhead, and forces the optimizer toward smoother regions of the loss landscape.
  2. SDARTS-ADV (Adversarial Attack): A more robust version that uses Projected Gradient Descent (PGD) to find the worst-case perturbation within a small radius. While it roughly doubles the search time, it provides superior stability and performance.

Theoretically, these techniques implicitly control the Hessian norm (the curvature) of the validation loss. By keeping the Hessian norm small, SDARTS ensures the loss landscape remains flat, bridging the gap between continuous search and discrete evaluation.

Experimental Results

SDARTS was evaluated on several benchmarks, including NAS-Bench-1Shot1, CIFAR-10, CIFAR-100, and ImageNet. On the diagnostic NAS-Bench-1Shot1, SDARTS maintained stable performance throughout the 100-epoch run, whereas standard DARTS performance plummeted after 40 epochs.

Architectures discovered by SDARTS demonstrate the method's ability to find complex and effective operation patterns without over-relying on skip connections.

In image classification tasks, SDARTS-ADV achieved a 2.61% test error on CIFAR-10, significantly outperforming the original DARTS (3.00%). Architectures discovered on CIFAR-10 also transferred well to ImageNet, achieving a top-1 error of 24.2%. Empirical analysis confirmed that SDARTS successfully keeps the dominant eigenvalue of the Hessian much lower than standard DARTS, validating the smoothing hypothesis.

Conclusion

SmoothDARTS addresses the fundamental instability of differentiable NAS by smoothing the architecture loss landscape. By injecting random or adversarial perturbations, the method prevents convergence to sharp, poorly generalizing minima. This simple yet effective regularization strategy stabilizes the search process and enables the discovery of high-performing architectures across a variety of tasks.

Summary updated

BibTeX
@inproceedings{chen2020stabilizing,
  author = {Xiangning Chen and Cho-Jui Hsieh},
  title = {{Stabilizing Differentiable Architecture Search via Perturbation-based Regularization}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure