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

用于文本生成的逆向训练的归一化噪声特征自动编码器

Adversarially-Trained Normalized Noisy-Feature Auto-Encoder for Text Generation

Courant Institute of Mathematical Sciences, New York University(纽约大学柯朗数学科学研究所);Element AI(Element AI公司);Center for Data Science, New York University(纽约大学数据科学中心);Facebook AI Research, Facebook Inc.(Facebook公司Facebook人工智能研究院)

Xiang Zhang, Yann LeCun

摘要:

本文提出了用于字节级文本生成的逆向训练的归一化噪声特征自动编码器(ATNNFAE)。ATNNFAE由一个自动编码器组成,其中内部代码在单位球上进行归一化,并被加性噪声破坏。同时,解码器的复制品(与AE解码器共享相同的参数)用作生成器并被馈送随机潜在向量。训练对抗性递归以区分从AE重构的训练样本与通过随机输入生成器产生的样本,使得整个生成器递归路径对于类似文本的离散数据是可微分的。代码中的噪声注入以及解码器和生成器之间的共享权重的组合效果可以防止GANs中常见的模式崩溃现象。由于困惑不能适用于非顺序文本生成,我们提出了一种新的评估方法,使用总方差的哈希编码的字节级n-gram(NGTVD)的频率之间的距离。NGTVD是一个单一的基准,可以表征生成的文本的质量和多样性。在阿拉伯语、汉语和英语的6个大规模数据集上进行了实验,并与n-gram基线和递归神经网络(RNNs)进行了比较。对噪声水平和噪声进行了消融研究。我们发现RNN在与n-gram基线竞争时遇到了麻烦,而ATNNFAE的结果通常具有竞争力。

英文摘要:

This article proposes Adversarially-Trained Normalized Noisy-Feature Auto-Encoder (ATNNFAE) for byte-level text generation. An ATNNFAE consists of an auto-encoder where the internal code is normalized on the unit sphere and corrupted by additive noise. Simultaneously, a replica of the decoder (sharing the same parameters as the AE decoder) is used as the generator and fed with random latent vectors. An adversarial discriminator is trained to distinguish training samples reconstructed from the AE from samples produced through the random-input generator, making the entire generator-discriminator path differentiable for discrete data like text. The combined effect of noise injection in the code and shared weights between the decoder and the generator can prevent the mode collapsing phenomenon commonly observed in GANs. Since perplexity cannot be applied to non-sequential text generation, we propose a new evaluation method using the total variance distance between frequencies of hash-coded byte-level n-grams (NGTVD). NGTVD is a single benchmark that can characterize both the quality and the diversity of the generated texts. Experiments are offered in 6 large-scale datasets in Arabic, Chinese and English, with comparisons against n-gram baselines and recurrent neural networks (RNNs). Ablation study on both the noise level and the discriminator is performed. We find that RNNs have trouble competing with the n-gram baselines, and the ATNNFAE results are generally competitive.

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

↑