Introduction
One-shot Neural Architecture Search (NAS) has revolutionized automated model design by training a single "supernet" that encompasses a vast search space. However, the efficiency of weight-sharing comes at a cost: ranking inconsistency. When sub-models share weights, their individual gradient updates often conflict, leading to high gradient variance. This variance prevents the supernet from accurately ranking architectures, often causing the search process to overlook the best-performing models.
The PA&DA Approach
To address this, the authors propose PA&DA (PAth and DAta importance sampling). The core insight is that ranking consistency can be significantly improved by treating supernet training as a variance reduction problem. By jointly optimizing how paths (architectures) and data points are sampled, the method produces a much more reliable supernet.
Mathematical Foundation
Theoretically, the optimal sampling strategy to minimize gradient variance involves sampling paths and data points with probabilities proportional to their normalized gradient norms. In this framework, a "high-impact" path or data point—one that causes a large weight update—is considered more important and is sampled more frequently.
Implementation Details
- Path Importance Sampling (PA): The algorithm tracks the gradient norms of candidate operations. After each epoch, it updates the sampling distribution to prioritize these high-impact paths.
- Data Importance Sampling (DA): To maintain efficiency, the authors approximate data importance using the pre-activation outputs of the model's final layer, avoiding the cost of full gradient calculations for every image.
- Smoothing Schedule: To ensure adequate exploration early in training and to handle weightless operations (like identity skips), smoothing parameters ($\delta$ and $\tau$) gradually transition the strategy from uniform to importance-based sampling.
Experimental Results
The researchers evaluated PA&DA on standard benchmarks including NAS-Bench-201, DARTS, and ProxylessNAS search spaces. The method adds negligible computational overhead, requiring only about 0.2 extra GPU hours on NAS-Bench-201.
Ranking Consistency
On NAS-Bench-201, PA&DA achieved a Kendall’s Tau (KT) of 0.713, a substantial improvement over the 0.639 achieved by the Single Path One-Shot (SPOS) baseline. This higher KT indicates that the supernet's internal rankings are much more aligned with the "ground truth" performance of the architectures.
State-of-the-Art Performance
PA&DA consistently finds high-performing architectures:
- CIFAR-10: Achieved an average accuracy of 97.52%.
- ImageNet: Reached 77.3% Top-1 accuracy with a 5.3M parameter model, outperforming competitors like DA-NAS and FairNAS.
Conclusion
PA&DA provides a principled, low-overhead solution to the ranking inconsistency problem in one-shot NAS. By identifying gradient variance as the primary obstacle and using importance sampling to mitigate it, the method produces more reliable supernets and superior final architectures. Future work may involve refining the data importance approximations and exploring more advanced variance reduction techniques for even larger search spaces.
Summary updated