SGSH:利用骨架启发式刺激大语言模型进行知识库问题生成
SGSH: Stimulate Large Language Models with Skeleton Heuristics for Knowledge Base Question Generation
AI总结:
本文提出SGSH框架,通过自动构建骨架训练数据集并训练BART模型生成骨架启发式,将其编码到提示中刺激GPT-3.5,从而在知识库问题生成任务上取得最先进性能。
摘要:
知识库问题生成(KBQG)旨在从知识库中提取的一组三元组事实生成自然语言问题。得益于丰富的语义知识,现有方法通过预训练语言模型(PLMs)显著提升了KBQG的性能。随着预训练技术的进步,大语言模型(LLMs)(如GPT-3.5)无疑拥有更多的语义知识。因此,如何有效组织和利用这些丰富的知识进行KBQG成为我们研究的重点。在这项工作中,我们提出了SGSH——一个简单有效的框架,利用骨架启发式刺激GPT-3.5以增强KBQG。该框架融入了“骨架启发式”,为每个输入提供更细粒度的指导,以刺激LLMs生成最优问题,涵盖问题短语和助动词等基本要素。更具体地说,我们设计了一种利用ChatGPT构建骨架训练数据集的自动数据构建策略,并基于该数据集采用软提示方法训练一个专门用于生成每个输入对应骨架的BART模型。随后,将骨架启发式编码到提示中,以激励GPT-3.5生成所需的问题。大量实验表明,SGSH在KBQG任务上取得了新的最先进性能。
英文摘要:
Knowledge base question generation (KBQG) aims to generate natural language questions from a set of triplet facts extracted from KB. Existing methods have significantly boosted the performance of KBQG via pre-trained language models (PLMs) thanks to the richly endowed semantic knowledge. With the advance of pre-training techniques, large language models (LLMs) (e.g., GPT-3.5) undoubtedly possess much more semantic knowledge. Therefore, how to effectively organize and exploit the abundant knowledge for KBQG becomes the focus of our study. In this work, we propose SGSH--a simple and effective framework to Stimulate GPT-3.5 with Skeleton Heuristics to enhance KBQG. The framework incorporates "skeleton heuristics", which provides more fine-grained guidance associated with each input to stimulate LLMs to generate optimal questions, encompassing essential elements like the question phrase and the auxiliary verb.More specifically, we devise an automatic data construction strategy leveraging ChatGPT to construct a skeleton training dataset, based on which we employ a soft prompting approach to train a BART model dedicated to generating the skeleton associated with each input. Subsequently, skeleton heuristics are encoded into the prompt to incentivize GPT-3.5 to generate desired questions. Extensive experiments demonstrate that SGSH derives the new state-of-the-art performance on the KBQG tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。