[Paper Review] ZARTS: On Zero-order Optimization for Neural Architecture Search
ZARTS proposes a zero-order optimization framework for neural architecture search (NAS) that bypasses the biased first-order approximation in DARTS, using gradient-free methods like MGS for more stable and accurate architecture search. It achieves state-of-the-art performance, attaining 97.54% accuracy on CIFAR-10 and 75.7% top-1 accuracy on ImageNet, with improved robustness and compatibility with DARTS variants for further speedup.
Differentiable architecture search (DARTS) has been a popular one-shot paradigm for NAS due to its high efficiency. It introduces trainable architecture parameters to represent the importance of candidate operations and proposes first/second-order approximation to estimate their gradients, making it possible to solve NAS by gradient descent algorithm. However, our in-depth empirical results show that the approximation will often distort the loss landscape, leading to the biased objective to optimize and in turn inaccurate gradient estimation for architecture parameters. This work turns to zero-order optimization and proposes a novel NAS scheme, called ZARTS, to search without enforcing the above approximation. Specifically, three representative zero-order optimization methods are introduced: RS, MGS, and GLD, among which MGS performs best by balancing the accuracy and speed. Moreover, we explore the connections between RS/MGS and gradient descent algorithm and show that our ZARTS can be seen as a robust gradient-free counterpart to DARTS. Extensive experiments on multiple datasets and search spaces show the remarkable performance of our method. In particular, results on 12 benchmarks verify the outstanding robustness of ZARTS, where the performance of DARTS collapses due to its known instability issue. Also, we search on the search space of DARTS to compare with peer methods, and our discovered architecture achieves 97.54% accuracy on CIFAR-10 and 75.7% top-1 accuracy on ImageNet, which are state-of-the-art performance.
Motivation & Objective
- To address the instability and biased optimization in DARTS caused by first-order approximation of optimal network weights.
- To develop a robust, differentiability-free NAS framework using zero-order optimization that avoids reliance on gradient computation for architecture parameters.
- To demonstrate that zero-order methods can serve as stable, effective alternatives to gradient-based DARTS in bi-level NAS optimization.
- To explore the connection between zero-order optimization and gradient descent, showing ZARTS as a robust counterpart to DARTS.
- To enable faster and more accurate architecture search by combining ZARTS with orthogonal DARTS variants such as MergeNAS and GZAS.
Proposed method
- ZARTS replaces the gradient-based optimization in DARTS with zero-order optimization methods, eliminating the need for differentiability of the search loss with respect to architecture parameters.
- Three representative zero-order methods—Random Search (RS), Mimetic Gradient Search (MGS), and Gradient-Free Learning with Directional Sampling (GLD)—are evaluated, with MGS showing the best balance of accuracy and speed.
- The method formulates NAS as a bi-level optimization problem where architecture parameters are updated via zero-order gradients, avoiding the distortion of the loss landscape caused by first-order approximations.
- ZARTS is designed to be compatible with existing DARTS variants, enabling integration with methods like MergeNAS and P-DARTS to further accelerate search and improve performance.
- The framework leverages the fact that zero-order methods can estimate gradients using function evaluations alone, making them suitable for non-differentiable or complex search objectives.
- Theoretical and empirical analysis reveals that MGS and RS can be interpreted as approximations to gradient descent, positioning ZARTS as a robust, gradient-free alternative to DARTS.
Experimental results
Research questions
- RQ1Does the first-order approximation in DARTS distort the loss landscape and lead to unstable training of architecture parameters?
- RQ2Can zero-order optimization methods provide a more stable and accurate alternative to gradient-based NAS without relying on differentiability of the search objective?
- RQ3How do zero-order methods like MGS, RS, and GLD compare in terms of accuracy, speed, and robustness for NAS?
- RQ4What is the theoretical and empirical connection between zero-order optimization and gradient descent in the context of NAS?
- RQ5Can ZARTS be effectively combined with existing DARTS variants to further improve search speed and performance?
Key findings
- ZARTS achieves 97.54% top-1 accuracy on CIFAR-10, outperforming DARTS and most of its variants.
- On ImageNet, ZARTS achieves 75.7% top-1 accuracy with a 5.6M parameter model, demonstrating strong robustness and performance.
- The MGS variant of ZARTS delivers the best trade-off between accuracy and speed among the three zero-order methods tested.
- ZARTS shows superior stability across 12 benchmarks, where DARTS fails due to known instability issues such as skip-connection dominance.
- Combining ZARTS with MergeNAS (MergeZARTS) achieves state-of-the-art performance of 97.81% accuracy on CIFAR-10 with only 0.5 GPU-day search cost.
- The integration of ZARTS with P-DARTS (P-ZARTS) and GZAS (GZAS) further improves performance and reduces memory usage, enabling efficient search on complex tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.