Introduction
Neural Architecture Search (NAS) has revolutionized the design of deep learning models by automating the discovery of optimal network structures. However, the computational cost of training thousands of candidates from scratch is often prohibitive. One-Shot NAS addresses this by training a single "hypernetwork" where all possible subnetworks share weights. Despite its efficiency, weight sharing introduces a significant challenge: insufficient training of individual subnetworks leads to poor ranking correlation between the hypernetwork performance and true standalone performance.
To mitigate this, researchers have turned to Knowledge Distillation (KD). Traditional KD approaches rely on large, pre-trained external teacher models, which can be inflexible and dataset-dependent. This paper introduces Cream, a "self-distillation" framework that eliminates the need for external teachers by leveraging high-performing internal paths within the hypernetwork itself.
Methodology: Prioritized Path Distillation
The core innovation of Cream is the use of the hypernetwork as its own teacher. The framework consists of several key components designed to improve training quality and ranking accuracy.
1. Prioritized Path Board
Instead of a static teacher, Cream maintains a dynamic "leaderboard" of the $K$ best-performing subnetworks found during training. This board is updated using a selective competition principle: newly sampled paths replace existing ones if they demonstrate superior Pareto optimality (better accuracy for a given complexity).
2. Architecture Distillation and Meta-Network Matchmaking
During training, a randomly sampled "student" subnetwork distills knowledge from a "teacher" selected from the Prioritized Path Board. To ensure the teacher is suitable for the student, a small meta-network acts as a matchmaker. It evaluates the feature representation differences (logits) between the student and board candidates, selecting the teacher that provides the most complementary information to the student's current state.
3. Efficient Final Selection
By the end of the hypernetwork training, the search process is nearly complete. The final model is simply selected from the "Cream of the Crop" on the Prioritized Path Board, requiring minimal additional computation (approximately 0.02 GPU days).
Key Results and Performance
Cream demonstrates significant improvements in both accuracy and efficiency across various benchmarks, particularly on ImageNet.
- State-of-the-Art Accuracy: A Cream-discovered model with 481M FLOPs achieved 79.2% top-1 accuracy on ImageNet, surpassing EfficientNet-B0 (76.3%) and MobileNetV3 (75.2%).
- Mobile Efficiency: In the ultra-mobile category (<100M FLOPs), a 43M FLOPs Cream model outperformed MobileNetV3 by 3.0%.
- Improved Ranking Correlation: The self-distillation approach significantly improved the Kendall Rank correlation from a baseline of 0.19 to 0.37, indicating that the hypernetwork's internal rankings are much more representative of standalone performance.
- Real-world Speed: Beyond theoretical FLOPs, Cream models show superior inference speed on hardware. For instance, a 287M FLOPs model ran 1.1x faster than EfficientNet-B0 while maintaining higher accuracy.
Conclusion and Future Directions
Cream successfully addresses the "ranking problem" in One-Shot NAS by introducing a prioritized path distillation mechanism. By treating the hypernetwork as its own teacher and using a meta-network for optimal matching, the framework achieves state-of-the-art results without the overhead of external pre-trained models.
Future work may involve refining hyperparameters such as the Prioritized Path Board size ($K$) and incorporating more diverse hardware constraints, such as direct latency measurements, to further optimize the search for edge deployment scenarios.
Summary updated