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

再深一点!一种基于分层隐变量推理的变分Transformer文本生成算法

Fuse It More Deeply! A Variational Transformer with Layer-Wise Latent Variable Inference for Text Generation

Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Microsoft Research Asia(微软亚洲研究院)

Jinyi Hu, Xiaoyuan Yi, Wenhao Li, Maosong Sun, Xing Xie

摘要:

在过去的几年里,我们已经见证了变分自动编码器在各种文本生成任务中的优越性。然而,由于文本的顺序性质,自回归解码器倾向于忽略潜在变量,然后简化为简单的语言模型,称为KL消失问题,当VAE与基于转换器的结构相结合时,这将进一步恶化。为了改善这个问题,我们提出了DELLA,一个新的变分Transformer框架。DELLA学习一系列逐层潜变量,每个潜变量都是从较低层的潜变量中推断出来的,并通过低秩张量积与隐藏状态紧密耦合。通过这种方式,DELLA迫使这些后验潜变量与整个计算路径深度融合,从而包含更多的信息。我们从理论上证明,我们的方法可以被视为纠缠潜变量,以避免通过层后验信息减少,使DELLA得到更高的非零KL值,即使没有任何退火或阈值技巧。四个无条件和三个条件生成任务的实验表明,DELLA可以更好地缓解KL消失,提高质量和多样性相比,几个强基线。

英文摘要:

The past several years have witnessed Variational Auto-Encoder's superiority in various text generation tasks. However, due to the sequential nature of the text, auto-regressive decoders tend to ignore latent variables and then reduce to simple language models, known as the KL vanishing problem, which would further deteriorate when VAE is combined with Transformer-based structures. To ameliorate this problem, we propose DELLA, a novel variational Transformer framework. DELLA learns a series of layer-wise latent variables with each inferred from those of lower layers and tightly coupled with the hidden states by low-rank tensor product. In this way, DELLA forces these posterior latent variables to be fused deeply with the whole computation path and hence incorporate more information. We theoretically demonstrate that our method can be regarded as entangling latent variables to avoid posterior information decrease through layers, enabling DELLA to get higher non-zero KL values even without any annealing or thresholding tricks. Experiments on four unconditional and three conditional generation tasks show that DELLA could better alleviate KL vanishing and improve both quality and diversity compared to several strong baselines.

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

↑