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

Knowledge Card:用插件式专用语言模型填补LLM的知识空白

Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Models

University of Washington(华盛顿大学);Carnegie Mellon University(卡内基梅隆大学)

Shangbin Feng, Weijia Shi, Yuyang Bai, Vidhisha Balachandran, Tianxing He, Yulia Tsvetkov

AI总结:

提出模块化框架 Knowledge Card,通过插件式专用语言模型生成背景知识,并利用内容选择器与互补集成方法增强基座 LLM,在六个基准上达到 SOTA,实现动态知识更新。

摘要:

从设计上看,大语言模型(LLM)是静态的通用模型,频繁重新训练或更新的成本很高。随着它们越来越多地被用于知识密集型任务,这些设计选择导致无法生成事实性、相关性和最新的知识。为此,我们提出 Knowledge Card,一种将新的事实性和相关性知识插入通用 LLM 的模块化框架。我们首先引入 knowledge cards——在特定领域和来源的语料库上训练的专用语言模型。Knowledge cards 作为参数化存储库,在推理时被选择用于为基座 LLM 生成背景知识。然后,我们提出三个内容选择器,动态选择和保留 knowledge cards 生成的文档中的信息,具体控制输出的相关性、简洁性和事实性。最后,我们提出两种互补的集成方法,用从专用 LM 中整理的(相关的、事实性的)知识来增强基座 LLM。通过大量实验,我们证明 Knowledge Card 在六个基准数据集上实现了最先进的性能。最终,Knowledge Card 框架实现了来自不同领域知识的动态合成和更新。其模块化将确保相关知识能够通过研究界的共同努力不断更新。

英文摘要:

By design, large language models (LLMs) are static general-purpose models, expensive to retrain or update frequently. As they are increasingly adopted for knowledge-intensive tasks, it becomes evident that these design choices lead to failures to generate factual, relevant, and up-to-date knowledge. To this end, we propose Knowledge Card, a modular framework to plug in new factual and relevant knowledge into general-purpose LLMs. We first introduce knowledge cards -- specialized language models trained on corpora from specific domains and sources. Knowledge cards serve as parametric repositories that are selected at inference time to generate background knowledge for the base LLM. We then propose three content selectors to dynamically select and retain information in documents generated by knowledge cards, specifically controlling for relevance, brevity, and factuality of outputs. Finally, we propose two complementary integration approaches to augment the base LLM with the (relevant, factual) knowledge curated from the specialized LMs. Through extensive experiments, we demonstrate that Knowledge Card achieves state-of-the-art performance on six benchmark datasets. Ultimately, Knowledge Card framework enables dynamic synthesis and updates of knowledge from diverse domains. Its modularity will ensure that relevant knowledge can be continuously updated through the collective efforts of the research community.

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

↑