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

神经机器翻译中幻觉的模型自省理解与检测

Understanding and Detecting Hallucinations in Neural Machine Translation via Model Introspection

University of Maryland(马里兰大学)

Weijia Xu, Sweta Agrawal, Eleftheria Briakou, Marianna J. Martindale, Marine Carpuat

摘要:

神经序列生成模型被称为“幻觉”,通过产生与源文本无关的输出。这些幻觉有潜在的危害,但目前还不清楚它们是在什么情况下出现的,以及如何减轻它们的影响。在这项工作中,我们首先通过分析对比性幻觉与通过源扰动生成的非幻觉输出中的相对令牌贡献来识别幻觉的内部模型症状。然后,我们证明这些症状是自然幻觉的可靠指标,通过使用它们来设计一个轻量级的幻觉检测器,该检测器的性能优于无模型基线和基于质量估计的强分类器或手动注释的英-中和德-英翻译测试床上的大型预训练模型。

英文摘要:

Neural sequence generation models are known to "hallucinate", by producing outputs that are unrelated to the source text. These hallucinations are potentially harmful, yet it remains unclear in what conditions they arise and how to mitigate their impact. In this work, we first identify internal model symptoms of hallucinations by analyzing the relative token contributions to the generation in contrastive hallucinated vs. non-hallucinated outputs generated via source perturbations. We then show that these symptoms are reliable indicators of natural hallucinations, by using them to design a lightweight hallucination detector which outperforms both model-free baselines and strong classifiers based on quality estimation or large pre-trained models on manually annotated English-Chinese and German-English translation test beds.

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

↑