IDARTS: Interactive Differentiable Architecture Search

Song Xue, Runqi Wang, Baochang Zhang, Tian Wang, Guodong Guo, David S. Doermann

Abstract

Neural Architecture Search (NAS) has significantly advanced the automation of deep learning model design. Differentiable Architecture Search (DARTS) is a prominent approach that uses gradient descent to navigate a continuous search space. However, standard DARTS often fails to account for the mathematical coupling between architecture parameters (operation selection) and edge parameters (connection importance). This paper introduces IDARTS (Interactive Differentiable Architecture Search), which reframes the search process as a bilinear optimization problem. By implementing a novel "backtracking backpropagation" mechanism, IDARTS ensures that operations are evaluated in the context of their specific connections. Experimental results demonstrate that IDARTS achieves state-of-the-art performance, reaching 76.52% top-1 accuracy on ImageNet and 97.68% on CIFAR-10 with exceptionally low search costs.

Introduction

The manual design of neural network architectures is a labor-intensive process requiring significant expertise. Neural Architecture Search (NAS) aims to automate this task. Among NAS techniques, Differentiable Architecture Search (DARTS) has gained popularity due to its efficiency. DARTS relaxes the discrete search space into a continuous one, allowing the use of gradient-based optimization.

Despite its success, the authors identify a critical oversight in the standard DARTS framework: it treats architecture parameters ($\alpha$) and edge parameters ($\beta$) as independent variables. In practice, these parameters are deeply coupled; the significance of an operation is intrinsically linked to the strength of the connection it occupies. Ignoring this relationship can lead to premature pruning of viable operations or insufficient training of critical paths, resulting in sub-optimal final architectures.

Methodology: Bilinear Optimization and Backtracking

IDARTS addresses the coupling issue by modeling the search as a bilinear optimization problem. The output of a neural cell is mathematically represented as a product of operation weights and edge weights.

The IDARTS framework illustrates the coupling between architecture parameters ($\alpha$) and edge parameters ($\beta$), and the proposed backtracking mechanism used during backpropagation to coordinate their optimization.

Backtracking Backpropagation

To optimize these coupled parameters effectively, IDARTS introduces Backtracking Backpropagation. Derived from the chain rule, this method includes a backtracking term that allows the update of one parameter to be informed by the current state of the other. This prevents the "blind" optimization seen in standard gradient descent.

Interactive Selection

The algorithm employs a threshold-based mechanism to trigger backtracking. During the search epochs, the model dynamically coordinates the training of different parameters. This ensures that operations are only selected or discarded after they have been sufficiently explored within the context of their respective edges, acting as a safety net against local minima.

Experimental Results

The performance of IDARTS was evaluated on the CIFAR-10 and ImageNet benchmarks, focusing on both accuracy and computational efficiency.

CIFAR-10 Performance

On the CIFAR-10 dataset, IDARTS achieved a top-1 accuracy of 97.68%. Remarkably, this was accomplished with a search cost of only 0.1 GPU days. This efficiency makes IDARTS one of the fastest high-performing NAS methods available.

ImageNet Scalability

To test transferability and scalability, architectures discovered on CIFAR-10 were evaluated on ImageNet. IDARTS reached a 76.52% top-1 accuracy, surpassing previous state-of-the-art differentiable methods like PC-DARTS (75.8%) and even specialized human-designed models such as ShuffleNet v2.

Comparison of IDARTS against other NAS methods in terms of Accuracy (%) vs. Search Cost (GPU days). IDARTS occupies the top-left region, indicating superior accuracy with minimal search time.

Discussion and Conclusion

The success of IDARTS stems from its recognition of the bilinear nature of the DARTS search space. The backtracking mechanism provides a more stable and effective optimization landscape, allowing the search to converge to better architectures more reliably than previous methods.

While IDARTS sets a new benchmark for efficiency and accuracy, future work could address its sensitivity to hyperparameters like the backtracking threshold. Additionally, extending this bilinear approach to non-cell-based macro-architectures and incorporating hardware-aware constraints (e.g., latency, power) would further enhance its practical utility for mobile and edge computing.

Summary updated

BibTeX
@inproceedings{xue2021idarts,
  author = {Song Xue and Runqi Wang and Baochang Zhang and Tian Wang and Guodong Guo and David S. Doermann},
  title = {{IDARTS: Interactive Differentiable Architecture Search}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00120},
}
Figure