Latent Space Energy-Based Model of Symbol-Vector Coupling for Text Generation and Classification

Bo Pang, Ying Nian Wu
8/26/2021
cs.LG

Official code: bpucla/ibebm (13 stars, OpenEdge ABL, last commit 2021-06-21).

Abstract

We propose a latent space energy-based prior model for text generation and classification. The model stands on a generator network that generates the text sequence based on a continuous latent vector.

Show full abstract

The energy term of the prior model couples a continuous latent vector and a symbolic one-hot vector, so that discrete category can be inferred from the observed example based on the continuous latent vector. Such a latent space coupling naturally enables incorporation of information bottleneck regularization to encourage the continuous latent vector to extract information from the observed example that is informative of the underlying category. In our learning method, the symbol-vector coupling, the generator network and the inference network are learned jointly. Our model can be learned in an unsupervised setting where no category labels are provided. It can also be learned in semi-supervised setting where category labels are provided for a subset of training examples. Our experiments demonstrate that the proposed model learns well-structured and meaningful latent space, which (1) guides the generator to generate text with high quality, diversity, and interpretability, and (2) effectively classifies text.

View on arXivView PDF

Code Implementations(1)

bpucla/ibebmOfficial100%
133OpenEdge ABL, RoffJun 2, 20215 years ago

Similar Papers

Cite this paper

@article{pang2021latent,
  title  = {Latent Space Energy-Based Model of Symbol-Vector Coupling for Text Generation and Classification},
  author = {Bo Pang and Ying Nian Wu},
  year   = {2021},
  eprint = {2108.11556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.11556}
}

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/2108.11556.svg)](https://codeofpaper.com/paper/2108.11556)

Discussion