Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

PoeLM: A Meter- and Rhyme-Controllable Language Model for Unsupervised Poetry Generation (2205.12206v2)

Published 24 May 2022 in cs.CL and cs.AI

Abstract: Formal verse poetry imposes strict constraints on the meter and rhyme scheme of poems. Most prior work on generating this type of poetry uses existing poems for supervision, which are difficult to obtain for most languages and poetic forms. In this work, we propose an unsupervised approach to generate poems following any given meter and rhyme scheme, without requiring any poetic text for training. Our method works by splitting a regular, non-poetic corpus into phrases, prepending control codes that describe the length and end rhyme of each phrase, and training a transformer LLM in the augmented corpus. During inference, we build control codes for the desired meter and rhyme scheme, and condition our LLM on them to generate formal verse poetry. Experiments in Spanish and Basque show that our approach is able to generate valid poems, which are often comparable in quality to those written by humans.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Aitor Ormazabal (10 papers)
  2. Mikel Artetxe (52 papers)
  3. Manex Agirrezabal (9 papers)
  4. Aitor Soroa (29 papers)
  5. Eneko Agirre (53 papers)
Citations (18)