arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2111.02643cs.CL
收藏

基于上下文感知的即时学习的响应生成

Response Generation with Context-Aware Prompt Learning

School of Software, Shanghai Jiao Tong University(上海交通大学软件学院);NAVER AI Lab(NAVER AI实验室)

Xiaodong Gu, Kang Min Yoo, Sang-Woo Lee

摘要:

预训练的语言模型(PLM)标志着神经对话建模的巨大飞跃。虽然PLM是在大规模文本语料库上进行预训练的,但它们通常是在具有特定领域知识和对话风格的稀缺对话数据上进行微调的。然而,定制语言模型,同时充分利用大型预训练模型中的先验知识仍然是一个挑战。在本文中,我们提出了一种新的预训练对话建模方法,该方法将对话生成问题作为一个自动学习任务。我们的方法DialogPrompt不是对有限的对话数据进行微调,而是学习针对对话上下文进行优化的连续提示嵌入,从而适当地从大型预训练模型中获取知识。为了鼓励模型更好地利用提示嵌入,提示编码器被设计为基于对话上下文动态生成。流行的会话数据集上的实验表明,我们的方法显着优于微调基线和通用的学习方法。此外,人类的评价强烈支持对话提示在响应生成质量方面的优越性。

英文摘要:

Pre-trained language models (PLM) have marked a huge leap in neural dialogue modeling. While PLMs are pre-trained on large-scale text corpora, they are usually fine-tuned on scarce dialogue data with specific domain knowledge and dialogue styles. However, tailoring the language models while fully utilizing prior knowledge in large pre-trained models remains a challenge. In this paper, we present a novel approach for pre-trained dialogue modeling that casts the dialogue generation problem as a prompt-learning task. Instead of fine-tuning on limited dialogue data, our approach, DialogPrompt, learns continuous prompt embeddings optimized for dialogue contexts, which appropriately elicit knowledge from the large pre-trained model. To encourage the model to better utilize the prompt embeddings, the prompt encoders are designed to be dynamically generated based on the dialogue context. Experiments on popular conversation datasets show that our approach significantly outperforms the fine-tuning baseline and the generic prompt-learning methods. Furthermore, human evaluations strongly support the superiority of DialogPrompt in regard to response generation quality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑