大语言模型为何陷入停滞:早期结构与持续性错误
How Large Language Models Get Stuck: Early structure with persistent errors
AI总结:
研究发现大语言模型在训练早期可能因大写统计偏差而陷入错误固化,提出双元组假设以解释这一现象并提出测试方法。
摘要:
语言学见解可能有助于使大语言模型(LLM)训练更加高效。我们训练了Meta的OPT模型在1000万词的BabyLM数据集上,并在BLiMP基准测试中评估了该模型,该基准测试包含67个类别,每个类别由句子对组成,这些句子对在特定的句法或语义规则上存在差异。我们测试了模型在训练迭代过程中对语法句子和非语法句子的偏好。在近三分之一的BLiMP类别中,即使经过大量训练,OPT模型也无法一致地将更高概率分配给语法句子。当它失败时,通常会在处理早期阶段建立清晰的(错误的)概率分离,并持续到我们的训练阶段结束。我们假设这种误分类是昂贵的,因为它会创造根深蒂固的偏见,这些偏见最终必须被逆转,以便模型能够表现良好。我们通过混合定性(基于语言学理论和深度学习理论)和定量(基于数值测试)评估来探究这一现象。我们的定性评估表明,只有某些BLiMP测试是有意义的指导。我们最后提出一个假设,即双元组假设,该假设声称如果在训练早期大写统计偏差模型向错误的区分方向,学习过程将表现出错误的固化。我们描述了一种在适当选择的BLiMP类别上测试该假设的方法。
英文摘要:
Linguistic insights may help make Large Language Model (LLM) training more efficient. We trained Meta's OPT model on the 100M word BabyLM dataset, and evaluated it on the BLiMP benchmark, which consists of 67 classes, each defined by sentence pairs that differ in a targeted syntactic or semantic rule violation. We tested the model's preference for grammatical over ungrammatical sentences across training iterations and grammatical types. In nearly one-third of the BLiMP classes, OPT fails to consistently assign a higher likelihood to grammatical sentences, even after extensive training. When it fails, it often establishes a clear (erroneous) separation of the likelihoods at an early stage of processing and sustains this to the end of our training phase. We hypothesize that this mis-categorization is costly because it creates entrenched biases that must, eventually, be reversed in order for the model to perform well. We probe this phenomenon using a mixture of qualitative (based on linguistic theory and the theory of Deep Learning) and quantitative (based on numerical testing) assessments. Our qualitative assessments indicate that only some BLiMP tests are meaningful guides. We conclude by articulating a hypothesis, the Bigram Hypothesis, which claims that the learning process will exhibit erroneous entrenchment if bigram statistics bias the model toward wrong distinctions early in training, and we describe a method of testing the hypothesis on appropriately selected BLiMP classes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。