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

通过结合大语言模型和小语言模型实现知识库补全与问答的联合处理

Joint Knowledge Base Completion and Question Answering by Combining Large Language Models and Small Language Models

School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院,沈阳,中国);National Frontiers Science Center for Industrial Intelligence and Systems optimization, Northeastern University, Shenyang, China(东北大学工业智能与系统优化国家级前沿科学中心,沈阳,中国)

Yinan Liu, Dongying Lin, Sigang Luo, Xiaochun Yang, Bin Wang

AI总结:

本文提出JCQL框架,结合大语言模型与小语言模型,通过迭代增强知识库补全与问答任务,提升两者性能。

摘要:

知识库(KBs)在各种应用中起关键作用。作为两个代表性的KB相关任务,知识库补全(KBC)和知识库问答(KBQA)密切相关且相互补充。因此,解决联合KBC和KBQA任务有助于相互促进。然而,现有研究通常依赖小语言模型(SLM)来增强它们,而忽略了大语言模型(LLM)的强大推理能力。本文通过结合LLM和SLM的优势,提出了一种新的框架JCQL,使这两个任务以迭代的方式相互增强。为了使KBC增强KBQA,我们通过将SLM训练的KBC模型作为代理的行动,增强LLM代理基于KBQA的推理路径,从而缓解KBQA中的LLM幻觉和高计算成本问题。为了使KBQA增强KBC,我们通过利用KBQA的推理路径作为补充训练数据,逐步微调KBC模型,提高SLM在KBC中的能力。在两个公开基准数据集上的广泛实验表明,JCQL在KBC和KBQA任务中均优于所有基线。

英文摘要:

Knowledge Bases (KBs) play a key role in various applications. As two representative KB-related tasks, knowledge base completion (KBC) and knowledge base question answering (KBQA) are closely related and inherently complementary with each other. Thus, it will be beneficial to solve the task of joint KBC and KBQA to make them reinforce each other. However, existing studies usually rely on the small language model (SLM) to enhance them jointly, and the large language model (LLM)'s strong reasoning ability is ignored. In this paper, by combining the strengths of the LLM with the SLM, we propose a novel framework JCQL, which can make these two tasks enhance each other in an iterative manner. To make KBC enhance KBQA, we augment the LLM agent-based KBQA model's reasoning paths by incorporating an SLM-trained KBC model as an action of the agent, alleviating the LLM's hallucination and high computational costs issue in KBQA. To make KBQA enhance KBC, we incrementally fine-tune the KBC model by leveraging KBQA's reasoning paths as its supplementary training data, improving the ability of the SLM in KBC. Extensive experiments over two public benchmark data sets demonstrate that JCQL surpasses all baselines for both KBC and KBQA tasks.

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

↑