GradSign: Model Performance Inference with Theoretical Insights

Zhihao Zhang, Zhihao Jia
10/16/2021
cs.LG

Official code: cmu-catalyst/GradSign (7 stars, Python, last commit 2022-05-07).

Abstract

A key challenge in neural architecture search (NAS) is quickly inferring the predictive performance of a broad spectrum of networks to discover statistically accurate and computationally efficient ones. We refer to this task as model performance inference (MPI).

Show full abstract

The current practice for efficient MPI is gradient-based methods that leverage the gradients of a network at initialization to infer its performance. However, existing gradient-based methods rely only on heuristic metrics and lack the necessary theoretical foundations to consolidate their designs. We propose GradSign, an accurate, simple, and flexible metric for model performance inference with theoretical insights. The key idea behind GradSign is a quantity Ψ to analyze the optimization landscape of different networks at the granularity of individual training samples. Theoretically, we show that both the network's training and true population losses are proportionally upper-bounded by Ψ under reasonable assumptions. In addition, we design GradSign, an accurate and simple approximation of Ψ using the gradients of a network evaluated at a random initialization state. Evaluation on seven NAS benchmarks across three training datasets shows that GradSign generalizes well to real-world networks and consistently outperforms state-of-the-art gradient-based methods for MPI evaluated by Spearman's ρ and Kendall's Tau. Additionally, we integrate GradSign into four existing NAS algorithms and show that the GradSign-assisted NAS algorithms outperform their vanilla counterparts by improving the accuracies of best-discovered networks by up to 0.3%, 1.1%, and 1.0% on three real-world tasks.

View on arXivView PDF

Code Implementations(1)

Code for paper GradSign: Model Performance Inference with Theoretical Insights

70Python, ShellMay 7, 20224 years ago

Similar Papers

Cite this paper

@article{zhang2021gradsign,
  title  = {GradSign: Model Performance Inference with Theoretical Insights},
  author = {Zhihao Zhang and Zhihao Jia},
  year   = {2021},
  eprint = {2110.08616},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08616}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.08616.svg)](https://codeofpaper.com/paper/2110.08616)

Discussion