arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1712.08207cs.CL
收藏

序列到序列模型的变分注意力

Variational Attention for Sequence-to-Sequence Models

University of Waterloo(滑铁卢大学);AdeptMind Research(AdeptMind研究院)

Hareesh Bahuleyan, Lili Mou, Olga Vechtomova, Pascal Poupart

摘要:

变分编码器-解码器(VED)使用神经网络将源信息编码为一组随机变量,该随机变量又使用另一神经网络解码为目标数据。在自然语言处理中,序列到序列(Seq 2Seq)模型通常用作编码器-解码器网络。当与传统的(确定性的)注意力机制结合时,注意力模型可能会绕过变化的潜在空间,从而变得无效。在本文中,我们提出了一个可变的注意力机制的VED,其中的注意力向量也建模为高斯分布的随机变量。两个实验的结果表明,在不损失质量的情况下,我们提出的方法消除了旁路现象,因为它增加了生成的句子的多样性。

英文摘要:

The variational encoder-decoder (VED) encodes source information as a set of random variables using a neural network, which in turn is decoded into target data using another neural network. In natural language processing, sequence-to-sequence (Seq2Seq) models typically serve as encoder-decoder networks. When combined with a traditional (deterministic) attention mechanism, the variational latent space may be bypassed by the attention model, and thus becomes ineffective. In this paper, we propose a variational attention mechanism for VED, where the attention vector is also modeled as Gaussian distributed random variables. Results on two experiments show that, without loss of quality, our proposed method alleviates the bypassing phenomenon as it increases the diversity of generated sentences.

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

↑