[论文解读] Rome was built in 1776: A Case Study on Factual Correctness in Knowledge-Grounded Response Generation
本文提出了一种由人类标注的框架,用于将知识增强型对话回复分类为不可验证、事实一致和幻觉三类,并引入了Conv-FEVER这一合成数据集,用于训练事实一致性检测器。在Conv-FEVER上进行训练后,该检测器在识别事实不一致回复方面表现出色,尤其在基于准确知识生成回复时表现更优,凸显了精心构建的训练数据在对话系统事实一致性中的价值。
Recently neural response generation models have leveraged large pre-trained transformer models and knowledge snippets to generate relevant and informative responses. However, this does not guarantee that generated responses are factually correct. In this paper, we examine factual correctness in knowledge-grounded neural response generation models. We present a human annotation setup to identify three different response types: responses that are factually consistent with respect to the input knowledge, responses that contain hallucinated knowledge, and non-verifiable chitchat style responses. We use this setup to annotate responses generated using different stateof-the-art models, knowledge snippets, and decoding strategies. In addition, to facilitate the development of a factual consistency detector, we automatically create a new corpus called Conv-FEVER that is adapted from the Wizard of Wikipedia dataset and includes factually consistent and inconsistent responses. We demonstrate the benefit of our Conv-FEVER dataset by showing that the models trained on this data perform reasonably well to detect factually inconsistent responses with respect to the provided knowledge through evaluation on our human annotated data. We will release the Conv-FEVER dataset and the human annotated responses.
研究动机与目标
- 探究在使用检索到的知识时,知识增强型神经回复生成中的事实正确性,尽管模型可能生成与知识不一致的回复。
- 开发一个由人工标注的基准,以区分开放域对话中不可验证、事实一致和幻觉类回复。
- 通过结合来自Wizard of Wikipedia数据集的真实对话回复与使用微调后的GPT2模型自动生成的不一致回复,构建合成数据集Conv-FEVER。
- 在人工标注数据上评估检测器的有效性,并展示其在不同模型架构和知识检索策略下的泛化能力。
- 为未来工作提供支持,将事实一致性作为反馈机制用于回复生成或重排序,同时区分一致性与世界知识的正确性。
提出的方法
- 将生成的回复分为三类:不可验证(无可验证陈述)、事实一致(与输入知识准确一致)和幻觉(与输入知识不一致)。
- 采用两种标注设置:一种使用公开众包标注员(Factual dataset-crowd),另一种使用内部标注员(Factual dataset-expert),以提高可靠性与标注者间的一致性。
- 通过将Wizard of Wikipedia数据集中真实回复与使用微调GPT2模型生成的不一致回复相结合,构建Conv-FEVER数据集。
- 在Conv-FEVER上使用BERT-base训练事实一致性检测器,利用句子对编码方法比较知识与回复的表征。
- 使用F1分数在人工标注数据上评估检测器性能,对比不同模型尺寸、解码策略和知识检索配置下的表现。
- 采用Krippendorff’s alpha衡量标注者间的一致性,并使用基于阈值的标注方法(≥0.5为一致,<0.5为不一致)以标准化预测结果。
实验结果
研究问题
- RQ1在基于检索知识的前提下,当前最先进的知识增强型回复生成模型在事实一致性方面表现如何?
- RQ2在Conv-FEVER上进行训练的事实一致性检测器,在开放域对话中检测幻觉回复的能力如何?
- RQ3检索知识的质量如何影响生成回复的事实一致性以及检测模型的性能?
- RQ4模型规模和解码策略对事实一致性有何影响,其与检测器性能的相关性如何?
- RQ5能否将事实一致性检测作为反馈机制,用于改进对话系统中的回复生成或重排序?
主要发现
- 41.6%的生成回复被归类为不可验证,表明相当大比例的回复未提出可评估其事实准确性的陈述。
- 在Conv-FEVER上训练的事实一致性检测器在人工标注数据上取得了具有竞争力的F1分数,优于仅在文档级数据集上训练的模型在一致类上的表现。
- 专家标注数据集上的标注者间一致性达到Krippendorff’s alpha为0.80(事实一致性)和0.86(幻觉),表明一致性程度为显著至近乎完美。
- 检测器性能随模型规模增大和使用真实知识而提升,这与回复相关性评分的提高相一致。
- 自然语言推理(NLI)模型在不一致类上的表现优于基于BERT的检测器,因其能更频繁地预测“信息不足”,而该预测被映射为不一致。
- 检测器在不同配置下表现稳定,表明当使用核采样和真实知识生成回复时,其性能具有鲁棒性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。