Latent Template Induction with Gumbel-CRFs

Yao Fu, Chuanqi Tan, Bin Bi, Mosha Chen, Yansong Feng +1 more
11/29/2020
cs.CLcs.AIcs.LG

Official code: FranxYao/Gumbel-CRF (56 stars, Python, last commit 2020-12-01).

Abstract

Learning to control the structure of sentences is a challenging problem in text generation. Existing work either relies on simple deterministic approaches or RL-based hard structures.

Show full abstract

We explore the use of structured variational autoencoders to infer latent templates for sentence generation using a soft, continuous relaxation in order to utilize reparameterization for training. Specifically, we propose a Gumbel-CRF, a continuous relaxation of the CRF sampling algorithm using a relaxed Forward-Filtering Backward-Sampling (FFBS) approach. As a reparameterized gradient estimator, the Gumbel-CRF gives more stable gradients than score-function based estimators. As a structured inference network, we show that it learns interpretable templates during training, which allows us to control the decoder during testing. We demonstrate the effectiveness of our methods with experiments on data-to-text generation and unsupervised paraphrase generation.

View on arXivView PDF

Code Implementations(1)

Implementation of NeurIPS 20 paper: Latent Template Induction with Gumbel-CRFs

5610Python, MakefileOct 22, 20206 years ago
crfdata-to-textdeep-generative-modeldensity-estimationgenerative-model+4 more

Similar Papers

Cite this paper

@article{fu2020latent,
  title  = {Latent Template Induction with Gumbel-CRFs},
  author = {Yao Fu and Chuanqi Tan and Bin Bi and Mosha Chen and Yansong Feng and Alexander M. Rush},
  year   = {2020},
  eprint = {2011.14244},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.14244}
}

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

Discussion