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

MQuAKE:通过多跳问题评估语言模型中的知识编辑

MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questions

Princeton University(普林斯顿大学);Stanford University(斯坦福大学)

Zexuan Zhong, Zhengxuan Wu, Christopher D. Manning, Christopher Potts, Danqi Chen

AI总结:

本文提出MQuAKE多跳问答基准以评估知识编辑引发的连锁信念更新,并设计基于外部记忆与迭代提示的MeLLo方法,显著提升LLM在多跳问题上的编辑一致性。

摘要:

大型语言模型(LLM)中存储的信息会很快过时,而从头开始重新训练通常并不可行。这最近催生了一系列通过更新模型权重来注入新事实的技术。当前的评估范式极其有限,主要验证对已编辑事实的回忆,但改变一个事实应当引发模型相关信念的连锁变化。如果我们将英国首相编辑为现在是Rishi Sunak,那么对于“谁与英国首相结婚?”这一问题,我们应当得到不同的答案。在本文中,我们提出了一个名为MQuAKE(Multi-hop Question Answering for Knowledge Editing,面向知识编辑的多跳问答)的基准,其中包含多跳问题,用于评估经过编辑的模型能否正确回答那些答案应作为已编辑事实的必然推论而发生改变的问题。尽管我们发现当前的知识编辑方法能够准确回忆已编辑事实,但它们在构造出的多跳问题上会遭遇灾难性失败。因此,我们提出了一种简单的基于记忆的方法MeLLo,该方法将所有已编辑事实外部存储,同时迭代地提示语言模型生成与已编辑事实一致的答案。尽管MQuAKE仍具挑战性,但我们表明MeLLo能够随LLM(例如OpenAI GPT-3.5-turbo)良好扩展,并大幅优于以往的模型编辑器。

英文摘要:

The information stored in large language models (LLMs) falls out of date quickly, and retraining from scratch is often not an option. This has recently given rise to a range of techniques for injecting new facts through updating model weights. Current evaluation paradigms are extremely limited, mainly validating the recall of edited facts, but changing one fact should cause rippling changes to the model's related beliefs. If we edit the UK Prime Minister to now be Rishi Sunak, then we should get a different answer to Who is married to the British Prime Minister? In this work, we present a benchmark, MQuAKE (Multi-hop Question Answering for Knowledge Editing), comprising multi-hop questions that assess whether edited models correctly answer questions where the answer should change as an entailed consequence of edited facts. While we find that current knowledge-editing approaches can recall edited facts accurately, they fail catastrophically on the constructed multi-hop questions. We thus propose a simple memory-based approach, MeLLo, which stores all edited facts externally while prompting the language model iteratively to generate answers that are consistent with the edited facts. While MQuAKE remains challenging, we show that MeLLo scales well with LLMs (e.g., OpenAI GPT-3.5-turbo) and outperforms previous model editors by a large margin.

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

↑