Large Language Models~(LLMs) struggle with providing current information due to the outdated pre-training data. Existing methods for updating LLMs, such as knowledge editing and continual fine-tuning, have significant drawbacks in generalizability of new information and the requirements on structured updating corpus. We identify the core challenge behind these drawbacks: the LM-logical discrepancy featuring the difference between language modeling probabilities and logical probabilities. To evaluate and address the core challenge, we propose a new task formulation of the information updating task that only requires the provision of an unstructured updating corpus and evaluates the performance of information updating on the generalizability to question-answer pairs pertaining to the updating information. We further propose a novel and effective pipeline approach for the task, highlighting a self-prompting-based question-answer generation process and a associative distillation methods to bridge the LM-logical discrepancy. We develop two datasets for evaluation, one sourced from news articles published in March and April 2023, and the other from the Natural Questions benchmark. Experimental results demonstrate the superiority of our approach, significantly increasing the factual consistency score (on a scale from 0 to 1) by up to 0.16. Furthermore, our method effectively mitigates forgetting utilizing a compact replay buffer with only 2.3% of the training tokens.
翻译:大型语言模型(LLM)因预训练数据过时而难以提供最新信息。现有的知识编辑和持续微调等LLM更新方法,在新信息的泛化性和对结构化更新语料库的要求方面存在明显缺陷。我们识别出这些缺陷背后的核心挑战:语言模型概率与逻辑概率之间的差异——即语言模型-逻辑不一致性。为评估并解决这一核心挑战,我们提出了一种新的信息更新任务形式,该任务仅需提供非结构化更新语料库,并通过更新信息相关问答对的泛化性能来评估信息更新效果。我们进一步提出了一种新颖且高效的任务流水线方法,重点包括基于自提示的问答生成过程,以及一种关联蒸馏方法以弥合语言模型-逻辑不一致性。我们构建了两个评估数据集:一个源自2023年3月至4月发布的新闻文章,另一个来自Natural Questions基准测试。实验结果表明,我们的方法具有优越性,将事实一致性评分(0到1尺度)最多提升了0.16。此外,我们的方法通过仅使用2.3%训练令牌的紧凑重放缓冲区,有效缓解了遗忘问题。