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

合成训练数据中的幻觉对关系抽取的影响

The Effects of Hallucinations in Synthetic Training Data for Relation Extraction

Karlsruhe Institute of Technology (KIT)(卡尔斯鲁厄理工学院)

Steven Rogulsky, Nicholas Popovic, Michael Färber

AI总结:

本文研究了合成训练数据中的幻觉对关系抽取性能的影响,发现相关幻觉显著降低模型召回率,并提出了高F1分数的幻觉检测方法以提升数据质量与模型表现。

摘要:

关系抽取对于构建知识图谱至关重要,大型高质量数据集是训练、微调和评估模型的基础。生成式数据增强(GDA)是扩展此类数据集的常用方法。然而,这种方法常引入幻觉(如虚假事实),其对关系抽取的影响仍有待深入研究。本文研究了幻觉对文档级和句子级关系抽取性能的影响。我们的实证研究表明,幻觉显著削弱了模型从文本中抽取关系的能力,召回率下降了19.1%至39.2%。我们发现相关幻觉会损害模型性能,而不相关幻觉的影响极小。此外,我们开发了检测幻觉的方法以提升数据质量和模型性能。我们的方法成功将文本分类为“幻觉”或“干净”,分别达到83.8%和92.2%的高F1分数。这些方法不仅有助于移除幻觉,还能帮助估计其在数据集中的普遍程度,这对选择高质量数据至关重要。总体而言,我们的工作证实了相关幻觉对关系抽取模型有效性的深远影响。

英文摘要:

Relation extraction is crucial for constructing knowledge graphs, with large high-quality datasets serving as the foundation for training, fine-tuning, and evaluating models. Generative data augmentation (GDA) is a common approach to expand such datasets. However, this approach often introduces hallucinations, such as spurious facts, whose impact on relation extraction remains underexplored. In this paper, we examine the effects of hallucinations on the performance of relation extraction on the document and sentence levels. Our empirical study reveals that hallucinations considerably compromise the ability of models to extract relations from text, with recall reductions between 19.1% and 39.2%. We identify that relevant hallucinations impair the model's performance, while irrelevant hallucinations have a minimal impact. Additionally, we develop methods for the detection of hallucinations to improve data quality and model performance. Our approaches successfully classify texts as either 'hallucinated' or 'clean,' achieving high F1-scores of 83.8% and 92.2%. These methods not only assist in removing hallucinations but also help in estimating their prevalence within datasets, which is crucial for selecting high-quality data. Overall, our work confirms the profound impact of relevant hallucinations on the effectiveness of relation extraction models.

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

↑