Toward Controlled Generation of Text

Zhiting Hu, Zichao Yang, Xiaodan Liang, Ruslan Salakhutdinov, Eric P. Xing
3/2/2017
cs.LGcs.AIcs.CL

Official code: asyml/texar (2,390 stars, Apache-2.0, TensorFlow, last commit 2021-08-26).

Abstract

Generic generation and manipulation of text is challenging and has limited success compared to recent deep generative modeling in visual domain. This paper aims at generating plausible natural language sentences, whose attributes are dynamically controlled by learning disentangled latent representations with designated semantics. We propose a new neural generative model which combines variational auto-encoders and holistic attribute discriminators for effective imposition of semantic structures. With differentiable approximation to discrete text samples, explicit constraints on independent attribute controls, and efficient collaborative learning of generator and discriminators, our model learns highly interpretable representations from even only word annotations, and produces realistic sentences with desired attributes. Quantitative evaluation validates the accuracy of sentence and attribute generation.

View on arXivView PDF

Code Implementations(1)

asyml/texarOfficial100%
TensorFlowApache-2.0

Toolkit for Machine Learning, Natural Language Processing, and Text Generation, in TensorFlow. This is part of the CASL project: http://casl-project.ai/

2,390367Perl, ShellJul 22, 20175 years agoApache-2.0
bertcasl-projectdata-processingdeep-learningdialog-systems+10 more

Similar Papers

Cite this paper

@article{hu2017toward,
  title  = {Toward Controlled Generation of Text},
  author = {Zhiting Hu and Zichao Yang and Xiaodan Liang and Ruslan Salakhutdinov and Eric P. Xing},
  year   = {2017},
  eprint = {1703.00955},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1703.00955}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1703.00955.svg)](https://codeofpaper.com/paper/1703.00955)

Discussion