arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.22362cs.CL
收藏

看似等价的事实并非如此?预训练中的实体频率在LLMs中引发不对称性

Supposedly Equivalent Facts That Aren't? Entity Frequency in Pre-training Induces Asymmetry in LLMs

Amazon(亚马逊);University of Oxford(牛津大学);LMU Munich(慕尼黑大学);Siemens AG(西门子公司);University of Cambridge(剑桥大学);Meta;University of Stuttgart(斯图加特大学);Bosch Center for AI(博世人工智能中心);The University of Manchester(曼彻斯特大学)

Yuan He, Bailan He, Zifeng Ding, Alisia Lupidi, Yuqicheng Zhu, Shuo Chen, Caiqi Zhang, Jiaoyan Chen, Yunpu Ma, Volker Tresp, Ian Horrocks

AI总结:

本研究揭示了LLMs在识别逻辑等价事实时存在不对称性,该现象源于预训练数据中实体作为主语和宾语的频率差异,为理解模型行为和推断封闭模型预训练数据特征提供了新见解。

摘要:

理解和缓解大型语言模型(LLMs)中的幻觉对于确保可靠的内容生成至关重要。尽管先前的研究主要集中在LLMs“何时”产生幻觉,我们的工作解释了“为何”会产生幻觉,并将模型行为直接与构成其先验知识的预训练数据联系起来。具体而言,我们证明在对逻辑上等价事实的识别中存在不对称性,这可归因于实体作为主语与宾语出现时的频率差异。鉴于大多数预训练数据集无法访问,我们利用完全开源的OLMo系列,通过索引其Dolma数据集来估计实体频率。使用来自Wikidata5M的关系事实(表示为三元组),我们构建了探针数据集以隔离这种效应。我们的实验表明,具有高频主语和低频宾语的事实比其逆事实更容易被识别,尽管它们在逻辑上是等价的。这种模式在低频到高频的设置中发生逆转,而当两个实体都是高频时,没有出现统计学上显著的不对称性。这些发现突显了预训练数据在塑造模型预测中的重要作用,并为推断封闭或部分封闭LLMs中预训练数据的特征提供了见解。

英文摘要:

Understanding and mitigating hallucinations in Large Language Models (LLMs) is crucial for ensuring reliable content generation. While previous research has primarily focused on "when" LLMs hallucinate, our work explains "why" and directly links model behaviour to the pre-training data that forms their prior knowledge. Specifically, we demonstrate that an asymmetry exists in the recognition of logically equivalent facts, which can be attributed to frequency discrepancies of entities appearing as subjects versus objects. Given that most pre-training datasets are inaccessible, we leverage the fully open-source OLMo series by indexing its Dolma dataset to estimate entity frequencies. Using relational facts (represented as triples) from Wikidata5M, we construct probing datasets to isolate this effect. Our experiments reveal that facts with a high-frequency subject and a low-frequency object are better recognised than their inverse, despite their logical equivalence. The pattern reverses in low-to-high frequency settings, and no statistically significant asymmetry emerges when both entities are high-frequency. These findings highlight the influential role of pre-training data in shaping model predictions and provide insights for inferring the characteristics of pre-training data in closed or partially closed LLMs.

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

↑