Abstract: The choice of a rhyme has improved over time and AI use has become more routine.
Introduction
While modern Large Language Models (LLMs) like GPT-3 excel at generating human-like prose, they surprisingly struggle with the rigid structural constraints of formal poetry, such as rhyme and meter. This paper explores the evolution of computer-generated poetry—from 1960s "Mad Libs" style templates to modern hybrid systems—arguing that the future of AI poetry lies not in total automation, but in interpretable tools that assist human creativity.
The Dual Challenge of Computational Verse
The intersection of artificial intelligence and creative expression presents two distinct hurdles: technical and philosophical. While AI can now mimic the "vibe" of a poem, it faces a dual challenge:
- Hard Constraints: Traditional forms like sonnets require strict adherence to meter (e.g., iambic pentameter) and rhyme schemes (e.g., ABAB).
- "Poeticness": This is the abstract quality of figurative language and emotional resonance that distinguishes a poem from a rhythmic list of facts.
Can a machine satisfy both the "math" of poetry (structure) and the "art" (meaning)? Philosophically, the authors draw a historical parallel to the invention of the camera. Initially dismissed as a mere scientific tool, the camera was eventually embraced as an artistic medium once photographers learned to manipulate the technology for creative expression.
Methodological Evolution
The paper reviews several distinct algorithmic approaches to poetry generation, tracing a path from rigid logic to fluid neural networks:
- Template-Substitution (1960s-2000s): These early systems used human-designed templates filled with random words. While structurally sound, they often lacked coherence.
- Recurrent Neural Networks (RNNs): Models like Hafez and Deep-speare use RNNs to generate lines. Hafez utilizes word embeddings to maintain thematic consistency, while Deep-speare employs separate models to "score" candidate lines for pentameter and rhyme.
- Fine-tuned Transformers (GPT-2): This approach involves taking a general-purpose language model and training it further on a specific corpus of poetry to help it learn "poetic" vocabulary and line breaks.
- Few-Shot Learning (GPT-3): This method provides a massive model with a few examples of poetry to prompt it to generalize, relying on its vast pre-existing knowledge.
- The Mechanical Bard: The authors' hybrid approach synthesizes old and new techniques. It uses flexible, handwritten templates to ensure meter and syllable counts, which are then filled by a pre-trained language model to ensure thematic and linguistic "poeticness."
The Tokenization Trap
A significant technical insight explains why even advanced models like GPT-3 struggle with rhyme and meter. Because these models process text as "subword tokens" rather than individual characters or phonemes, they lack an inherent "ear" for how words sound or how many syllables they contain. This phonetic blindness makes it difficult for the model to "hear" the rhythm it is creating.
Qualitative Results and Comparisons
The paper provides a qualitative comparison of various models:
- Hafez: Produced thematic and grammatical poems but lacked "adventurous" language.
- Deep-speare: Successfully captured a "poetic voice" but often failed to satisfy its own hard constraints, such as failing to rhyme in the final couplet.
- Sylvia: Generated poems that felt more like prose but maintained sound grammar.
- The Mechanical Bard: Showed success in producing complex stanzas with poetic forms other methods couldn't reach, though its grammar remains less consistent than more rigid RNN-based models.
- GPT-3: While capable of profound-sounding creative fiction, it often ignores formal constraints entirely, producing "poems" that lack rhyme or set meter.
Conclusion: The Future of the AI Poet
The primary limitation identified is the "scaling wall." Simply making models larger does not automatically make them better at the technicalities of poetry; in some cases, it makes them less aware of phonetic constraints.
The authors conclude that the most significant improvements will likely come from Human-in-the-loop systems. Moving away from "black-box" models, the field is shifting toward interpretable tools that allow poets to scrutinize or adjust the algorithm's decisions. In this view, AI is not a replacement for the poet, but a collaborator—a digital darkroom where the artist chooses the lighting and proportions of their expression.
Summary updated