The search for effective and robust generalization metrics has been the focus of recent theoretical and empirical work. In this paper, we discuss the performance of natural language processing (NLP) models, and we evaluate various existing and novel generalization metrics. Compared to prior studies, we (i) focus on NLP instead of computer vision (CV), (ii) focus on generalization metrics that predict test error instead of the generalization gap, (iii) focus on generalization metrics that do not need the access to data, and (iv) focus on the heavy-tail (HT) phenomenon that has received comparatively less attention in the study of deep neural networks (NNs). We extend recent HT-based work which focuses on power law (PL) distributions, and we study exponential (EXP) and exponentially truncated power law (E-TPL) fitting to the empirical spectral densities (ESDs) of weight matrices. Our detailed empirical studies show that (i) \emph{shape metrics}, or the metrics obtained from fitting the shape of the ESDs, perform uniformly better at predicting generalization performance than \emph{scale metrics} commonly studied in the literature, as measured by the \emph{average} rank correlations with the generalization performance for all of our experiments; (ii) among forty generalization metrics studied in our paper, the \RANDDISTANCE metric, a new shape metric invented in this paper that measures the distance between empirical eigenvalues of weight matrices and those of randomly initialized weight matrices, achieves the highest worst-case rank correlation with generalization performance under a variety of training settings; and (iii) among the three HT distributions considered in our paper, the E-TPL fitting of ESDs performs the most robustly.
翻译:寻找有效和稳健的概括性指标是最近的理论和实证工作的重点。 在本文中,我们讨论了自然语言处理(NLP)模型的性能,并评估了各种现有和新颖的概括性指标。与以往的研究相比,我们(一) 侧重于NLP,而不是计算机视觉(CV),(二) 侧重于预测测试错误而不是概括性差距的概括性指标,(三) 侧重于不需要数据访问的概括性指标,(四) 侧重于在深层神经神经系统(NNS)的研究中相对较少关注的重(HT)现象。我们扩展了基于HT的近期工作,重点是动力法(PL)分布,我们研究了指数(EXP)和指数性电流法(E-TPL),这些指数性能预测了经验光谱性(ESD) 。我们详细的实证性研究显示,(二) 最差的纸质级(eempheshape sad ) 或从适应 ESDTP 的形状中得到的测量的测量数据,在总体性研究中,在一般的模型中,以直观性分析中,以直观性分析中,以直观性学中,以直观性能学中,以直观性地显示我们整个的实性表现进行。