Zero-shot Sonnet Generation with Discourse-level Planning and Aesthetics Features

Yufei Tian, Nanyun Peng
5/3/2022
cs.CLcs.AIcs.LG

Official code: PlusLabNLP/Sonnet-Gen (8 stars, Python, last commit 2023-05-25).

Abstract

Poetry generation, and creative language generation in general, usually suffers from the lack of large training data. In this paper, we present a novel framework to generate sonnets that does not require training on poems.

Show full abstract

We design a hierarchical framework which plans the poem sketch before decoding. Specifically, a content planning module is trained on non-poetic texts to obtain discourse-level coherence; then a rhyme module generates rhyme words and a polishing module introduces imagery and similes for aesthetics purposes. Finally, we design a constrained decoding algorithm to impose the meter-and-rhyme constraint of the generated sonnets. Automatic and human evaluation show that our multi-stage approach without training on poem corpora generates more coherent, poetic, and creative sonnets than several strong baselines.

View on arXivView PDF

Code Implementations(1)

To appear at NAACL 2022: zero-shot sonnet generation

81Python, Jupyter NotebookApr 19, 20223 years ago

Similar Papers

Cite this paper

@article{tian2022zeroshot,
  title  = {Zero-shot Sonnet Generation with Discourse-level Planning and Aesthetics Features},
  author = {Yufei Tian and Nanyun Peng},
  year   = {2022},
  eprint = {2205.01821},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.01821}
}

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

Discussion