TL;DR
This paper introduces EDAS, an efficient and differentiable neural architecture search (NAS) method that significantly reduces search cost by only relaxing a single edge in the network per iteration. This approach mitigates the performance gap between the search and evaluation phases, leading to better performance with drastically reduced computational resources.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) aims to automate the design of high-performing neural networks. However, existing methods, particularly differentiable NAS (e.g., DARTS), often suffer from a significant performance drop when transitioning from the relaxed, continuous search space to the discrete architecture used for evaluation. This "depth gap" arises because the search phase considers all possible operations on an edge simultaneously, while evaluation uses only one. This necessitates retraining from scratch, making the process computationally expensive and time-consuming. The paper addresses this by proposing a method that maintains a closer correspondence between the search and evaluation architectures, thereby reducing this gap and improving efficiency.
Methods
The core innovation of EDAS lies in its modified differentiable architecture search approach. Instead of relaxing all edges in the network simultaneously (as in DARTS), EDAS selectively relaxes only one edge per iteration. For this single relaxed edge, all candidate operations are considered and their architecture parameters are updated. For all other edges, only the operation with the highest learned architecture parameter is used, effectively clamping those edges to a single choice. This "single-edge relaxation" strategy ensures that the network architecture during search closely resembles the final, discrete architecture used for evaluation.
Additionally, EDAS incorporates a "warm-up" period at the beginning of training where the sign of architecture parameters is inverted. This encourages better exploration of the search space by giving operations with initially lower architecture parameters a fairer chance to be selected.
Datasets
- CIFAR-10: Used for searching optimal cells and evaluating performance.
- CIFAR-100: Used for searching optimal cells and evaluating performance, notably being a dataset where previous methods struggled to show improved performance.
- ImageNet: Used for testing the transferability of the learned architectures.
Key Insights and Ideas
- Single-edge relaxation is key: The paper demonstrates that relaxing only one edge at a time in the search phase dramatically reduces the performance gap between the search and evaluation stages. This is a crucial insight for making differentiable NAS more practical.
- Preserving discrete nature: By clamping most edges to a single operation, EDAS preserves more of the discrete nature of the optimization problem, leading to better-trained weights that transfer more effectively.
- Warm-up for exploration: The proposed warm-up strategy (inverting architecture parameter signs) is effective in promoting a more thorough exploration of the search space, preventing premature convergence to suboptimal solutions.
- Efficiency without proxies: EDAS achieves high efficiency without relying on proxy tasks or smaller networks for search, directly searching on a deeper network structure.
Key Results
- Drastic search cost reduction: EDAS achieves a remarkable search cost of 0.125 GPU days, which is approximately 1/12th of DARTS's cost.
- Comparable performance: Despite the reduced search cost, EDAS achieves comparable or better performance than state-of-the-art methods on CIFAR-10 and CIFAR-100. For example, it outperforms DARTS on CIFAR-10 with significantly less search cost.
- Improved transferability: Architectures found by EDAS demonstrate good transferability to larger datasets like ImageNet.
- Reduced memory footprint: The single-edge relaxation allows for searching in deeper networks (e.g., 20 cells) even with limited GPU memory (12GB).
Limitations and Future Work
- Limitations: The paper acknowledges that while EDAS significantly improves upon DARTS, the search process still involves a form of relaxation. The "depth gap" is mitigated but not entirely eliminated. The paper also notes that the parameter size of the derived architecture doesn't show a distinct pattern during search, which might be an area for further investigation.
- Future Work: The authors suggest that their method can be applied to other differentiable architecture search frameworks to improve their efficiency and performance. The insights gained from analyzing architecture parameter dynamics could also inform future NAS algorithm designs.
Summary updated