Papers › Evaluating Diversity in Automatic Poetry Generation

Evaluating Diversity in Automatic Poetry Generation

21 Jun 2024arXiv:2406.15267archive 2025-07-28

Yanran Chen, Hannes Gröner, Sina Zarrieß, Steffen Eger

Natural Language Generation (NLG), and more generally generative AI, are among the currently most impactful research fields. Creative NLG, such as automatic poetry generation, is a fascinating niche in this area. While most previous research has focused on forms of the Turing test when evaluating automatic poetry generation -- can humans distinguish between automatic and human generated poetry -- we evaluate the diversity of automatically generated poetry (with a focus on quatrains), by comparing distributions of generated poetry to distributions of human poetry along structural, lexical, semantic and stylistic dimensions, assessing different model types (word vs. character-level, general purpose LLMs vs. poetry-specific models), including the very recent LLaMA3-8B, and types of fine-tuning (conditioned vs. unconditioned). We find that current automatic poetry systems are considerably underdiverse along multiple dimensions -- they often do not rhyme sufficiently, are semantically too uniform and even do not match the length distribution of human poetry. Our experiments reveal, however, that style-conditioning and character-level modeling clearly increases diversity across virtually all dimensions we explore. Our identified limitations may serve as the basis for more genuinely diverse future poetry generation models.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.15267")

Code

Syntology Ran 8 of 14 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hgroener/diversity_in_poetry_generation officialmentioned in paperGPL-3.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 8 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
6unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hgroener/diversity_in_poetry_generation. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

chi2_test hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/analysis/meter_rhyme.py official repository ran GPL-3.0 (copyleft) · pointer only · 58f88b7ed149b0f4 · report
flatten_list hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/helper_functions.py official repository ran fingerprinted GPL-3.0 (copyleft) · pointer only · e24a0f7cee08a0d6 · report
format_func hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/analysis/topic_modeling.py official repository ran GPL-3.0 (copyleft) · pointer only · 2ec743297576d834 · report
get_contigents_len hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/analysis/length.py official repository ran GPL-3.0 (copyleft) · pointer only · 63f09d7aaebf6c14 · report
get_dataset hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/helper_functions.py official repository ran GPL-3.0 (copyleft) · pointer only · 873b466167adf60b · report
histogram_intersection hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/analysis/length.py official repository ran GPL-3.0 (copyleft) · pointer only · d2f5b927b2ba7d06 · report
join hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/helper_functions.py official repository ran GPL-3.0 (copyleft) · pointer only · 2f3a197c01bcd196 · report
split_sonnets hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/training_data/parse_sonnets.py official repository ran GPL-3.0 (copyleft) · pointer only · 3d7c3b1d3cd1f421 · report
chi_square_len hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/analysis/length.py official repository unverified GPL-3.0 (copyleft) · pointer only · 741b08fb3bb70955 · report
memorization hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/analysis/memorization.py official repository unverified GPL-3.0 (copyleft) · pointer only · 3231ddbd7853c739 · report
meter_rhyme_metrics hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/analysis/meter_rhyme.py official repository unverified GPL-3.0 (copyleft) · pointer only · 519524442639ccf7 · report
plot_stacked hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/analysis/meter_rhyme.py official repository unverified GPL-3.0 (copyleft) · pointer only · 9ccad04d5816cb53 · report
process_ds hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/sampling/process_deepspeare_sample.py official repository unverified GPL-3.0 (copyleft) · pointer only · 54e9c411dfa41569 · report
process_sa hgroener/diversity_in_poetry_generation/diversity-in-poetry-generation/sampling/process_structured_adversary_sample.py official repository unverified GPL-3.0 (copyleft) · pointer only · c414508a819b535d · report

Tasks

DiversityText Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections