arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.07002cs.CLcs.AIcs.LG
收藏

用于无监督条件文本生成的矢量袋自动编码器

Bag-of-Vectors Autoencoders for Unsupervised Conditional Text Generation

Idiap Research Institute(伊迪亚普研究所);EPFL(洛桑联邦理工学院)

Florian Mai, James Henderson

摘要:

文本自动编码器通常用于无监督的条件文本生成,通过在潜在空间中应用映射将属性更改为所需的值。最近,Mai等人(2020)提出了Emb 2 Emb,这是一种在自动编码器的嵌入空间中学习这些映射的方法。然而,他们的方法仅限于具有单向量嵌入的自动编码器,这限制了可以保留多少信息。我们通过将他们的方法扩展到Bag-of-Vectors Autoencoders(BoV-AE)来解决这个问题,BoV-AE将文本编码为一个可变大小的矢量包,该矢量包随着文本的大小而增长,就像基于注意力的模型一样。这允许编码和重建比标准自动编码器长得多的文本。类似于传统的自动编码器,我们提出了正则化技术,便于学习潜在空间中有意义的操作。最后,我们调整Emb 2 Emb的训练方案,学习映射输入袋到输出袋,包括一个新的损失函数和神经架构。我们对无监督情感转移的经验评估表明,我们的方法比标准的自动编码器表现得更好。

英文摘要:

Text autoencoders are often used for unsupervised conditional text generation by applying mappings in the latent space to change attributes to the desired values. Recently, Mai et al. (2020) proposed Emb2Emb, a method to learn these mappings in the embedding space of an autoencoder. However, their method is restricted to autoencoders with a single-vector embedding, which limits how much information can be retained. We address this issue by extending their method to Bag-of-Vectors Autoencoders (BoV-AEs), which encode the text into a variable-size bag of vectors that grows with the size of the text, as in attention-based models. This allows to encode and reconstruct much longer texts than standard autoencoders. Analogous to conventional autoencoders, we propose regularization techniques that facilitate learning meaningful operations in the latent space. Finally, we adapt Emb2Emb for a training scheme that learns to map an input bag to an output bag, including a novel loss function and neural architecture. Our empirical evaluations on unsupervised sentiment transfer show that our method performs substantially better than a standard autoencoder.

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

↑