GradAlign for Training-free Model Performance Inference
Yuxuan Li, Yunhui Guo
TL;DR
GradAlign addresses the challenge of predicting neural network performance at initialization without training by quantifying conflicts among per-sample gradients. It theoretically links gradient interference to slower convergence and proposes two metrics, GradAlign-i@ and GradAlign-ii@, based on gradient alignment and the Gram determinant. Empirical results on NAS-BENCH-101, NAS-BENCH-201, and NDS show GradAlign- variants generally outperform existing training-free NAS baselines in Kendall's $\tau$ and top-architecture selection, with favorable running times. The work also demonstrates that the number of linear regions is not a reliable initialization criterion, motivating gradient-based inference as a more robust alternative.
Abstract
Architecture plays an important role in deciding the performance of deep neural networks. However, the search for the optimal architecture is often hindered by the vast search space, making it a time-intensive process. Recently, a novel approach known as training-free neural architecture search (NAS) has emerged, aiming to discover the ideal architecture without necessitating extensive training. Training-free NAS leverages various indicators for architecture selection, including metrics such as the count of linear regions, the density of per-sample losses, and the stability of the finite-width Neural Tangent Kernel (NTK) matrix. Despite the competitive empirical performance of current training-free NAS techniques, they suffer from certain limitations, including inconsistent performance and a lack of deep understanding. In this paper, we introduce GradAlign, a simple yet effective method designed for inferring model performance without the need for training. At its core, GradAlign quantifies the extent of conflicts within per-sample gradients during initialization, as substantial conflicts hinder model convergence and ultimately result in worse performance. We evaluate GradAlign against established training-free NAS methods using standard NAS benchmarks, showing a better overall performance. Moreover, we show that the widely adopted metric of linear region count may not suffice as a dependable criterion for selecting network architectures during at initialization.
