小型语言模型为何表现不佳?通过Softmax瓶颈研究语言模型饱和现象
Why do small language models underperform? Studying Language Model Saturation via the Softmax Bottleneck
AI总结:
该研究揭示小型语言模型的训练饱和现象源于模型隐藏维度与目标分布高秩不匹配引发的softmax瓶颈,实验证实隐藏维度不足1000的模型预训练后期会出现潜在表示退化,导致性能下降。
摘要:
语言建模领域的最新进展依赖于在海量网络挖掘文本语料上预训练高参数化神经网络。这类模型的训练和推理在实际应用中成本高昂,这推动了小型模型的使用。然而研究发现,小型模型可能会出现饱和现象,其特征是训练到某一后期阶段时性能下降,随后进入平台期。本文发现,这种饱和现象可由小型模型的隐藏维度与目标上下文概率分布的高秩之间的不匹配来解释。这种不匹配会通过众所周知的softmax瓶颈现象,影响此类模型中使用的线性预测头的性能。我们在多种设置下测量了softmax瓶颈的影响,发现隐藏维度小于1000的模型在预训练后期往往会形成退化的潜在表示,进而导致评估性能下降。
英文摘要:
Recent advances in language modeling consist in pretraining highly parameterized neural networks on extremely large web-mined text corpora. Training and inference with such models can be costly in practice, which incentivizes the use of smaller counterparts. However, it has been observed that smaller models can suffer from saturation, characterized as a drop in performance at some advanced point in training followed by a plateau. In this paper, we find that such saturation can be explained by a mismatch between the hidden dimension of smaller models and the high rank of the target contextual probability distribution. This mismatch affects the performance of the linear prediction head used in such models through the well-known softmax bottleneck phenomenon. We measure the effect of the softmax bottleneck in various settings and find that models based on less than 1000 hidden dimensions tend to adopt degenerate latent representations in late pretraining, which leads to reduced evaluation performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。