Abstract
Differentiable Architecture Search (DARTS) is a powerful method for automating neural network design, yet it frequently suffers from a "collapse" where the search process converges to suboptimal, parameter-free architectures. This paper identifies a fundamental flaw in the gradient estimation of architectural parameters as the root cause. We introduce an amended gradient estimation technique that guarantees a bounded error, ensuring the search remains stable even over extended training periods. Our approach, Amended-DARTS, achieves significant performance gains, including a 2.71% test error on CIFAR-10 and a record 54.8 test perplexity on the Penn Treebank dataset.
Introduction
DARTS revolutionized Neural Architecture Search (NAS) by relaxing the discrete search space into a continuous one, allowing for gradient-based optimization of a "super-network." However, a persistent issue is the "optimization gap": while the super-network's validation accuracy improves during training, the performance of the derived sub-networks often degrades, typically collapsing into architectures dominated by skip-connections. This phenomenon suggests that the super-network is learning to "cheat" the validation set rather than identifying a truly superior architecture.
Methods
The authors trace this collapse to the gradient estimation of architectural parameters ($\alpha$). The true gradient of the validation loss requires computing an inverse Hessian matrix ($H^{-1}$), which is computationally prohibitive for models with millions of parameters. Standard DARTS approximations—either ignoring the term (first-order) or replacing $H^{-1}$ with an identity matrix (second-order)—can lead to gradients pointing in incorrect directions, sometimes exceeding an angle of 90° from the truth.
We propose an Amended Estimation that replaces $H^{-1}$ with the Hessian matrix $H$ itself, scaled by an amending coefficient $\eta$. This substitution provides a mathematical guarantee of a bounded error, ensuring the estimated gradient aligns with the true descent direction. Additionally, the authors argue for "hyper-parameter consistency," unifying network depth and width settings between the search and evaluation phases to further shrink the optimization gap.
Experimental Results
Amended-DARTS demonstrates superior stability and performance across multiple benchmarks. On CIFAR-10, it achieves a test error of 2.71%, significantly outperforming standard first-order (6.18%) and second-order (5.15%) DARTS when trained for 200 epochs. The stability of the method allows for exploration in much larger search spaces ($1.9 \times 10^{93}$ architectures) without the risk of degeneration.
On ImageNet, architectures found via Amended-DARTS transferred effectively, reaching a top-1 error of 24.3%. In language modeling tasks on the Penn Treebank dataset, the method achieved a test perplexity of 54.8, which is the best result reported in the DARTS search space to date. Unlike standard DARTS, which is highly sensitive to random seeds, the amended version produced consistent results across multiple runs.
Discussion and Conclusion
By fixing the gradient direction, Amended-DARTS mitigates the collapse phenomenon and enables more robust architecture search. While the choice of $\eta$ is critical for balancing different operations—with $\eta = 0.1$ proving optimal in these experiments—the method provides a reliable framework for scaling NAS to more complex domains. Future work remains to theoretically explain why skip-connections are the specific "dummy" architecture favored during collapse and to develop methods for automatically tuning the amending coefficient.
Summary updated