Learning Rhyming Constraints using Structured Adversaries

Harsh Jhamtani, Sanket Vaibhav Mehta, Jaime Carbonell, Taylor Berg-Kirkpatrick
9/15/2019
cs.CLcs.LG

Official code: harsh19/Structured-Adversary (11 stars, Python, last commit 2020-03-17).

Abstract

Existing recurrent neural language models often fail to capture higher-level structure present in text: for example, rhyming patterns present in poetry. Much prior work on poetry generation uses manually defined constraints which are satisfied during decoding using either specialized decoding procedures or rejection sampling.

Show full abstract

The rhyming constraints themselves are typically not learned by the generator. We propose an alternate approach that uses a structured discriminator to learn a poetry generator that directly captures rhyming constraints in a generative adversarial setup. By causing the discriminator to compare poems based only on a learned similarity matrix of pairs of line ending words, the proposed approach is able to successfully learn rhyming patterns in two different English poetry datasets (Sonnet and Limerick) without explicitly being provided with any phonetic information.

View on arXivView PDF

Code Implementations(1)

"Learning Rhyming Constraints using Structured Adversaries. Jhamtani H., Mehta S., Carbonell J., Berg-Kirkpatrick T. EMNLP-IJCNLP (Short paper) 2019"

115PythonSep 7, 20196 years ago
learning-rhyming-constraintslimerickspoetrysonnetstructured-adversaries

Similar Papers

Cite this paper

@article{jhamtani2019learning,
  title  = {Learning Rhyming Constraints using Structured Adversaries},
  author = {Harsh Jhamtani and Sanket Vaibhav Mehta and Jaime Carbonell and Taylor Berg-Kirkpatrick},
  year   = {2019},
  eprint = {1909.06743},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.06743}
}

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

Discussion