Sonnet or Not, Bot? Poetry Evaluation for Large Models and Datasets

Melanie Walsh, Anna Preus, Maria Antoniak
6/27/2024
cs.CL

No official code found. Best implementation: maria-antoniak/poetry-eval (10 stars, last commit 2024-10-06).

Abstract

Large language models (LLMs) can now generate and recognize poetry. But what do LLMs really know about poetry? We develop a task to evaluate how well LLMs recognize one aspect of English-language poetry--poetic form--which captures many different poetic features, including rhyme scheme, meter, and word or line repetition. By using a benchmark dataset of over 4.1k human expert-annotated poems, we show that state-of-the-art LLMs can successfully identify both common and uncommon fixed poetic forms--such as sonnets, sestinas, and pantoums--with surprisingly high accuracy. However, performance varies significantly by poetic form; the models struggle to identify unfixed poetic forms, especially those based on topic or visual features. We additionally measure how many poems from our benchmark dataset are present in popular pretraining datasets or memorized by GPT-4, finding that pretraining presence and memorization may improve performance on this task, but results are inconclusive. We release a benchmark evaluation dataset with 1.4k public domain poems and form annotations, results of memorization experiments and data audits, and code.

View on arXivView PDF

Code Implementations(1)

Code and data for the "Sonnet or Not, Bot?" paper published at EMNLP Findings 2024

101Python, Jupyter NotebookJun 15, 20242 years ago

Similar Papers

Cite this paper

@article{walsh2024sonnet,
  title  = {Sonnet or Not, Bot? Poetry Evaluation for Large Models and Datasets},
  author = {Melanie Walsh and Anna Preus and Maria Antoniak},
  year   = {2024},
  eprint = {2406.18906},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.18906v3}
}

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

Discussion