Prompting is not Enough: Exploring Knowledge Integration and Controllable Generation
Tingjia Shen, Hao Wang, Chuan Qin, Ruijun Sun, Yang Song, Defu Lian, Hengshu Zhu, Enhong Chen
TL;DR
GenKI tackles open-domain question answering by separating knowledge integration from output formatting. It consists of a three-stage pipeline: dense passage retrieval, knowledge integration via a joint autoregressive and instruction-tuning objective using retrieved knowledge, and controllable generation with a reward-based ensemble to match target formats. Across TriviaQA, MSMARCO, and CMRC-2018, GenKI achieves state-of-the-art or strong baselines performance, and ablations reveal a linear relationship between retrieval quality and knowledge recall up to model-size bottlenecks. The framework demonstrates robustness when the full knowledge base is unavailable and adapts to multiple answer formats, highlighting its practical impact for reliable, format-consistent OpenQA with LLMs.
Abstract
Open-domain question answering (OpenQA) represents a cornerstone in natural language processing (NLP), primarily focused on extracting answers from unstructured textual data. With the rapid advancements in Large Language Models (LLMs), LLM-based OpenQA methods have reaped the benefits of emergent understanding and answering capabilities enabled by massive parameters compared to traditional methods. However, most of these methods encounter two critical challenges: how to integrate knowledge into LLMs effectively and how to adaptively generate results with specific answer formats for various task situations. To address these challenges, we propose a novel framework named GenKI, which aims to improve the OpenQA performance by exploring Knowledge Integration and controllable Generation on LLMs simultaneously. Specifically, we first train a dense passage retrieval model to retrieve associated knowledge from a given knowledge base. Subsequently, we introduce a novel knowledge integration model that incorporates the retrieval knowledge into instructions during fine-tuning to intensify the model. Furthermore, to enable controllable generation in LLMs, we leverage a certain fine-tuned LLM and an ensemble based on text consistency incorporating all coherence, fluency, and answer format assurance. Finally, extensive experiments conducted on the TriviaQA, MSMARCO, and CMRC2018 datasets, featuring diverse answer formats, have demonstrated the effectiveness of GenKI with comparison of state-of-the-art baselines. Moreover, ablation studies have disclosed a linear relationship between the frequency of retrieved knowledge and the model's ability to recall knowledge accurately against the ground truth. Our code of GenKI is available at https://github.com/USTC-StarTeam/GenKI
