Skip to main content
QUICK REVIEW

[Paper Review] Shapley-NAS: Discovering Operation Contribution for Neural Architecture Search

Xiao Han, Ziwei Wang|arXiv (Cornell University)|Jun 20, 2022
Machine Learning in Materials ScienceMaterials Science7 citations
TL;DR

Shapley-NAS proposes a novel differentiable neural architecture search method that uses Shapley values to evaluate the true contribution of operations to model performance, overcoming the limitations of gradient-based architecture parameter magnitudes in DARTS. By approximating Shapley values via Monte-Carlo sampling with early truncation and momentum-based optimization, it achieves state-of-the-art accuracy on CIFAR-10 (2.43% error), ImageNet (23.9% top-1 accuracy), and NAS-Bench-201 benchmarks with low search cost.

ABSTRACT

In this paper, we propose a Shapley value based method to evaluate operation contribution (Shapley-NAS) for neural architecture search. Differentiable architecture search (DARTS) acquires the optimal architectures by optimizing the architecture parameters with gradient descent, which significantly reduces the search cost. However, the magnitude of architecture parameters updated by gradient descent fails to reveal the actual operation importance to the task performance and therefore harms the effectiveness of obtained architectures. By contrast, we propose to evaluate the direct influence of operations on validation accuracy. To deal with the complex relationships between supernet components, we leverage Shapley value to quantify their marginal contributions by considering all possible combinations. Specifically, we iteratively optimize the supernet weights and update the architecture parameters by evaluating operation contributions via Shapley value, so that the optimal architectures are derived by selecting the operations that contribute significantly to the tasks. Since the exact computation of Shapley value is NP-hard, the Monte-Carlo sampling based algorithm with early truncation is employed for efficient approximation, and the momentum update mechanism is adopted to alleviate fluctuation of the sampling process. Extensive experiments on various datasets and various search spaces show that our Shapley-NAS outperforms the state-of-the-art methods by a considerable margin with light search cost. The code is available at https://github.com/Euphoria16/Shapley-NAS.git

Motivation & Objective

  • To address the limitation of DARTS, where architecture parameter magnitudes do not reliably reflect actual operation importance to model performance.
  • To develop a method that directly measures the marginal contribution of each operation to validation accuracy, accounting for complex interactions among operations.
  • To enable efficient and stable architecture search by approximating Shapley values using Monte-Carlo sampling with early truncation.
  • To improve the correlation between operation strength and final model performance, leading to better architecture discovery.
  • To achieve state-of-the-art performance on CIFAR-10, CIFAR-100, ImageNet, and NAS-Bench-201 with minimal search cost.

Proposed method

  • Uses cooperative game theory's Shapley value to quantify the marginal contribution of each operation to validation accuracy across all possible subsets of operations.
  • Employs Monte-Carlo sampling with early truncation to efficiently approximate the NP-hard exact computation of Shapley values.
  • Integrates a momentum update mechanism to stabilize the fluctuating estimates from stochastic sampling during training.
  • Iteratively optimizes supernet weights and architecture parameters using the estimated Shapley values as the basis for architecture selection.
  • Treats each operation in the supernet as a player in a cooperative game, where the value function is the validation accuracy of the subnetwork formed by a subset of operations.
  • Derives the final architecture by selecting operations with the highest Shapley value contributions, ensuring high performance correlation.

Experimental results

Research questions

  • RQ1Can Shapley values provide a more reliable measure of operation importance than architecture parameter magnitudes in differentiable NAS?
  • RQ2How effectively can Monte-Carlo sampling with early truncation approximate the exact Shapley value for operation contribution in neural architecture search?
  • RQ3Does using Shapley value-based operation selection lead to better final model performance compared to DARTS and other SOTA methods?
  • RQ4What is the correlation between Shapley value-based operation strength and actual test accuracy across diverse search spaces?
  • RQ5Can the proposed method achieve state-of-the-art performance with low search cost on standard benchmarks like CIFAR-10, ImageNet, and NAS-Bench-201?

Key findings

  • Shapley-NAS achieves a test error rate of 2.43% on CIFAR-10 using the DARTS search space, outperforming existing methods.
  • On ImageNet under the mobile setting, Shapley-NAS attains a top-1 accuracy of 23.9%, demonstrating strong performance on large-scale datasets.
  • On NAS-Bench-201, Shapley-NAS discovers the optimal architecture on CIFAR-10 and CIFAR-100 and a near-optimal solution on ImageNet-16-120.
  • The Kendall Tau correlation between Shapley value and test accuracy reaches 0.526 on CIFAR-10, 0.474 on CIFAR-100, and 0.357 on ImageNet-16-120, significantly higher than DARTS.
  • Architecture parameters derived via Shapley-NAS evolve to reflect actual performance contributions, with operations like sep_conv_5x5 and sep_conv_3x3 becoming dominant only when they contribute most to accuracy.
  • The momentum update mechanism effectively reduces variance in the stochastic sampling process, leading to more stable and reliable architecture search.

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.