KnowPrefix-Tuning: A Two-Stage Prefix-Tuning Framework for Knowledge-Grounded Dialogue Generation
Preprint
Abstract
Existing knowledge-grounded conversation systems generate responses typically in a retrieve-then-generate manner. They require a large knowledge base and a strong knowledge retrieval component, which is time- and resource-consuming. In this paper, we address the challenge by leveraging the inherent knowledge encoded in the pre-trained language models (PLMs). We propose Knowledgeable Prefix Tuning (KnowPrefix-Tuning), a two-stage tuning framework, bypassing the retrieval process in a knowledge-grounded conversation system by injecting prior knowledge into the lightweight knowledge prefix. The knowledge prefix is a sequence of continuous knowledge-specific vectors that can be learned during training. In addition, we propose a novel interactive re-parameterization mechanism that allows the prefix to interact fully with the PLM during the optimization of response generation. Experimental results demonstrate that KnowPrefix-Tuning outperforms fine-tuning and other lightweight tuning approaches, and performs comparably with strong retrieval-based baselines while being $3\times$ faster during inference.
Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Contrastive Learning Reduces Hallucination in ConversationsProceedings of the AAAI Conference on Artificial Intelligence, 2023
- Eliciting Knowledge from Large Pre-Trained Models for Unsupervised Knowledge-Grounded Conversation2022
- Learning to Express in Knowledge-Grounded Conversation2022
- Knowledge-Grounded Dialogue Generation with a Unified Knowledge Representation2022
- Multimodal Dialogue Response Generation2022
- Prompt-free and Efficient Few-shot Learning with Language Models2022
- PLATO-2: Towards Building an Open-Domain Chatbot via Curriculum Learning2021
- Prefix-Tuning: Optimizing Continuous Prompts for Generation2021
- Multilingual Denoising Pre-training for Neural Machine TranslationTransactions of the Association for Computational Linguistics, 2020
- Measuring nominal scale agreement among many raters.Psychological Bulletin, 1971