KnowPrefix-Tuning:一种用于知识驱动对话生成的两阶段前缀微调框架
KnowPrefix-Tuning: A Two-Stage Prefix-Tuning Framework for Knowledge-Grounded Dialogue Generation
AI总结:
提出KnowPrefix-Tuning两阶段框架,通过向轻量级前缀注入先验知识绕过检索,并采用交互式重参数化机制,在知识驱动对话生成中实现优于微调且媲美检索基线的性能,推理速度提升3倍。
摘要:
现有的知识驱动对话系统通常以检索后生成的方式产生回复。它们需要庞大的知识库和强大的知识检索组件,这非常耗时且消耗资源。在本文中,我们通过利用预训练语言模型(PLMs)中编码的内在知识来应对这一挑战。我们提出了Knowledgeable Prefix Tuning(KnowPrefix-Tuning),这是一个两阶段微调框架,通过将先验知识注入轻量级知识前缀,绕过知识驱动对话系统中的检索过程。知识前缀是一系列连续的特定知识向量,可以在训练过程中学习。此外,我们提出了一种新颖的交互式重参数化机制,允许前缀在优化回复生成时与PLM充分交互。实验结果表明,KnowPrefix-Tuning优于微调和其他轻量级微调方法,并且与强大的基于检索的基线表现相当,同时在推理过程中快3倍。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。