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

KARLA:基于知识库增强的语言模型检索

KARLA: Knowledge-base Augmented Retrieval for Language Models

Francois Crespin, Fabian M. Suchanek, Nils Holzenberger

AI总结:

提出一种新方法,使LLM在生成过程中自动从知识库提取事实知识,支持知识更新、可追溯性和小模型的高事实准确性。

摘要:

我们提出了一种新方法,允许LLM在令牌生成过程中自动从知识库中提取事实知识。这意味着(1)LLM输出中的事实知识可以在不重新训练LLM的情况下更新,(2)LLM输出中的事实可以追溯到知识库,以实现透明性和可解释性,以及(3)较小的模型可以达到与较大模型相同的事实准确性。我们的核心思想是训练模型生成特殊令牌,触发对知识库的查询。我们的实验表明,我们的方法在短文本和长文本生成中都提高了事实基础,并允许通过知识库编辑而不是参数更新来实现事实修订。

英文摘要:

We propose a new method that allows an LLM to automatically pull in factual knowledge from a knowledge base during token generation. This means that (1)~factual knowledge in the LLM output can be updated without retraining the LLM, (2)~facts in the LLM output can be traced to the knowledge base for transparency and explainability, and (3)~smaller models can achieve the same factual accuracy as larger models. Our core idea is to train the model to produce special tokens that trigger a query to the knowledge base. Our experiments show that our method improves factual grounding in both short and long-form generation, and allows factual revisions to take effect through KB edits rather than parameter updates.

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

↑