Introduction
Neural Architecture Search (NAS) aims to automate the design of neural networks, with Differentiable Architecture Search (DARTS) being a prominent method due to its efficiency. DARTS treats architecture search as a continuous optimization problem by building a "supernet" containing all possible operations, such as convolutions, pooling, and skip-connections. However, DARTS frequently suffers from "performance collapse," where the search process over-prioritizes skip-connections.
This bias occurs because skip-connections provide an unfair optimization advantage by facilitating gradient flow, even if they do not contribute the most to the final model's representational power. The fundamental challenge is to decouple an operation's role in optimizing the supernet from its actual value in the final architecture.
The RF-DARTS Method
To address this, the authors introduce RF-DARTS, which utilizes "random features" to level the playing field. The method involves two key steps during the search phase:
- Weight Freezing: All convolution weights are frozen at their random initialization.
- BatchNorm Training: Only the affine parameters (scale and shift) of the Batch Normalization (BN) layers are trained, alongside the architecture parameters ($\alpha$).
By freezing the primary weights, the supernet can no longer "cheat" by using skip-connections as optimization shortcuts. Theoretical analysis suggests that training only BN parameters is sufficient to maintain stable gradient variance, effectively diluting the optimization advantage of skip-connections and forcing the algorithm to select operations based on their representational merit.
Empirical Evaluation
The researchers evaluated RF-DARTS and its memory-efficient variant, RF-PCDARTS, across several standard benchmarks, including CIFAR-10, CIFAR-100, and ImageNet.
Key results include:
- CIFAR-10: Achieved 94.36% accuracy, nearly reaching the theoretical optimum of 94.37% in the NAS-Bench-201 search space.
- ImageNet: RF-DARTS reached a top-1 test error of 24.0% (transferring from CIFAR-10), while RF-PCDARTS achieved 23.9% when searching directly on ImageNet, surpassing many state-of-the-art NAS methods.
- Robustness: On the "RobustDARTS" S1-S4 benchmarks—designed specifically to trigger performance collapse—RF-DARTS remained stable and consistently outperformed random-search baselines.
Key Insights and Discussion
The success of RF-DARTS stems from creating a "just right" supernet. While a fully trainable supernet is "over-powerful" and prone to optimization traps, a supernet with only trained BN parameters has enough expressive power to accurately rank architectures without falling into the skip-connection bias. By solving the gradient vanishing problem through controlled variance, the supernet no longer "craves" skip-connections to survive the training process, leading to fairer competition between operations.
While highly effective for image classification, future work will explore whether this "BN-only" search strategy translates to other tasks like object detection or semantic segmentation, and seek a deeper theoretical understanding of why BN-only training so accurately reflects a network's full potential.
Summary updated