On Constrained Optimization in Differentiable Neural Architecture Search

Kaitlin Maile, Erwan Lecarpentier, Hervé Luga, Dennis G. Wilson

Abstract

Differentiable Architecture Search (DARTS) is a recent neural architecture search (NAS) method based on a differentiable relaxation. Due to its success, numerous variants analyzing and improving parts of the DARTS framework have recently been proposed. By considering the problem as a constrained bilevel optimization, we present and analyze DARTS-PRIME, a variant including improvements to architectural weight update scheduling and regularization towards discretization. We propose a dynamic schedule based on per-minibatch network information to make architecture updates more informed, as well as proximity regularization to promote well-separated discretization. Our results in multiple domains show that DARTS-PRIME improves both performance and reliability, comparable to state-of-the-art in differentiable NAS.

Introduction

Neural Architecture Search (NAS) aims to automate the design of neural networks, moving away from manual trial-and-error. DARTS revolutionized this field by relaxing the discrete search space—where one must choose between operations like convolutions or pooling—into a continuous one. This allows the architecture to be optimized efficiently using standard gradient descent.

However, DARTS formulates this as a complex bilevel optimization problem: it must simultaneously optimize the network's internal weights ($w$) and the architecture's structural weights ($\alpha$). The standard DARTS algorithm naively alternates between updating $w$ and $\alpha$ one step at a time. Because simple operations like "skip-connections" converge much faster than complex parameterized operations like convolutions, this naive schedule unfairly penalizes complex operations early in training. This leads to a known failure mode called skip-connection collapse, where the final network is just a shallow, poorly performing series of skip-connections. Furthermore, the continuous architecture weights often end up far from a valid discrete architecture, creating a disconnect between the search phase and the final evaluated model.

Methodology: DARTS-PRIME

To solve these optimization bottlenecks, we propose DARTS-PRIME (DARTS with Proximity Regularization and Informed Minimum Error Schedule), which introduces two key modular improvements:

1. Dynamic FIMT Scheduling

Instead of a rigid 1:1 alternating update schedule, DARTS-PRIME dynamically decides when to update the architecture weights ($\alpha$). It uses the trace of the empirical Fisher Information Matrix (FIMT) as a proxy to measure the curvature of the gradient landscape.

Dynamic scheduling of architecture updates based on the Fisher Information Trace

As shown in the figure above, when the FIMT drops, it indicates the network weights ($w$) are settling into a local optimum, triggering an update to the architecture weights (marked as "Step"). This "patience" gives complex operations enough time to train before they are judged against simple operations. While true Fisher Information is computationally expensive, the empirical FIMT diagonal can be computed almost for free using existing gradient data.

2. Proximity Regularization (PR)

To bridge the gap between the continuous search space and the final discrete architecture, we add a regularization penalty to the architecture optimization objective. This penalty rewards the continuous weights for being close to a valid, discretized state. The strength of this penalty increases linearly over the course of the search, encouraging exploration early on and forcing a clear, well-separated decision by the end of the search phase.

Experimental Results

We evaluated DARTS-PRIME on standard NAS benchmarks including CIFAR-10, CIFAR-100, and the Penn TreeBank (PTB) text corpus. DARTS-PRIME consistently outperformed the baseline DARTS algorithm and avoided skip-connection collapse entirely.

Comparison of test error and model size between DARTS and DARTS-PRIME across search epochs

As illustrated in the results above, standard DARTS often experiences a rise in test error as the search progresses, coinciding with a sharp drop in model size (the signature of skip-connection collapse). In contrast, DARTS-PRIME maintains a lower, more stable test error and a consistent model size.

  • CIFAR-10: Achieved a test error of 2.62% (vs. DARTS baseline of 2.82%), maintaining a healthy network size of 3.70M parameters.
  • CIFAR-100: Achieved a test error of 17.44% (vs. DARTS baseline of 19.49%).
  • Penn TreeBank: Reached a test perplexity of 61.1 (vs. DARTS baseline of 66.2).

Ablation studies confirmed that both FIMT scheduling and Proximity Regularization independently improved performance, but their combination yielded the lowest variance and highest reliability across multiple random seeds.

Conclusion

DARTS-PRIME addresses the fundamental optimization challenges in differentiable NAS by introducing informed scheduling and proximity-based regularization. By forcing the algorithm to make clear decisions and providing parameterized operations a fair training window, we significantly reduce the risk of performance collapse. Future work includes exploring other information metrics beyond Fisher Information and applying these modular improvements to other differentiable NAS frameworks to further enhance stability and performance.

Summary updated

BibTeX
@misc{maile2021constrained,
  author = {Kaitlin Maile and Erwan Lecarpentier and Hervé Luga and Dennis G. Wilson},
  title = {{On Constrained Optimization in Differentiable Neural Architecture Search}},
  year = {2021},
  eprint = {2106.11655},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.11655},
}
Figure