arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.07085cs.CLcs.LG
收藏

通过错误信息理解大语言模型中的知识漂移

Understanding Knowledge Drift in LLMs through Misinformation

Technical University of Munich(慕尼黑工业大学)

Alina Fastowski, Gjergji Kasneci

AI总结:

本研究聚焦大语言模型接触错误信息引发的知识漂移问题,通过熵、困惑度等指标评估发现,错误信息会先提升模型答错时的不确定性,反复接触则会降低不确定性并扭曲知识,为提升模型可靠性提供参考。

摘要:

大语言模型(LLM)已为众多应用带来变革,成为数字生态系统中不可或缺的组成部分。然而,其可靠性至关重要,尤其是当这些模型接触到错误信息时。本研究主要分析前沿大语言模型在问答场景中遇到虚假信息时对事实偏差的易感性,该问题会引发我们所称的“知识漂移”现象,严重削弱这些模型的可信度。我们依托熵、困惑度和词元概率指标,评估模型回答的事实性与不确定性。实验表明,当大语言模型因接触虚假信息而答错问题时,其不确定性最高可提升56.6%。同时,反复接触同一虚假信息会再次降低模型的不确定性(相较于未受污染提示下的回答,不确定性下降52.8%),这可能会操控模型的底层信念,使其偏离原有知识。这些发现为理解大语言模型对对抗性输入的鲁棒性与脆弱性提供了洞见,为在各领域开发更可靠的大语言模型应用铺平了道路。相关代码可在https://github.com/afastowski/knowledge_drift获取。

英文摘要:

Large Language Models (LLMs) have revolutionized numerous applications, making them an integral part of our digital ecosystem. However, their reliability becomes critical, especially when these models are exposed to misinformation. We primarily analyze the susceptibility of state-of-the-art LLMs to factual inaccuracies when they encounter false information in a QnA scenario, an issue that can lead to a phenomenon we refer to as *knowledge drift*, which significantly undermines the trustworthiness of these models. We evaluate the factuality and the uncertainty of the models' responses relying on Entropy, Perplexity, and Token Probability metrics. Our experiments reveal that an LLM's uncertainty can increase up to 56.6% when the question is answered incorrectly due to the exposure to false information. At the same time, repeated exposure to the same false information can decrease the models uncertainty again (-52.8% w.r.t. the answers on the untainted prompts), potentially manipulating the underlying model's beliefs and introducing a drift from its original knowledge. These findings provide insights into LLMs' robustness and vulnerability to adversarial inputs, paving the way for developing more reliable LLM applications across various domains. The code is available at https://github.com/afastowski/knowledge_drift.

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

↑