arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08616cs.LG
收藏

GradSign:具有理论洞察力的模型性能推断

GradSign: Model Performance Inference with Theoretical Insights

Carnegie Mellon University(卡内基梅隆大学)

Zhihao Zhang, Zhihao Jia

摘要:

神经架构搜索(NAS)的一个关键挑战是快速推断各种网络的预测性能,以发现统计上准确且计算效率高的网络。我们将此任务称为模型性能推断(MPI)。有效MPI的当前实践是基于梯度的方法,该方法在初始化时利用网络的梯度来推断其性能。然而,现有的基于梯度的方法仅依赖于启发式度量,缺乏必要的理论基础来巩固其设计。我们提出了GradSign,这是一个准确、简单且灵活的指标,用于通过理论见解进行模型性能推断。GradSign背后的关键思想是在单个训练样本的粒度上分析不同网络的优化景观的数量。理论上,我们证明了在合理的假设下,网络的训练和真实的人口损失都是按比例上界的。此外,我们设计了GradSign,这是一个精确而简单的近似,使用在随机初始化状态下评估的网络梯度。对三个训练数据集的七个NAS基准测试的评估表明,GradSign可以很好地推广到现实世界的网络,并且始终优于Spearman的ρ和Kendall的Tau评估的MPI最先进的基于梯度的方法。此外,我们将GradSign集成到四种现有的NAS算法中,并表明GradSign辅助的NAS算法在三个现实任务中将最佳发现网络的准确性提高了0.3%,1.1%和1.0%,从而优于其普通算法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑