Disturbance-immune Weight Sharing for Neural Architecture Search

Shuaicheng Niu, Jiaxiang Wu, Yifan Zhang, Yong Guo, Peilin Zhao, Junzhou Huang, Mingkui Tan

Abstract

Neural Architecture Search (NAS) relies heavily on weight sharing to speed up the search process, but updating shared weights degrades the performance estimation of previously evaluated architectures—a problem known as "performance disturbance." This paper introduces Disturbance-immune NAS (DI-NAS), which uses orthogonal gradient descent to update weights without altering the feature maps of past architectures. This leads to much more accurate architecture evaluation and achieves state-of-the-art search results on CIFAR-10 and ImageNet.

Introduction: The Challenge of Performance Disturbance

Finding optimal neural network architectures is computationally expensive, often requiring thousands of GPU days. Modern NAS methods mitigate this by using Weight Sharing (WS), where a "supernet" contains all candidate architectures as subgraphs. While efficient, this paradigm suffers from Performance Disturbance (PD).

Weight sharing and performance disturbance visualization.

As shown in Figure 1, training a new architecture updates shared weights, inadvertently degrading the performance of previously optimized architectures. This "catastrophic forgetting" leads to inaccurate performance estimations, providing noisy rewards to the NAS controller and hindering the discovery of optimal models.

Methodology: Disturbance-immune Update Strategy

To address PD, DI-NAS ensures that updates to shared weights improve the current architecture without altering the output feature maps of previously trained ones.

Orthogonal Gradient Descent

The core innovation is projecting gradients so they are orthogonal to the input feature maps of all previously trained architectures. By maintaining feature map constancy, the performance of prior architectures is preserved even as weights evolve.

Efficient Computation via the Woodbury Trick

Maintaining an orthogonal projection matrix for every parameter could be memory-intensive. DI-NAS utilizes the Woodbury matrix identity to update the projection matrix iteratively. This approach only requires feature maps from the current training batch, eliminating the need to store historical data and making the method computationally feasible.

Key Results and Evaluation

DI-NAS was evaluated on CIFAR-10 and ImageNet to test architecture discovery and generalization.

Architecture Discovery

On CIFAR-10, DI-NAS discovered an architecture achieving 97.38% accuracy with 3.7M parameters in just 1.5 GPU days. The discovered cells demonstrate the effectiveness of the search strategy.

Discovered Normal and Reduction cells.

Estimation Accuracy and Generalization

A critical metric for NAS is Kendall’s Tau (KTau), measuring the rank correlation between supernet estimates and standalone performance. Standard WS yields a KTau of 0.16 (near random), while DI-NAS improves this to 0.48. On ImageNet, the discovered architecture achieved 74.7% Top-1 accuracy, outperforming human-designed models like ResNet-18 and competitive NAS methods like DARTS.

Conclusion

DI-NAS reframes NAS weight sharing as a continual learning problem. By ensuring feature map constancy through orthogonal gradients, it provides the NAS controller with significantly more accurate signals. Future work may explore dynamic hyperparameter tuning for the projection matrix or applying these techniques to multi-task learning environments.

Summary updated

BibTeX
@article{niu2021disturbance,
  author = {Shuaicheng Niu and Jiaxiang Wu and Yifan Zhang and Yong Guo and Peilin Zhao and Junzhou Huang and Mingkui Tan},
  title = {{Disturbance-immune Weight Sharing for Neural Architecture Search}},
  journal = {Neural Networks},
  year = {2021},
  doi = {10.1016/j.neunet.2021.09.002},
}
Figure