TL;DR
This paper introduces the "Synthetic Petri Dish," a novel method for accelerating Neural Architecture Search (NAS). Instead of training full-scale networks, it evaluates architectural motifs in miniature "motif-networks" using learned synthetic data, significantly reducing computational cost while maintaining high prediction accuracy.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) aims to automatically discover optimal neural network architectures. However, a major bottleneck is the computational expense of evaluating each candidate architecture. This typically involves training large networks on massive datasets to convergence, which can take thousands of GPU hours. Existing methods to speed this up, like using smaller networks or fewer training epochs, often sacrifice accuracy or fail to generalize. The paper tackles the problem of making NAS more efficient and cost-effective without compromising the ability to find high-performing architectures.
Methods
The core innovation is the "Synthetic Petri Dish." The process involves:
- Motif Extraction: Architectural motifs (e.g., activation functions, recurrent cell structures) are extracted from their original, large network context and instantiated in much smaller "motif-networks."
- Synthetic Data Generation: A small set of synthetic training and validation data samples are learned. These are not real-world data but are specifically optimized to make the motif-networks' performance ordering on them mimic their performance ordering on real data.
- Petri Dish Training: The motif-networks are trained on this synthetic data. An "inner-loop" trains the motif-networks, and an "outer-loop" optimizes the synthetic data itself to ensure the relative performance of motifs in the Petri dish setting aligns with their ground-truth performance.
- Inference and Search: Once trained, the Synthetic Petri Dish can rapidly evaluate new, unseen motifs by running them through the motif-networks with the learned synthetic data. This predicted performance is then used by a NAS algorithm (like a Genetic Algorithm or NAO) to select promising candidates for expensive ground-truth evaluation.
This approach differs from other NAS surrogates by actually training the motif in a miniature setting, rather than just predicting performance based on structural features.
Datasets
- MNIST: Used for the sigmoid activation function experiment.
- Penn Tree Bank (PTB): Used for the recurrent cell architecture search experiment.
No new benchmarks were introduced; rather, existing challenging benchmarks were used to demonstrate the effectiveness of the proposed method.
Key Insights and Ideas
- Biological Inspiration: The concept is directly inspired by biological "Petri dish" experiments, where isolated components are studied in a controlled environment to understand complex systems.
- Motif-Centric Evaluation: The focus is on evaluating the motif itself, not the entire large network, in a simplified, diagnostic setting.
- Learned Synthetic Data: The key to the Petri dish's success is the ability to learn synthetic data that effectively captures the relative performance dynamics of different motifs.
- Intrinsic Properties: By training the actual motif in a miniature setting, the predictions are derived from the motif's intrinsic properties, leading to better generalization than models that only analyze structure.
- Complementary to NAS: The Synthetic Petri Dish acts as a powerful filter, significantly reducing the number of candidates that need expensive ground-truth evaluation, making it highly compatible with existing NAS algorithms.
Key Results
- Sigmoid Slope Experiment: The Synthetic Petri Dish accurately predicted the optimal sigmoid slope for a network, even when trained on data points far from the peak, outperforming a standard NN-based surrogate model that failed to generalize.
- Recurrent Cell Search: When combined with NAS algorithms (GA and NAO) on the challenging PTB dataset, the Synthetic Petri Dish achieved competitive results with significantly reduced ground-truth evaluations.
- Synthetic Petri Dish-NAO achieved a test perplexity of 57.1 with only 100 ground-truth evaluations, compared to original NAO's 56.0 requiring 1,000 evaluations.
- It achieved roughly the same performance as original NAO but with 1/10th of the compute budget when allowing for differing numbers of ground-truth evaluations.
Limitations and Future Work
- Computational Cost: While significantly cheaper than full NAS, training the Synthetic Petri Dish itself still requires some computation, especially for the outer-loop optimization of synthetic data.
- Generalization: The effectiveness relies on the generalization capabilities of the Synthetic Petri Dish to unseen motifs. The paper investigates this but acknowledges it's a critical factor.
- Future Work: The authors suggest that this approach could inspire new research directions in studying extracted model components in synthetic diagnostic settings. They also note that other methods could be built on the idea of extracting and testing components in simplified environments, potentially revealing underlying causal factors of performance. The potential for combining this with weight-sharing techniques is also implied.
Summary updated