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

KoRe: 为大型语言模型设计的紧凑知识表示

KoRe: Compact Knowledge Representations for Large Language Models

University of Trento(特伦托大学)

Davide Cavicchini, Fausto Giunchiglia, Jacopo Staiano

AI总结:

本文提出KoRe方法,通过将知识图谱的1跳子图编码为紧凑离散知识标记,并注入到LLM中,从而提升模型的知识推理能力并减少token使用量。

摘要:

现代大型语言模型(LLMs)在用户面对的任务如问答中表现出色,并在推理能力上持续改进。然而,这些模型编码知识的方式存在固有缺陷:通过设计,LLMs将世界知识存储在参数中。这种方式表示知识本质上是不透明的,难以调试和更新,且容易产生幻觉。另一方面,知识图谱可以提供人类可读且易于编辑的世界知识表示,并在知识密集型任务中持续证明对下游性能有益。然而,当前的整合技术需要大量的重新训练或微调。为了解决这个问题,我们引入KoRe,一种将1跳子图编码为紧凑离散知识标记并注入到LLM骨干中的方法。我们在三个已建立的基准上测试了所提出的方法,并报告了具有竞争力的表现,同时token使用量显著减少(最高减少10倍)。我们的结果表明,紧凑的离散KG表示可以有效地用于使现代LLM扎根。

英文摘要:

Modern Large Language Models (LLMs) have shown impressive performances in user-facing tasks such as question answering, as well as consistent improvements in reasoning capabilities. Still, the way these models encode knowledge seems inherently flawed: by design, LLMs encode world-knowledge within their parameters. This way of representing knowledge is inherently opaque, difficult to debug and update, and prone to hallucinations. On the other hand, Knowledge Graphs can provide human-readable and easily editable world knowledge representations, and their application in knowledge-intensive tasks has consistently proven beneficial to downstream performance. Nonetheless, current integration techniques require extensive retraining or finetuning. To overcome this issue, we introduce KoRe, a methodology to encode 1-hop sub-graphs into compact discrete knowledge tokens and inject them into a LLM backbone. We test the proposed approach on three established benchmarks, and report competitive performances coupled with a significant reduction (up to 10x) in token usage. Our results show that compact discrete KG representations can efficiently and effectively be used to ground modern LLMs.

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

↑