Fine-grained Sentiment Controlled Text Generation
arXiv:2006.09891
Abstract
Controlled text generation techniques aim to regulate specific attributes (e.g. sentiment) while preserving the attribute independent content. The state-of-the-art approaches model the specified attribute as a structured or discrete representation while making the content representation independent of it to achieve a better control. However, disentangling the text representation into separate latent spaces overlooks complex dependencies between content and attribute, leading to generation of poorly constructed and not so meaningful sentences. Moreover, such an approach fails to provide a finer control on the degree of attribute change. To address these problems of controlled text generation, in this paper, we propose DE-VAE, a hierarchical framework which captures both information enriched entangled representation and attribute specific disentangled representation in different hierarchies. DE-VAE achieves better control of sentiment as an attribute while preserving the content by learning a suitable lossless transformation network from the disentangled sentiment space to the desired entangled representation. Through feature supervision on a single dimension of the disentangled representation, DE-VAE maps the variation of sentiment to a continuous space which helps in smoothly regulating sentiment from positive to negative and vice versa. Detailed experiments on three publicly available review datasets show the superiority of DE-VAE over recent state-of-the-art approaches.
References in corpus (10)
- Sequence to Sequence Learning with Neural Networks
- Density estimation using Real NVP
- Disentangling by Factorising
- Well-Read Students Learn Better: On the Importance of Pre-training Compact Models
- Style Transfer as Unsupervised Machine Translation
- Content preserving text generation with attribute controls
- Adversarial Evaluation of Dialogue Models
- Adversarially Regularized Autoencoders
- Sentiment Transfer using Seq2Seq Adversarial Autoencoders
- SHAPED: Shared-Private Encoder-Decoder for Text Style Adaptation