Dior-CVAE:用于变分对话生成的预训练语言模型与扩散先验
Dior-CVAE: Pre-trained Language Models and Diffusion Priors for Variational Dialog Generation
AI总结:
针对变分对话模型中高斯先验不兼容及后验崩溃问题,提出带扩散先验的分层CVAE模型Dior-CVAE,通过扩散模型增强先验兼容性并引入记忆丢弃机制,无需大规模预训练即可提升回复多样性。
摘要:
当前的变分对话模型采用了预训练语言模型(PLMs)来参数化似然和后验分布。然而,对先验分布做出的高斯假设与这些分布不兼容,从而限制了生成回复的多样性。这些模型还存在后验崩溃问题,即解码器倾向于忽略潜变量,并通过交叉注意力机制直接访问编码器中捕获的信息。在这项工作中,我们提出了 Dior-CVAE,一种带有扩散先验的分层条件变分自编码器(CVAE)来解决这些挑战。我们采用扩散模型来增加先验分布的复杂性及其与 PLM 产生的分布的兼容性。此外,我们针对交叉注意力机制提出了记忆丢弃,积极鼓励在回复生成中使用潜变量。总体而言,在两个常用的开放域对话数据集上的实验表明,我们的方法无需大规模对话预训练即可生成更多样化的回复。代码可在 https://github.com/UKPLab/dior-cvae 获取。
英文摘要:
Current variational dialog models have employed pre-trained language models (PLMs) to parameterize the likelihood and posterior distributions. However, the Gaussian assumption made on the prior distribution is incompatible with these distributions, thus restricting the diversity of generated responses. These models also suffer from posterior collapse, i.e., the decoder tends to ignore latent variables and directly access information captured in the encoder through the cross-attention mechanism. In this work, we propose Dior-CVAE, a hierarchical conditional variational autoencoder (CVAE) with diffusion priors to address these challenges. We employ a diffusion model to increase the complexity of the prior distribution and its compatibility with the distributions produced by a PLM. Also, we propose memory dropout to the cross-attention mechanism, which actively encourages the use of latent variables for response generation. Overall, experiments across two commonly used open-domain dialog datasets show that our method can generate more diverse responses without large-scale dialog pre-training. Code is available at https://github.com/UKPLab/dior-cvae.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。