arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.08975cs.CLcs.AI
收藏

ChatKBQA:一种面向知识库问答的采用微调大语言模型的生成再检索框架

ChatKBQA: A Generate-then-Retrieve Framework for Knowledge Base Question Answering with Fine-tuned Large Language Models

School of Computer Science, Beijing University of Posts and Telecommunications(北京邮电大学计算机学院);School of Artificial Intelligence, Beijing University of Posts and Telecommunications(北京邮电大学人工智能学院);Beijing Institute of Computer Technology and Application(北京计算机技术及应用研究所);Inspur Group Co., Ltd.(浪潮集团有限公司);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)

Haoran Luo, Haihong E, Zichen Tang, Shiyao Peng, Yikai Guo, Wentai Zhang, Chenghao Ma, Guanting Dong, Meina Song, Wei Lin, Yifan Zhu, Luu Anh Tuan

AI总结:

针对知识库问答中检索低效、检索误差影响解析及方法复杂的问题,提出ChatKBQA生成再检索框架,用微调LLM生成逻辑形式后无监督检索替换实体关系,在WebQSP、CWQ上达SOTA,为LLM与KG结合提供新范式。

摘要:

知识库问答(KBQA)旨在基于大规模知识库(KBs)回答自然语言问题,其流程可归纳为知识检索与语义解析两个关键步骤。然而,该领域仍存在三大核心挑战:知识检索效率低下、检索错误对语义解析产生负面影响、现有KBQA方法复杂度较高。为解决这些挑战,我们提出了ChatKBQA——一种新颖简洁的生成再检索KBQA框架:先通过微调大语言模型(LLMs)生成逻辑形式,再采用无监督检索方法对实体和关系进行检索与替换,从而更直接地同时优化生成与检索效果。实验结果表明,ChatKBQA在标准KBQA数据集WebQSP和CWQ上取得了新的最优(state-of-the-art)性能。本工作也可被视为大语言模型与知识图谱(KGs)结合以实现可解释、需知识支撑的问答任务的一种新范式,我们的代码已公开。

英文摘要:

Knowledge Base Question Answering (KBQA) aims to answer natural language questions over large-scale knowledge bases (KBs), which can be summarized into two crucial steps: knowledge retrieval and semantic parsing. However, three core challenges remain: inefficient knowledge retrieval, mistakes of retrieval adversely impacting semantic parsing, and the complexity of previous KBQA methods. To tackle these challenges, we introduce ChatKBQA, a novel and simple generate-then-retrieve KBQA framework, which proposes first generating the logical form with fine-tuned LLMs, then retrieving and replacing entities and relations with an unsupervised retrieval method, to improve both generation and retrieval more directly. Experimental results show that ChatKBQA achieves new state-of-the-art performance on standard KBQA datasets, WebQSP, and CWQ. This work can also be regarded as a new paradigm for combining LLMs with knowledge graphs (KGs) for interpretable and knowledge-required question answering. Our code is publicly available.

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

↑