arXiv:2410.05581cs.CLcs.AI2024-10EMNLP被引 13

额外预训练有时会降低大模型表现,因数据太相似反而导致性能下降。

Adaptation Odyssey in LLMs: Why Does Additional Pretraining Sometimes Fail to Improve?

  • 在已有预训练基础上继续训练,可能因数据相似性导致性能下降。
  • 相似度越高,困惑度越差,关键问题出在少数无意义的词上。
  • 提醒研究者:不是所有任务都适合微调,有时原模型更强。

过去十年中,深度学习模型的泛化与适应能力通常在固定训练与测试分布下评估。而大语言模型(LLMs)具有三方面显著差异:(i) 参数量更大,(ii) 在互联网收集的未标注文本语料上训练,人工干预极少,(iii) 采用在线方式训练。这些差异使得传统深度学习中的泛化与适应经验难以直接迁移至LLMs。本文通过实证观察,揭示了对已预训练语言模型进行进一步训练时的现象:在某一文本领域上继续训练,反而会提升该领域测试集上的困惑度。分析发现,性能下降程度与新增训练数据和原始预训练数据之间的相似性呈正相关。进一步的词级困惑度分析表明,这种下降主要由少数对领域无信息量的词汇引起。我们希望这些发现能帮助判断何时应调整模型,何时应依赖其基础能力。

原文摘要 · Abstract (English)

In the last decade, the generalization and adaptation abilities of deep learning models were typically evaluated on fixed training and test distributions. Contrary to traditional deep learning, large language models (LLMs) are (i) even more overparameterized, (ii) trained on unlabeled text corpora curated from the Internet with minimal human intervention, and (iii) trained in an online fashion. These stark contrasts prevent researchers from transferring lessons learned on model generalization and adaptation in deep learning contexts to LLMs. To this end, our short paper introduces empirical observations that aim to shed light on further training of already pretrained language models. Specifically, we demonstrate that training a model on a text domain could degrade its perplexity on the test portion of the same domain. We observe with our subsequent analysis that the performance degradation is positively correlated with the similarity between the additional and the original pretraining dataset of the LLM. Our further token-level perplexity observations reveals that the perplexity degradation is due to a handful of tokens that are not informative about the domain. We hope these findings will guide us in determining when to adapt a model vs when to rely on its foundational capabilities.

大模型预训练困惑度适应性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。