paper-with-me

홈 › Papers

Natural Language Generation with Neural Variational Models

2018-08-27 · Hareesh Bahuleyan

In this thesis, we explore the use of deep neural networks for generation of natural language. Specifically, we implement two sequence-to-sequence neural variational models - variational autoencoders (VAE) and variational encoder-decoders (VED). VAEs for text generation are difficult to train due to issues associated with the Kullback-Leibler (KL) divergence term of the loss function vanishing to zero. We successfully train VAEs by implementing optimization heuristics such as KL weight annealing and word dropout. We also demonstrate the effectiveness of this continuous latent space through experiments such as random sampling, linear interpolation and sampling from the neighborhood of the input. We argue that if VAEs are not designed appropriately, it may lead to bypassing connections which results in the latent space being ignored during training. We show experimentally with the example of decoder hidden state initialization that such bypassing connections degrade the VAE into a deterministic model, thereby reducing the diversity of generated sentences. We discover that the traditional attention mechanism used in sequence-to-sequence VED models serves as a bypassing connection, thereby deteriorating the model's latent space. In order to circumvent this issue, we propose the variational attention mechanism where the attention context vector is modeled as a random variable that can be sampled from a distribution. We show empirically using automatic evaluation metrics, namely entropy and distinct measures, that our variational attention model generates more diverse output sentences than the deterministic attention model. A qualitative analysis with human evaluation study proves that our model simultaneously produces sentences that are of high quality and equally fluent as the ones generated by the deterministic attention counterpart.

📄 PDF Abstract BibTeX arXiv:1808.09012

Code (1)

HareeshBahuleyan/tf-var-attention 공식 구현 tf

Tasks

Text Generation

Similar Papers 제목 키워드 기반

Implicit Deep Latent Variable Models for Text Generation

2019-08-30 · IJCNLP 2019 11 · Le Fang, Chunyuan Li, Jianfeng Gao, Wen Dong 외

Deep latent variable models (LVM) such as variational auto-encoder (VAE) have recently played an important role in text generation. One key factor is the exploitation of smooth latent structures to guide the generation. …

Language ModelingLanguage ModellingResponse GenerationStyle Transfer+1

Composed Variational Natural Language Generation for Few-shot Intents

2020-09-21 · Findings of the Association for Computational Linguistics 2020 · Congying Xia, Caiming Xiong, Philip Yu, Richard Socher

In this paper, we focus on generating training examples for few-shot intents in the realistic imbalanced scenario. To build connections between existing many-shot intents and few-shot intents, we consider an intent as a …

Intent DetectionText Generation

Variational Cross-domain Natural Language Generation for Spoken Dialogue Systems

2018-12-20 · WS 2018 7 · Bo-Hsiang Tseng, Florian Kreyssig, Pawel Budzianowski, Inigo Casanueva 외

Cross-domain natural language generation (NLG) is still a difficult task within spoken dialogue modelling. Given a semantic representation provided by the dialogue manager, the language generator should generate sentence…

DiversitySentenceSpoken Dialogue SystemsText Generation

Dual Latent Variable Model for Low-Resource Natural Language Generation in Dialogue Systems

2018-11-10 · CONLL 2018 10 · Van-Khanh Tran, Le-Minh Nguyen

Recent deep learning models have shown improving results to natural language generation (NLG) irrespective of providing sufficient annotated data. However, a modest training data may harm such models performance. Thus, h…

DecoderText GenerationVariational Inference

Piecewise Latent Variables for Neural Variational Text Processing

2016-12-01 · EMNLP (ACL) 2017 9 · Iulian V. Serban, Alexander G. Ororbia II, Joelle Pineau, Aaron Courville

Advances in neural variational inference have facilitated the learning of powerful directed graphical models with continuous latent variables, such as variational autoencoders. The hope is that such models will learn to …

Text GenerationVariational Inference