BNAS-v2: Memory-Efficient and Performance-Collapse-Prevented Broad Neural Architecture Search

Zixiang Ding, Yaran Chen, Nannan Li, Dongbin Zhao · DOI

TL;DR

This paper introduces BNAS-v2, an improved neural architecture search (NAS) method that significantly boosts search efficiency and prevents performance degradation. It tackles the "unfair training" issue in previous BNAS by using continuous relaxation and introduces "Confident Learning Rate" (CLR) and partial channel connections to prevent "performance collapse," achieving state-of-the-art search speeds on CIFAR-10 and ImageNet.

What Problem Does This Paper Address?

Neural Architecture Search (NAS) aims to automate the design of neural networks, but it's notoriously computationally expensive. Previous work, like BNAS, used a "Broad Convolutional Neural Network" (BCNN) to improve efficiency by allowing larger batch sizes and faster training. However, BNAS suffered from an "unfair training issue" where only a single sampled network path was trained at a time, leading to suboptimal architectures. Furthermore, the efficiency gains from BCNN were partially negated by this issue, and a new problem called "performance collapse" emerged with differentiable NAS approaches, where weight-free operations were disproportionately favored, leading to poor performance. This paper addresses these two critical issues: unfair training and performance collapse, to make NAS more efficient and effective.

Methods

BNAS-v2 introduces two main innovations to overcome the limitations of prior BNAS:

  • Continuous Relaxation: To address the "unfair training issue," BNAS-v2 employs continuous relaxation. Instead of sampling a single network path, this technique allows all possible paths within an over-parameterized BCNN to be considered and updated simultaneously using gradient-based optimization. This ensures that all candidate operations contribute to the learning process.
  • Performance Collapse Prevention: Continuous relaxation, while beneficial, can lead to "performance collapse," where weight-free operations (like skip connections or pooling) are excessively favored. To combat this, BNAS-v2 proposes two solutions:
  • Confident Learning Rate (CLR): This novel learning rate strategy dynamically adjusts the update confidence for architecture weights based on the training progress. As training progresses and gradients become more reliable, CLR increases the learning rate for architecture weights, encouraging the selection of more robust, weight-equipped operations.
  • Partial Channel Connections (PCC) and Edge Normalization (EN): This approach reduces memory usage by only feeding a subset of channels into operations and uses edge normalization to stabilize the learning process. This combination not only helps prevent performance collapse but also further improves memory efficiency, enabling larger batch sizes.

BNAS-v2 combines these techniques into two variants: BNAS-v2-CLR and BNAS-v2-PC (which incorporates PCC and EN).

Datasets

The paper uses the following datasets:

  • CIFAR-10: Used for architecture search and evaluation.
  • ImageNet: Used for evaluating the transferability of learned architectures and for direct architecture search.

Key Insights and Ideas

  • Unfairness in NAS is a major bottleneck: The paper highlights how sampling a single path in BNAS leads to an unfair training process, limiting its effectiveness.
  • Continuous relaxation is a double-edged sword: While it enables simultaneous training of all paths, it introduces the "performance collapse" problem.
  • CLR is crucial for guiding architecture search: The Confident Learning Rate effectively balances the influence of weight-free and weight-equipped operations, preventing the collapse issue and leading to better architectures.
  • Memory efficiency is key for large-scale search: PCC and EN not only prevent performance collapse but also significantly reduce memory footprint, enabling larger batch sizes and faster search on datasets like ImageNet.
  • Broad architectures can be highly effective: BNAS-v2 demonstrates that broad, shallow architectures (BCNN) can achieve competitive performance with fewer cells than deep architectures, leading to faster training and inference.

Key Results

  • State-of-the-art search efficiency: BNAS-v2 achieves significantly faster search times on CIFAR-10 (0.05 GPU days, 4x faster than BNAS) and ImageNet (0.19 GPU days).
  • Improved accuracy: BNAS-v2 architectures achieve better or competitive performance compared to previous methods on both CIFAR-10 and ImageNet. For instance, BNAS-v2-PC achieves 2.79 ± 0.19% test error on CIFAR-10, outperforming BNAS-CCE.
  • Effective performance collapse mitigation: Both BNAS-v2-CLR and BNAS-v2-PC successfully alleviate the performance collapse issue.
  • Memory efficiency: BNAS-v2-PC demonstrates superior memory efficiency, enabling larger batch sizes and faster search, even on ImageNet.
  • Transferability: Architectures learned on CIFAR-10 show good transferability to ImageNet.

Limitations and Future Work

  • Performance gap on ImageNet: While BNAS-v2 achieves state-of-the-art efficiency on ImageNet, there's still a performance gap compared to some deep and broad architectures. The authors attribute this to the difficulty in determining optimal hyperparameters for broad architectures on large-scale datasets.
  • Future work: The authors suggest using knowledge distillation to address potential efficiency-degradation trade-offs, especially for large-scale image classification tasks. They also plan to further investigate optimal hyperparameter configurations for broad architectures on ImageNet.

Summary updated

BibTeX
@article{ding2022bnas,
  author = {Zixiang Ding and Yaran Chen and Nannan Li and Dongbin Zhao},
  title = {{BNAS-v2: Memory-Efficient and Performance-Collapse-Prevented Broad Neural Architecture Search}},
  journal = {IEEE Trans. Syst. Man Cybern. Syst.},
  year = {2022},
  doi = {10.1109/tsmc.2022.3143201},
}
Figure