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

基于短时推理的生成式文本建模

Generative Text Modeling through Short Run Inference

UCLA(加州大学洛杉矶分校);Stevens Institute of Technology(史蒂文斯理工学院)

Bo Pang, Erik Nijkamp, Tian Han, Ying Nian Wu

摘要:

当训练成功时,文本的潜变量模型可以准确地对数据分布进行建模,并捕获句子的全局语义和句法特征。训练这种模型的主要方法是变分自编码器(VAE)。然而,它是具有挑战性的训练,并经常导致一个微不足道的局部最优值,其中潜在变量被忽略,其后崩溃到先验,一个问题被称为后崩溃。已经提出了各种技术来缓解这个问题。他们中的大多数集中在改进的推理模型,以产生更高质量的潜在代码。目前的工作提出了一个短期动力学推理。它是从潜在变量的先验分布初始化的,然后运行一个小的数字(例如,20)的Langevin动力学步骤的指导下,其后验分布。我们的方法的主要优点是,它不需要一个单独的推理模型或假设简单的几何后验分布,从而呈现一个自动的,自然的和灵活的推理引擎。我们发现,与强语言模型和VAE基线相比,用短期动态训练的模型更准确地对数据进行建模,并且没有表现出后崩溃的迹象。对潜在空间的分析表明,潜在空间中的插值能够生成具有平滑过渡的连贯句子,并在具有来自无监督预训练的潜在特征的强基线上展示出改进的分类。这些结果共同揭示了我们的生成模型的结构良好的潜在空间。

英文摘要:

Latent variable models for text, when trained successfully, accurately model the data distribution and capture global semantic and syntactic features of sentences. The prominent approach to train such models is variational autoencoders (VAE). It is nevertheless challenging to train and often results in a trivial local optimum where the latent variable is ignored and its posterior collapses into the prior, an issue known as posterior collapse. Various techniques have been proposed to mitigate this issue. Most of them focus on improving the inference model to yield latent codes of higher quality. The present work proposes a short run dynamics for inference. It is initialized from the prior distribution of the latent variable and then runs a small number (e.g., 20) of Langevin dynamics steps guided by its posterior distribution. The major advantage of our method is that it does not require a separate inference model or assume simple geometry of the posterior distribution, thus rendering an automatic, natural and flexible inference engine. We show that the models trained with short run dynamics more accurately model the data, compared to strong language model and VAE baselines, and exhibit no sign of posterior collapse. Analyses of the latent space show that interpolation in the latent space is able to generate coherent sentences with smooth transition and demonstrate improved classification over strong baselines with latent features from unsupervised pretraining. These results together expose a well-structured latent space of our generative model.

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

↑