arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08256cs.CLcs.AIcs.LG
收藏

共现对大型语言模型事实知识的影响

Impact of Co-occurrence on Factual Knowledge of Large Language Models

KAIST(韩国科学技术院)

Cheongwoong Kang, Jaesik Choi

AI总结:

本文研究大型语言模型因过度依赖预训练语料共现统计而产生事实错误的问题,提出通过去偏数据集微调缓解共现偏差,但该方法对未见过的稀有事实效果有限。

摘要:

大型语言模型(LLMs)尽管在各种应用中取得了成功,但常常产生事实上不正确的回答。在本文中,我们假设过度依赖预训练语料库的简单共现统计是导致事实错误的主要原因之一。我们的研究结果表明,LLMs容易受到共现偏差的影响,该偏差定义为倾向于选择频繁共现的词而非正确答案。因此,当事实的主体和客体在预训练数据集中很少共现时,尽管它们在微调期间出现过,LLMs也难以回忆这些事实。我们表明,即使扩大模型规模或进行微调,共现偏差仍然存在。因此,我们建议在去偏数据集上进行微调,通过过滤掉那些主体-客体共现计数较高的有偏样本来减轻偏差。尽管去偏微调使LLMs能够记住训练集中的稀有事实,但在回忆微调期间未见过的稀有事实方面效果不佳。进一步的缓解研究将有助于通过防止潜在错误来构建可靠的语言模型。代码可在\nt{https://github.com/CheongWoong/impact_of_cooccurrence}获取。

英文摘要:

Large language models (LLMs) often make factually incorrect responses despite their success in various applications. In this paper, we hypothesize that relying heavily on simple co-occurrence statistics of the pre-training corpora is one of the main factors that cause factual errors. Our results reveal that LLMs are vulnerable to the co-occurrence bias, defined as preferring frequently co-occurred words over the correct answer. Consequently, LLMs struggle to recall facts whose subject and object rarely co-occur in the pre-training dataset although they are seen during finetuning. We show that co-occurrence bias remains despite scaling up model sizes or finetuning. Therefore, we suggest finetuning on a debiased dataset to mitigate the bias by filtering out biased samples whose subject-object co-occurrence count is high. Although debiased finetuning allows LLMs to memorize rare facts in the training set, it is not effective in recalling rare facts unseen during finetuning. Further research in mitigation will help build reliable language models by preventing potential errors. The code is available at \url{https://github.com/CheongWoong/impact_of_cooccurrence}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑