Search papers, labs, and topics across Lattice.
This paper introduces JCQL, a framework that iteratively enhances Knowledge Base Completion (KBC) and Knowledge Base Question Answering (KBQA) by combining Large Language Models (LLMs) and Small Language Models (SLMs). KBC enhances KBQA by incorporating an SLM-trained KBC model as an action within the LLM agent's reasoning paths, while KBQA enhances KBC by fine-tuning the SLM-based KBC model with reasoning paths generated by the LLM-based KBQA. Experiments on benchmark datasets demonstrate that JCQL outperforms existing methods for both KBC and KBQA.
LLMs can be made more effective at KBQA by strategically incorporating SLM-based KBC models into their reasoning process, and vice versa.
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.