Abstract
Neural Architecture Search (NAS) has transformed the design of deep learning models from a manual, heuristic-driven process into an automated optimization task. While Differentiable Architecture Search (DARTS) significantly reduced the computational burden of NAS, it introduced a "performance gap" due to the discrepancy between the continuous search space and the final discrete architecture. This paper presents DARTS-CD, a novel framework that applies coordinate descent to the architecture search. By updating only a single edge at a time while keeping others fixed to their most likely operations, DARTS-CD reduces search costs by 92% and memory usage by 87.5% compared to original DARTS. The method achieves a 2.86% test error on CIFAR-10 in just 0.125 GPU days.
Introduction
The manual design of neural network architectures is notoriously labor-intensive and requires significant domain expertise. Neural Architecture Search (NAS) emerged to automate this process, initially using reinforcement learning or evolutionary algorithms. However, these early methods were computationally prohibitive, often requiring thousands of GPU days.
The introduction of Differentiable Architecture Search (DARTS) marked a paradigm shift by relaxing the discrete search space into a continuous one, allowing for gradient-based optimization. Despite its efficiency, DARTS faces two primary challenges:
- The Performance Gap: The "one-shot" super-network used during search contains all possible operations. When the search concludes, the network is pruned to a single operation per edge. This structural change often leads to a significant drop in performance between the search phase and final evaluation.
- Memory Constraints: Maintaining all candidate operations in memory simultaneously is extremely resource-intensive, limiting the depth of the network that can be searched directly.
The DARTS-CD Framework
DARTS-CD addresses these limitations by incorporating Coordinate Descent (CD) into the optimization process. Instead of updating all architecture parameters simultaneously, the algorithm focuses on a subset of the search space in each iteration.
Macro-Architecture and Cell Structure
Following the standard DARTS convention, the network is composed of a sequence of cells. These cells are categorized into "Normal cells," which maintain spatial resolution, and "Reduction cells," which reduce spatial dimensions while increasing channel depth.
Coordinate Descent and Single-Edge Sampling
The core innovation of DARTS-CD is its sampling strategy. In each training step, the algorithm randomly selects a single edge within the cell to be "differentiable." For this specific edge, all candidate operations are computed, and their weights (architecture parameters $\alpha$) are updated via gradients.
For all other edges in the cell, the algorithm employs Max-Alpha Pathing. Instead of computing all operations, it only executes the single operation that currently has the highest architecture parameter. This approach ensures that the super-network during search closely resembles the final discrete architecture, effectively bridging the performance gap.
Warm-up Regularization
To prevent the model from prematurely converging on sub-optimal operations (the "exploitation-exploration" trade-off), DARTS-CD includes a warm-up phase. During the initial epochs, the signs of the architecture parameters are periodically inverted. This forces the model to explore less-favored operations, ensuring a more robust search before the parameters begin to stabilize.
Experimental Results
The researchers evaluated DARTS-CD on the CIFAR-10 and CIFAR-100 datasets using a single NVIDIA Titan X Pascal GPU.
Efficiency and Memory
By relaxing only one edge at a time, DARTS-CD reduces memory consumption to approximately 1/8th of the original DARTS. This efficiency allowed the authors to perform the search on a 20-cell deep network directly, bypassing the need for the shallow "proxy" networks typically used in NAS. The entire search process on CIFAR-10 was completed in just 0.125 GPU days (approximately 3 hours), a 92% reduction compared to the 1.5 days required by standard DARTS.
Accuracy
On CIFAR-10, DARTS-CD achieved a 2.86% test error. This outperforms the original DARTS (3.00%) and is competitive with more complex second-order methods like P-DARTS and SNAS. The results indicate that the coordinate descent approach not only speeds up the search but also leads to higher-quality architectural discoveries by reducing the discrepancy between search and evaluation.
Conclusion
DARTS-CD demonstrates that a "less is more" approach to architecture optimization can yield significant benefits. By focusing computational resources on a single edge at a time, the framework achieves dramatic improvements in both speed and memory efficiency while simultaneously improving final model accuracy. Future work will explore more sophisticated edge sampling strategies and the application of DARTS-CD to larger datasets like ImageNet.
Summary updated