Abstract
Differentiable Architecture Search (DARTS) has revolutionized Neural Architecture Search (NAS) by transforming the discrete search space into a continuous one, allowing for gradient-based optimization. However, DARTS is notoriously unstable, often suffering from performance collapse—where the search favors parameter-free operations like skip connections—and poor generalization from proxy tasks to larger datasets. This paper introduces Beta-Decay, a simple yet effective regularization technique that targets the activated architecture parameters. By adding a single line of code to the training loop, β-DARTS achieves state-of-the-art results across multiple benchmarks, including CIFAR-10 and ImageNet, while significantly enhancing search stability.
1. Introduction
Neural Architecture Search (NAS) automates the design of neural network topologies, traditionally a labor-intensive process for human experts. DARTS emerged as a dominant paradigm by defining a "supernet" that encompasses all possible operations (e.g., convolutions, pooling, skip connections) within a cell. The importance of each operation is determined by architecture parameters ($\alpha$), which are optimized alongside network weights.
Despite its efficiency, DARTS faces two critical challenges:
- Performance Collapse: The optimization often converges toward architectures dominated by skip connections. While these allow for rapid gradient flow during the search phase, they result in shallow models with poor representational power.
- Generalization Gap: Architectures discovered on small proxy datasets (like CIFAR-10) frequently fail to maintain high performance when scaled to larger datasets (like ImageNet).
2. Methodology: Beta-Decay Regularization
The core innovation of β-DARTS is the shift in regularization focus. In standard DARTS, the weight of an operation $k$ is calculated via a softmax function: $$\beta_k = \frac{e^{\alpha_k}}{\sum_j e^{\alpha_j}}$$ Standard weight decay is typically applied to the raw parameters $\alpha$. However, the authors demonstrate that due to the nature of the softmax function and adaptive optimizers like Adam, regularizing $\alpha$ does not effectively control the magnitude of the actual operation weights $\beta$.
2.1 The Beta-Decay Loss
To address this, the authors propose regularizing the activated parameters $\beta$ directly. The proposed Beta-Decay loss is defined as: $$L_{Beta} = \log\left(\sum e^{\alpha_k}\right)$$ This formulation effectively constrains the magnitude and variance of the operation weights, preventing any single operation (like a skip connection) from becoming overly dominant too early in the search. Implementation is trivial, requiring only a single additional line of PyTorch code in the DARTS training loop.
3. Theoretical Insights
The paper provides a theoretical justification for Beta-Decay through the lens of Lipschitz continuity. By regularizing the architecture weights $\beta$, the method effectively bounds the Lipschitz constant of the supernet. A lower Lipschitz constant implies that the network is less sensitive to small perturbations in the input, which is a known indicator of better generalization. By ensuring "fair competition" between parametric operations (convolutions) and non-parametric ones (skip connections), Beta-Decay prevents the optimizer from taking the "path of least resistance" early in training.
4. Experimental Results
The effectiveness of β-DARTS was validated across several standard NAS benchmarks, including NAS-Bench-201, NAS-Bench-1Shot1, and the original DARTS search space.
4.1 Stability and Robustness
On NAS-Bench-201, a search space where the ground-truth performance of every architecture is known, vanilla DARTS often collapses to 0% accuracy on complex tasks. In contrast, β-DARTS consistently identifies optimal or near-optimal architectures, demonstrating superior stability and efficiency. The search process reaches its optimal point much earlier than standard methods, making it less dependent on total training time.
4.2 Performance Benchmarks
- CIFAR-10/100: β-DARTS achieved a top-tier error rate of 2.53% on CIFAR-10 and 16.24% on CIFAR-100.
- ImageNet: When the searched architecture was transferred to ImageNet, it achieved a 76.1% Top-1 accuracy, outperforming several more complex NAS variants that require multi-stage searching or heavy constraints.
5. Discussion and Limitations
While β-DARTS offers a robust "plug-and-play" solution, it is not without limitations. The regularization strength is controlled by a hyperparameter $\lambda$, which often benefits from a linear increase schedule during the search. Additionally, the current study focuses on cell-based search spaces; the behavior of Beta-Decay in macro-search spaces remains a subject for future research. Finally, while the Lipschitz analysis provides strong intuition, extending this to the global, multi-branch interactions of a full supernet remains a complex mathematical challenge.
6. Conclusion
β-DARTS presents a minimalist yet powerful refinement to the DARTS framework. By recognizing that regularization should occur at the level of activated architecture weights, the authors provide a solution that fixes performance collapse and improves generalization without the need for complex architectural constraints or multi-stage search processes.
Summary updated