Abstract
Neural Architecture Search (NAS) significantly automates deep learning model design but incurs high computational costs. This paper introduces Warm-started DARTS (WS-DARTS), a meta-learning framework that accelerates Differentiable Architecture Search (DARTS) by leveraging architectures optimized for similar previous tasks. By utilizing Task2Vec for task similarity assessment and initializing searches with pre-pruned architectures, WS-DARTS reduces search time by an average of 60% while maintaining or improving model accuracy across diverse datasets.
Introduction
Manual neural network design is an expert-intensive process. While NAS aims to automate this, early methods were prohibitively expensive. One-shot methods like DARTS reduced costs to a few GPU days, yet they still treat every new task as a "blank slate," ignoring potential knowledge transfer from prior searches.
This research addresses the redundancy in NAS by proposing a method to "warm-start" the search process using meta-knowledge from past tasks, effectively bypassing the initial, most expensive phases of the search.
Methodology: Warm-started DARTS (WS-DARTS)
The proposed WS-DARTS pipeline consists of three main phases:
- Transfer Architecture Search (TAS): In this offline phase, a modified Progressive DARTS (P-DARTS) is run on various proxy tasks. The output is not just a final model but a "super-graph" containing the most promising operations.
- Transfer Architecture Selection: For a new target task, the system identifies the most similar prior task using Task2Vec. Task2Vec generates embeddings based on the Fisher Information Matrix of a dataset, allowing for a mathematical distance calculation between tasks.
- Warm-starting DARTS: The search for the target task is initialized using the architecture (or super-graph) selected in the previous step. This "warm" start uses a search space that has already been pruned of ineffective operations.
The authors also explored meta-transfer architectures, which are generalist starting points learned across multiple tasks simultaneously.
Experimental Results
The method was evaluated on five datasets from the "meta-dataset" collection: FGVC-AIRCRAFT, VGG Flower, CUB-200-2011 (Birds), Describable Textures (DTD), and Tiny ImageNet.
Efficiency and Accuracy
WS-DARTS achieved a 60% average reduction in search time. Notably, on Tiny ImageNet, the search time was slashed from 42.6 hours to 17.7 hours. Despite the speedup, accuracy often improved. For instance, on the Aircraft dataset, WS-DARTS reached 79.75% accuracy, surpassing the P-DARTS baseline of 78.94%.
Key Insights
- Pruning and Weight Transfer: Starting with a pruned search space and transferring learned weights from proxy tasks significantly boosts performance. This allows the model to begin with a foundational understanding of visual features.
- Task Similarity: Task2Vec effectively guides the transfer process. Architectures from similar tasks (e.g., flowers to birds) perform better than those from unrelated domains, mitigating the risk of "negative transfer."
Limitations and Future Work
WS-DARTS faced challenges with highly distinct or difficult datasets like DTD (textures). In these instances, the transferred search space could be overly restrictive, potentially excluding the optimal architecture. Additionally, the method remains sensitive to hyperparameters like skip-connect dropout.
Future research will investigate "few-shot" NAS scenarios, where data scarcity makes traditional NAS difficult, but meta-learning-based warm-starting could provide a critical advantage.
Conclusion
WS-DARTS demonstrates that meta-learning can drastically improve the efficiency of differentiable NAS. By reusing optimized structures from similar tasks, researchers can achieve state-of-the-art results with a fraction of the traditional "compute tax."
Reference: Grobelnik, M., & Vanschoren, J. (2022). Warm-starting DARTS using meta-learning. Journal of Machine Learning Research, 1-48.
Summary updated