[Paper Review] GradSign: Model Performance Inference with Theoretical Insights
GradSign is a theoretically grounded, gradient-based metric for model performance inference (MPI) that leverages sample-wise optimization landscape analysis to predict neural network accuracy. It introduces a theoretical upper bound $Ψ$ on training and generalization loss, approximated via simple gradient statistics at random initialization, and empirically outperforms state-of-the-art MPI methods by up to 1.1% in test accuracy when integrated into NAS algorithms.
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). 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.
Motivation & Objective
- To address the lack of theoretical foundations in existing gradient-based model performance inference (MPI) methods.
- To develop a metric that accurately predicts neural network performance without full training.
- To analyze the optimization landscape at initialization through a sample-wise perspective.
- To design a computationally efficient and generalizable MPI metric grounded in theory.
- To improve neural architecture search (NAS) by integrating the metric into existing search algorithms.
Proposed method
- Introduce $Ψ$, a theoretical quantity that upper bounds both training and generalization loss under reasonable assumptions.
- Define $Ψ$ as a measure of local optimum density in convex neighborhoods around random initialization.
- Propose GradSign as a computationally efficient approximation of $Ψ$ using only sample-wise gradients at initialization.
- Compute GradSign as the average of sign patterns across gradients from a mini-batch of training samples.
- Use GradSign scores to rank candidate architectures in NAS pipelines without training.
- Integrate GradSign into four NAS algorithms (REA, REINFORCE, BOHB, RS) to guide architecture selection.
Experimental results
Research questions
- RQ1Can a theoretically grounded metric be derived to predict model performance using only initialization-time gradients?
- RQ2Does analyzing the sample-wise optimization landscape yield better performance inference than full-batch landscape analysis?
- RQ3Can a simple approximation of the theoretical upper bound $Ψ$ achieve state-of-the-art MPI performance?
- RQ4How effective is GradSign in improving the accuracy of architectures discovered by NAS algorithms?
- RQ5Does GradSign generalize across diverse architectures and datasets beyond idealized assumptions?
Key findings
- GradSign achieves the highest Spearman’s rho and Kendall’s Tau correlations with true model performance across seven NAS benchmarks.
- On NAS-Bench-201, GradSign-assisted NAS algorithms improve test accuracy by up to 1.1% on CIFAR-100 and 1.0% on ImageNet16-120 compared to vanilla counterparts.
- The G-REA variant achieves 94.10 ± 0.52% test accuracy on CIFAR-10, outperforming REA (93.85 ± 0.44%) and A-REA (93.85 ± 0.44%).
- GradSign consistently outperforms existing gradient-based MPI methods across all datasets and search spaces evaluated.
- The integration of GradSign into NAS algorithms leads to more accurate architectures without increasing search cost.
- GradSign generalizes well even when real-world assumptions are violated, demonstrating robustness in practical settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.