Automatically Generating Rhythmic Verse with Neural Networks

Jack Hopkins, Douwe Kiela


Abstract
We propose two novel methodologies for the automatic generation of rhythmic poetry in a variety of forms. The first approach uses a neural language model trained on a phonetic encoding to learn an implicit representation of both the form and content of English poetry. This model can effectively learn common poetic devices such as rhyme, rhythm and alliteration. The second approach considers poetry generation as a constraint satisfaction problem where a generative neural language model is tasked with learning a representation of content, and a discriminative weighted finite state machine constrains it on the basis of form. By manipulating the constraints of the latter model, we can generate coherent poetry with arbitrary forms and themes. A large-scale extrinsic evaluation demonstrated that participants consider machine-generated poems to be written by humans 54% of the time. In addition, participants rated a machine-generated poem to be the best amongst all evaluated.
Anthology ID:
P17-1016
Volume:
Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Month:
July
Year:
2017
Address:
Vancouver, Canada
Editors:
Regina Barzilay, Min-Yen Kan
Venue:
ACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
168–178
Language:
URL:
https://aclanthology.org/P17-1016
DOI:
10.18653/v1/P17-1016
Bibkey:
Cite (ACL):
Jack Hopkins and Douwe Kiela. 2017. Automatically Generating Rhythmic Verse with Neural Networks. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 168–178, Vancouver, Canada. Association for Computational Linguistics.
Cite (Informal):
Automatically Generating Rhythmic Verse with Neural Networks (Hopkins & Kiela, ACL 2017)
Copy Citation:
PDF:
https://aclanthology.org/P17-1016.pdf
Note:
 P17-1016.Notes.pdf
Video:
 https://aclanthology.org/P17-1016.mp4