TL;DR
GreedyNASv2 improves one-shot Neural Architecture Search (NAS) by shifting the focus from finding "good" architectures to aggressively filtering out "weak" ones. By framing path filtering as a Positive-Unlabeled (PU) learning problem and merging redundant operations based on learned embeddings, it achieves state-of-the-art results—such as 81.1% Top-1 accuracy on ImageNet—with significantly higher search efficiency than previous methods.
What Problem Does This Paper Address?
In one-shot Neural Architecture Search, researchers train a massive "supernet" that contains every possible architecture (path) in a defined search space. Ideally, the supernet's weights should reflect the performance of individual paths. However, search spaces are astronomical (e.g., $13^{21}$ possible configurations).
The challenge is that most paths in this space are "weak" (poorly performing). When we train the supernet by sampling paths uniformly, these weak paths "pollute" the shared weights, making it difficult for the supernet to accurately rank the truly good architectures. Previous "greedy" methods tried to sample only good paths, but the authors argue that identifying a "good" path early in training is unreliable. It is much easier and more statistically confident to identify which paths are definitely bad.
Methods
GreedyNASv2 introduces two primary mechanisms to "shrink" the search space during training:
- Path-level Shrinkage via PU Learning: Instead of a standard classifier, the authors use Positive-Unlabeled (PU) learning. They treat identified weak paths as "Positive" (to be discarded) and the rest of the search space as "Unlabeled" (which contains both good and weak paths). A path filter (an LSTM-based binary classifier) is trained to predict if a new, unsampled path is weak. If the filter flags a path, it is rejected, allowing the supernet to focus its training capacity on a "shrunk" space of potentially good candidates.
- Operation-level Shrinkage: The path filter uses learned operation embeddings to represent different architectural choices (like a 3x3 vs. 5x5 convolution). The authors discovered that if two operations have highly similar embeddings, they likely have a similar impact on performance. By measuring cosine similarity, they merge redundant operations into one, further simplifying the search space without needing extra evaluation steps.
- Early Stopping Principle: They propose a new steadiness metric based on the path filter's predictions. When the filter's predictions become stable across iterations, the supernet is considered well-trained, allowing for earlier search termination.
Datasets
The authors evaluated GreedyNASv2 across several standard benchmarks:
- ImageNet (ILSVRC-2012): The primary benchmark for classification performance.
- NAS-Bench-Macro: A benchmark consisting of 6,561 architectures with ground-truth isolated evaluation results on CIFAR-10, used here to validate the path filter's accuracy.
- COCO: Used for transfer learning experiments to see how searched backbones perform on object detection tasks (Faster R-CNN and RetinaNet).
Key Insights and Ideas
- "Turning the Tables" on Probability: The core "aha" moment is the realization that while the probability of sampling a "good" path is low (e.g., 10%), the probability of sampling at least one "weak" path in a batch is near-certain (99.99%). It is mathematically safer to build a filter for failure than a filter for success.
- PU Learning is Better than PN Learning: In NAS, we rarely have a confirmed "negative" (guaranteed good) sample during the early stages of supernet training. By using PU learning, the model handles the uncertainty of the "unlabeled" pool more safely than traditional supervised (Positive-Negative) learning, which might mislabel a "not-yet-good" path as "bad."
- Embeddings as a Proxy for Importance: Using the internal representations of the path filter to prune the actual search space (operation merging) is a highly efficient way to reduce parameters without the computational overhead of traditional importance metrics.
Key Results
- State-of-the-Art Accuracy: GreedyNASv2-L achieved 81.1% Top-1 accuracy on ImageNet, outperforming ResNet-50 baselines and other NAS methods like SPOS (74.7%) and the original GreedyNAS (76.8%).
- Efficiency: The method requires fewer training epochs (57 vs. 120 for SPOS) and fewer search iterations (500 vs. 1000) to find superior models.
- Scalability: On an extremely large search space ($6 \times 10^{27}$ architectures), GreedyNASv2 maintained high performance (77.5% ACC) while baseline methods saw significant performance drops due to the "pollution" of the supernet.
- Transferability: Models searched on ImageNet transferred well to object detection, providing a +4.3 mAP boost over a ResNet-50 backbone on the COCO dataset.
Limitations and Future Work
- Merging Threshold Sensitivity: The authors note that setting the operation merging threshold too low (being too aggressive) can hurt the diversity of the search space and degrade final model performance.
- Assumption of Sparsity: The method relies on the assumption that "good" paths are rare compared to "weak" ones. While generally true in current NAS spaces, this might need re-evaluation if search spaces are pre-filtered or designed differently.
- Future Directions: The authors suggest that this "filter-first" approach could be applied to other domains beyond image classification, such as NLP or specialized hardware-aware NAS.
Summary updated