arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.14763cs.CLcs.AI
收藏

一种面向知识库问答泛化能力的先学习后推理模型

A Learn-Then-Reason Model Towards Generalization in Knowledge Base Question Answering

Renmin University of China(中国人民大学);Zhongguancun Laboratory(中关村实验室)

Lingxi Zhang, Jing Zhang, Yanling Wang, Cuiping Li, Hong Chen

AI总结:

针对现有知识库问答模型泛化受限的问题,本文提出遵循先学习后推理框架的KBLLaMA,将知识库知识注入大语言模型,在多个基准上取得了优于基线的性能。

摘要:

Freebase、Wikidata等大规模知识库(KB)存储了数百万条结构化知识。知识库问答(KBQA)提供了一种用户友好的方式,让用户可以通过提出自然语言问题来访问这些宝贵的知识库。为了提升KBQA模型的泛化能力,大量研究采用检索-然后-推理框架,检索相关证据用于生成逻辑表达式。这些多阶段的研究工作优先考虑获取外部资源,却忽略了将新知识整合到模型参数中。实际上,即便是先进的语言模型和检索器也存在知识边界,这限制了以往KBQA模型的泛化能力。因此,本文提出了KBLLaMA,它遵循先学习后推理的框架,将新的KB知识注入大语言模型,实现灵活的端到端KBQA。KBLLaMA的核心研究内容包括两点:(1)如何组织与KBQA相关的新知识;(2)如何促进对已组织知识的学习。在多种KBQA泛化任务上开展的大量实验表明,KBLLaMA取得了当前最优性能。尤其是在通用基准GrailQA和特定领域基准Bio-chemical上,与基线模型相比,KBLLaMA的性能提升分别高达3.8%和9.8%。

英文摘要:

Large-scale knowledge bases (KBs) like Freebase and Wikidata house millions of structured knowledge. Knowledge Base Question Answering (KBQA) provides a user-friendly way to access these valuable KBs via asking natural language questions. In order to improve the generalization capabilities of KBQA models, extensive research has embraced a retrieve-then-reason framework to retrieve relevant evidence for logical expression generation. These multi-stage efforts prioritize acquiring external sources but overlook the incorporation of new knowledge into their model parameters. In effect, even advanced language models and retrievers have knowledge boundaries, thereby limiting the generalization capabilities of previous KBQA models. Therefore, this paper develops KBLLaMA, which follows a learn-then-reason framework to inject new KB knowledge into a large language model for flexible end-to-end KBQA. At the core of KBLLaMA, we study (1) how to organize new knowledge about KBQA and (2) how to facilitate the learning of the organized knowledge. Extensive experiments on various KBQA generalization tasks showcase the state-of-the-art performance of KBLLaMA. Especially on the general benchmark GrailQA and domain-specific benchmark Bio-chemical, KBLLaMA respectively derives a performance gain of up to 3.8% and 9.8% compared to the baselines.

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

↑