arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.18248cs.CLcs.AI
收藏

语言模型知道自己在生成幻觉参考文献吗?

Do Language Models Know When They're Hallucinating References?

Microsoft Research(微软研究院);Stanford University(斯坦福大学);OpenAI

Ayush Agrawal, Mirac Suzgun, Lester Mackey, Adam Tauman Kalai

AI总结:

本研究将幻觉参考文献作为语言模型幻觉研究的“模式生物”,提出通过向模型提出直接或间接查询进行“一致性检查”,无需外部资源即可识别幻觉参考文献,发现模型能准确回忆真实作者但对幻觉作者不一致,表明模型“知道”自己在产生幻觉。

摘要:

最先进的语言模型(LMs)众所周知极易产生幻觉信息。这种不准确的输出不仅破坏了这些模型的可靠性,还限制了它们的使用,并引发了对错误信息和宣传的严重担忧。在这项工作中,我们专注于产生幻觉的书籍和文章参考文献,并将其作为语言模型幻觉研究的“模式生物”,因为它们频繁出现且易于辨别。我们假设,如果语言模型在其输出中引用了特定参考文献,那么它理应掌握关于其作者和内容以及其他相关细节的充分信息。利用这一基本洞察,我们说明可以通过向语言模型提出一组关于参考文献的直接或间接查询,在不查阅任何外部资源的情况下识别出幻觉参考文献。这些查询可以被视为“一致性检查”。我们的发现强调,包括GPT-4在内的LMs,经常会为幻觉参考文献生成不一致的作者列表,同时它们也往往能准确回忆起真实参考文献的作者。从这个意义上说,可以认为LM“知道”自己何时在产生幻觉参考文献。此外,这些发现展示了如何通过剖析幻觉参考文献来揭示其本质。复现代码和结果可在https://github.com/microsoft/hallucinated-references找到。

英文摘要:

State-of-the-art language models (LMs) are notoriously susceptible to generating hallucinated information. Such inaccurate outputs not only undermine the reliability of these models but also limit their use and raise serious concerns about misinformation and propaganda. In this work, we focus on hallucinated book and article references and present them as the "model organism" of language model hallucination research, due to their frequent and easy-to-discern nature. We posit that if a language model cites a particular reference in its output, then it should ideally possess sufficient information about its authors and content, among other relevant details. Using this basic insight, we illustrate that one can identify hallucinated references without ever consulting any external resources, by asking a set of direct or indirect queries to the language model about the references. These queries can be considered as "consistency checks." Our findings highlight that while LMs, including GPT-4, often produce inconsistent author lists for hallucinated references, they also often accurately recall the authors of real references. In this sense, the LM can be said to "know" when it is hallucinating references. Furthermore, these findings show how hallucinated references can be dissected to shed light on their nature. Replication code and results can be found at https://github.com/microsoft/hallucinated-references.

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

↑