Fair DARTS: Eliminating Unfair Advantages in Differentiable Architecture Search

Xiangxiang Chu, Tianbao Zhou, Bo Zhang, Jixiang Li

Neural Architecture Search (NAS) has significantly advanced the automation of deep learning model design. Among various techniques, Differentiable Architecture Search (DARTS) has gained popularity due to its efficiency. However, DARTS frequently suffers from a "performance collapse," where the search process converges to architectures dominated by skip connections (identity mappings), resulting in poor real-world performance.

In the paper "Fair DARTS: Eliminating Unfair Advantages in Differentiable Architecture Search," researchers from Xiaomi AI Lab and Minzu University of China identify the root cause of this collapse and propose a mathematical framework to resolve it.

The Problem: Performance Collapse and Unfair Advantages

The core issue in standard DARTS is the use of the softmax function to determine architectural weights. Softmax creates an exclusive competition—a zero-sum game where increasing the weight of one operation necessarily decreases the weights of others.

Skip connections possess an "unfair advantage" in this environment because they facilitate easier gradient flow during the early stages of training, similar to the mechanism in ResNets. Consequently, their weights often skyrocket early in the search, suppressing more complex operations like convolutions before they can be properly optimized. This leads to a "degenerate" model that lacks the depth and complexity required for high performance.

Methodology: Collaborative Competition

To address these issues, the authors introduce two primary innovations designed to transform the search into a "collaborative" process:

  1. Independent Sigmoid Activations: Instead of a global softmax, Fair DARTS applies a sigmoid function to each operation independently. This allows multiple operations to coexist and support each other's learning during the search phase. A convolution is no longer penalized simply because a skip connection is performing well.
  2. Zero-One Loss: To bridge the gap between continuous search space and discrete final models (discretization discrepancy), the authors propose a specialized auxiliary loss: $$L_{0-1} = -\frac{1}{N} \sum_{i}^{N} (\sigma(\alpha_i) - 0.5)^2$$ This loss pushes architectural weights away from the ambiguous 0.5 mark toward 0 (inactive) or 1 (active), ensuring a more reliable transition to the final discrete architecture.

Experimental Results

The researchers evaluated Fair DARTS across major benchmarks, including CIFAR-10, ImageNet, and MS COCO for object detection.

  • ImageNet Performance: The "FairDARTS-D" model achieved 75.6% top-1 accuracy on ImageNet, significantly outperforming standard DARTS (73.3%) and other specialized variants like P-DARTS.
  • Stability: Unlike standard DARTS, which can be highly sensitive to random seeds, Fair DARTS demonstrated remarkable stability, maintaining an average of 97.46% accuracy on CIFAR-10 across multiple runs.
  • Efficiency: Fair DARTS achieves these results without requiring manual heuristics, such as limiting the number of skip connections or employing aggressive dropout, which are often necessary to stabilize standard DARTS.

Conclusion and Future Work

Fair DARTS demonstrates that by removing the artificial competition imposed by softmax and addressing discretization discrepancy, differentiable architecture search can be made both more robust and more effective. While the method is slightly more memory-intensive due to the simultaneous activation of multiple paths, it provides a principled approach to "leveling the playing field" in NAS. Future work may explore applying these fairness principles to even more diverse search spaces beyond the standard DARTS configurations.

Summary updated

BibTeX
@inproceedings{chu2020fair,
  author = {Xiangxiang Chu and Tianbao Zhou and Bo Zhang and Jixiang Li},
  title = {{Fair DARTS: Eliminating Unfair Advantages in Differentiable Architecture Search}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58555-6\_28},
}
Figure