TL;DR
This ICLR 2021 Outstanding Paper reveals that the popular DARTS (Differentiable Architecture Search) method fails not because of poor optimization, but because of a flawed selection rule. By replacing the standard practice of picking operations with the largest weights ($\alpha$) with a perturbation-based selection—which measures an operation's actual contribution to performance—the authors significantly boost NAS performance and solve the notorious "skip-connection domination" problem.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) aims to automate the design of deep learning models. DARTS is a landmark method in this field because it makes the search space "differentiable." It creates a "supernet" where every edge contains a mixture of all possible operations (like convolutions or skip connections), each weighted by an architecture parameter $\alpha$.
The standard DARTS workflow is:
- Jointly train model weights and $\alpha$ parameters.
- At the end, pick the operation on each edge with the largest $\alpha$.
However, DARTS often fails by collapsing into architectures filled almost entirely with skip connections, which perform poorly. Most researchers blamed the optimization of the supernet. This paper argues the problem lies in the selection step: the magnitude of $\alpha$ is a terrible proxy for how good an operation actually is.
Methods: Perturbation-based Architecture Selection (PT)
The authors propose Perturbation-based Architecture Selection (PT). Instead of trusting the $\alpha$ values, they directly measure the importance of an operation by seeing how much the supernet's performance drops when that operation is removed.
The PT Algorithm: 1. Start with a pretrained supernet: Use standard DARTS training. 2. Iterative Selection: For each edge in the network (chosen in random order): * Masking: One by one, "mask out" (remove) each candidate operation. * Evaluation: Measure the validation accuracy of the supernet without that operation. * Selection: The operation whose removal causes the largest drop in accuracy is deemed the most important and is selected. 3. Progressive Tuning: After discretizing an edge (picking one operation), the supernet is fine-tuned for a few epochs to allow the remaining weights to adapt before moving to the next edge.
Key Insights and Ideas
- The "Unrolled Estimation" Trap: The authors provide a mathematical proof showing that in a well-optimized supernet, skip connections naturally get higher $\alpha$ values. This isn't because they are "better" for the final model, but because they help the supernet estimate the optimal feature map more easily during training. Magnitude-based selection mistakenly interprets this training aid as architectural superiority.
- Selection > Optimization: The most surprising finding is that the supernets trained by DARTS are actually quite good; we were just picking the wrong parts of them. By changing only the selection method, the authors "rescued" models that previously seemed like total failures.
- $\alpha$ is Optional: In a provocative experiment, the authors found that if you keep all $\alpha$ values uniform (don't optimize them at all) and just use their PT selection method on the weights, you can still find state-of-the-art architectures. This suggests the entire "differentiable architecture parameter" machinery might be less critical than we thought.
Key Results
The authors evaluated their method across a wide range of standard benchmarks, including CIFAR-10, CIFAR-100, ImageNet, SVHN, and NAS-Bench-201.
- CIFAR-10: DARTS+PT reduced the test error from 3.00% to 2.61%.
- ImageNet: The method improved top-1 accuracy by 1.2% over standard DARTS.
- Robustness: On search spaces where DARTS typically fails (S2 and S4), DARTS+PT consistently found high-performing architectures with 4 convolutions, while standard DARTS collapsed into skip connections or noise.
- Efficiency: The selection process is efficient, requiring only about 0.8 GPU days, making it a practical drop-in replacement for the standard DARTS selection rule.
Limitations and Future Work
While PT is more robust, it does introduce an additional step after the search phase. The authors note that the "progressive tuning" (fine-tuning for 5 epochs after each edge selection) is important for accuracy, which adds some computational overhead compared to the instantaneous magnitude-based selection.
Future work could explore whether this perturbation logic can be integrated directly into the training phase to avoid the two-stage process, or if the "uniform $\alpha$" finding can lead to entirely new, simpler classes of one-shot NAS algorithms that don't require bilevel optimization at all.
Summary updated