Skip to main content
QUICK REVIEW

[Paper Review] iDARTS: Differentiable Architecture Search with Stochastic Implicit Gradients

Miao Zhang, Steven W. Su|arXiv (Cornell University)|Jun 21, 2021
Advanced Neural Network ApplicationsComputer Science16 citations
TL;DR

iDARTS proposes a differentiable architecture search method that leverages the implicit function theorem to compute hypergradients more accurately and efficiently, avoiding reliance on unrolled optimization paths. By using a stochastic Neumann-series approximation, it achieves superior performance and convergence to stationary points, outperforming baseline methods on NAS-Bench-1Shot1, NAS-Bench-201, and the standard DARTS search space.

ABSTRACT

extit{Differentiable ARchiTecture Search} (DARTS) has recently become the mainstream of neural architecture search (NAS) due to its efficiency and simplicity. With a gradient-based bi-level optimization, DARTS alternately optimizes the inner model weights and the outer architecture parameter in a weight-sharing supernet. A key challenge to the scalability and quality of the learned architectures is the need for differentiating through the inner-loop optimisation. While much has been discussed about several potentially fatal factors in DARTS, the architecture gradient, a.k.a. hypergradient, has received less attention. In this paper, we tackle the hypergradient computation in DARTS based on the implicit function theorem, making it only depends on the obtained solution to the inner-loop optimization and agnostic to the optimization path. To further reduce the computational requirements, we formulate a stochastic hypergradient approximation for differentiable NAS, and theoretically show that the architecture optimization with the proposed method, named iDARTS, is expected to converge to a stationary point. Comprehensive experiments on two NAS benchmark search spaces and the common NAS search space verify the effectiveness of our proposed method. It leads to architectures outperforming, with large margins, those learned by the baseline methods.

Motivation & Objective

  • To address the instability and poor generalization of DARTS by improving hypergradient computation in differentiable architecture search.
  • To develop a memory-efficient method for computing architecture gradients using the implicit function theorem, independent of the inner-loop optimization path.
  • To reduce computational cost through a stochastic Neumann-series approximation of the Hessian inverse in hypergradient estimation.
  • To theoretically justify convergence to a stationary point under mild assumptions on loss functions.
  • To empirically validate the method on standard NAS benchmarks, demonstrating superior performance over existing DARTS variants.

Proposed method

  • Reformulates DARTS as a bi-level optimization problem, where architecture parameters are updated via the implicit function theorem to compute hypergradients.
  • Uses the implicit function theorem to express the hypergradient as a function of the final inner-loop weights, eliminating dependency on optimization trajectory.
  • Applies the Neumann series to approximate the inverse Hessian matrix in the hypergradient computation, avoiding explicit matrix inversion.
  • Introduces a stochastic approximation of the Neumann-series-based hypergradient to reduce computational cost while maintaining accuracy.
  • Employs a truncated sum in the Neumann series up to K terms to balance approximation quality and efficiency.
  • Theoretical analysis shows convergence to a stationary point under standard assumptions on loss functions and learning rates.

Experimental results

Research questions

  • RQ1Can hypergradient computation in differentiable NAS be improved by leveraging the implicit function theorem instead of unrolling?
  • RQ2Does a Neumann-series-based approximation of the Hessian inverse lead to more stable and efficient architecture search?
  • RQ3Can a stochastic variant of the implicit hypergradient maintain performance while reducing computational cost?
  • RQ4Does the proposed method converge to a stationary point under mild assumptions on the loss functions?
  • RQ5How does iDARTS compare to existing DARTS variants in terms of accuracy and generalization across multiple NAS benchmarks?

Key findings

  • iDARTS achieves state-of-the-art performance on NAS-Bench-1Shot1, outperforming baseline methods with large margins.
  • On NAS-Bench-201, iDARTS discovers architectures that surpass the performance of DARTS and its variants, especially in CIFAR-10 and CIFAR-100.
  • The method demonstrates strong transferability, achieving high accuracy on ImageNet when transferring architectures discovered on CIFAR-10.
  • The stochastic Neumann approximation enables efficient training with reduced memory and compute costs, maintaining high-quality architecture search.
  • Theoretical analysis confirms that iDARTS is expected to converge to a stationary point under standard assumptions, providing a solid theoretical foundation.
  • Empirical results show that iDARTS mitigates the instability issues observed in DARTS, such as sharp loss landscapes and poor generalization after discretization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.