Language modeling on large-scale datasets leads to impressive performance gains on various downstream language tasks. The validation pre-training loss (or perplexity in autoregressive language modeling) is often used as the evaluation metric when developing language models since the pre-training loss tends to be well-correlated with downstream performance (which is itself difficult to evaluate comprehensively). Contrary to this conventional wisdom, this paper shows that 1) pre-training loss cannot fully explain downstream performance and 2) flatness of the model is well-correlated with downstream performance where pre-training loss is not. On simplified datasets, we identify three ways to produce models with the same (statistically optimal) pre-training loss but different downstream performance: continue pre-training after convergence, increasing the model size, and changing the training algorithm. These experiments demonstrate the existence of implicit bias of pre-training algorithms/optimizers -- among models with the same minimal pre-training loss, they implicitly prefer more transferable ones. Toward understanding this implicit bias, we prove that SGD with standard mini-batch noise implicitly prefers flatter minima in language models, and empirically observe a strong correlation between flatness and downstream performance among models with the same minimal pre-training loss. We also prove in a synthetic language setting that among the models with the minimal pre-training loss, the flattest model transfers to downstream tasks.
On the Implicit Bias Towards Minimal Depth of Deep Neural Networks
Massachusetts Institute of Technology(麻省理工学院);Tel Aviv University(特拉维夫大学);eBay Research(eBay研究院)
最近的文献结果表明,被训练用于分类的神经网络的倒数第二(倒数第二)层表示表现出称为神经崩溃(NC)的聚类特性。我们研究了随机梯度下降(SGD)在训练深度神经网络时有利于低深度解决方案的隐式偏差。我们描述了一个概念的有效深度,测量第一层的样本嵌入是可分离的使用最近的类中心分类器。此外,我们的假设和经验表明,SGD隐式地选择小的有效深度的神经网络。其次,虽然神经崩溃出现时,泛化应该是不可能的-我们认为,在中间层的\emph{degree of separability}与泛化。我们基于将网络的有效深度与拟合具有部分损坏标签的相同数据集所需的最小深度进行比较来推导泛化界。值得注意的是,这个界限提供了测试性能的非平凡估计。最后,我们经验表明,当数据中随机标签的数量增加时,训练好的神经网络的有效深度单调增加。
随机梯度下降(SGD)中的噪声为训练过参数化模型提供了至关重要的隐式正则化效应。以前的理论工作主要集中在球形高斯噪声,而经验研究表明,参数相关的噪声-由小批量或标签扰动引起的-比高斯噪声更有效。本文从理论上描述了这种现象的二次参数化模型介绍Vaskevicius等人。和Woodworth et el.我们表明,在一个过参数化的设置,SGD标签噪声恢复稀疏地面真理与任意初始化,而SGD高斯噪声或梯度下降过拟合到稠密的解决方案与大的规范。我们的分析表明,参数相关的噪声引入了一个偏向局部极小值较小的噪声方差,而球面高斯噪声没有。我们项目的代码是公开的。
Asymmetric Heavy Tails and Implicit Bias in Gaussian Noise Injections
Alan Turing Institute(艾伦·图灵研究所);University of Oxford(牛津大学);Florida State University(佛罗里达州立大学);Rutgers Business School(罗格斯商学院);INRIA(法国国家信息与自动化研究所);École Normale Supérieure(巴黎高等师范学院);PSL Research University(巴黎文理研究大学)
Conflicting Biases at the Edge of Stability: Norm versus Sharpness Regularization
Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Prusa Research(普拉萨研究公司);Institute for Robotics and Mechatronics, DLR-German Aerospace Center(德国航空航天中心机器人与机电研究所)
Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking
Princeton University(普林斯顿大学);Stanford University(斯坦福大学);Toyota Technological Institute at Chicago(芝加哥丰田理工学院);University of Washington(华盛顿大学);University of Michigan(密歇根大学)
The Implicit Bias of Steepest Descent with Mini-batch Stochastic Gradient
School of Statistics, Renmin University of China(中国人民大学统计学院);School of Computing and Data Science, The University of Hong Kong(香港大学计算与数据科学学院);School of Computing and Data Science & Institute of Data Science, The University of Hong Kong(香港大学计算与数据科学学院及数据科学研究所)
Implicit Bias of Gradient Descent for Wide Two-layer Neural Networks Trained with the Logistic Loss
Laboratoire de Mathématiques d’Orsay(奥赛数学实验室);CNRS(法国国家科学研究中心);Université Paris-Saclay(巴黎萨克雷大学);INRIA(法国国家信息与自动化研究所);ENS(巴黎高等师范学院);PSL Research University(PSL研究大学)
Understanding Nonlinear Implicit Bias via Region Counts in Input Space
Institute for Interdisciplinary Information Sciences, Tsinghua University(交叉信息学院);Wangxuan Institute of Computer Technology, Peking University(王璇计算机技术研究所);Shanghai Qizhi Institute(上海启智研究所)
How Implicit Bias Accumulates and Propagates in LLM Long-term Memory
International Research Center for Artificial Intelligence, Harbin Institute of Technology (Shenzhen), Shenzhen, China;Chongqing Research Institute of Harbin Institute of Technology, Chongqing, China;College of Computing;Data Science, Nanyang Technological University, Singapore;Department of Management;Marketing, The Hong Kong Polytechnic University, Hong Kong;Haide College, Ocean University of China, Qingdao, China;School of Computer Science, The University of Sheffield, Sheffield, UK;Department of Automation, Tsinghua University, Beijing, China
Tilburg University(蒂尔堡大学);Eindhoven University of Technology(埃因霍温理工大学);Hasselt University(哈瑟尔特大学);Central University of Las Villas(拉斯维亚斯中央大学);São Paulo State University(圣保罗州立大学)
The Implicit Bias of Depth: From Neural Collapse to Softmax Codes
Mathematical Institute, University of Oxford(牛津大学数学研究所);Department of Electrical and Computer Engineering, University of British Columbia(不列颠哥伦比亚大学电气与计算机工程系)