Abstract
Generating acrostic poems presents a unique challenge in computational creativity, requiring a model to balance rigid structural constraints with semantic relevance and stylistic requirements. This paper introduces the "Neural Poet," a baseline architecture designed for English acrostic generation. By combining a conditional language model with a specialized rhyming module and topic-aware embeddings, the system demonstrates the ability to produce fluent, poetic text that adheres to first-letter constraints and specific themes. Human evaluation indicates that these constraints can be integrated without a significant loss in perceived quality, marking a step forward in multi-constraint natural language generation.
Introduction
Poetry generation is a hallmark of Natural Language Generation (NLG) research, demanding a delicate equilibrium between creative expression and formal rules. While previous research has explored general poetry or Chinese acrostics, this work focuses on the specific nuances of English acrostic poems. An acrostic is defined by a "hidden" word or phrase spelled out by the first letter of each line. To be successful, a model must optimize for four distinct pillars: structural integrity (correct spelling), semantic topicality (relevance to the hidden word), stylistic adherence (rhyming schemes), and linguistic fluency.
Methodology: The Neural Poet
The proposed Neural Poet architecture addresses these requirements through a modular approach. At its core is a 3-layer Long Short-Term Memory (LSTM) network that generates text word-by-word. To maintain topicality and structure, the model is conditioned at every time step on a topic embedding, the target acrostic characters, and the intended line count.
Constraint Satisfaction Strategies
To ensure the poem starts each line with the correct letter while remaining thematic, the researchers implemented a "First Word" strategy. The model identifies the five nearest neighbors to the topic word using GloVe embeddings that start with the required letter. It then selects the candidate with the highest language model probability.
For stylistic requirements, a separate character-level LSTM rhyming model, trained on Shakespearean sonnets, is invoked when the generator reaches the end of a line. This module suggests candidate words that rhyme with previous lines based on the established context.
Experimental Setup and Datasets
The model was trained on a diverse corpus to ensure both poetic flair and general English fluency:
- KnownTopicPoems: A curated set of ~54,000 poems across 144 topics.
- UnknownTopicPoems: ~65,000 poems where topics were automatically assigned using a bidirectional LSTM "silver-label" predictor.
- Sonnets: Used specifically for the rhyming module.
- Wikipedia: Utilized for large-scale pretraining to establish a foundation of general linguistic coherence.
Results and Discussion
The performance of the Neural Poet was benchmarked against human-written poems using four metrics: Fluency (F), Meaning (M), Poeticness (P), and Overall Quality (A).
Key Findings
- Constraint Resilience: Surprisingly, the addition of acrostic and rhyming constraints did not significantly degrade human-perceived quality. The Neural Poet achieved a Poeticness score of 3.66, approaching human levels (4.22).
- The Importance of Pretraining: Pretraining on Wikipedia was essential. Even though the source material was non-poetic, it significantly lowered perplexity, suggesting that general language mastery is a prerequisite for specialized creative tasks.
- Topicality Success: In blind tests, human judges correctly identified the intended topic of generated poems in 21 out of 40 instances, confirming that the model successfully weaves thematic elements into the acrostic structure.
- Ablation Insights: The rhyming model proved critical for the "Poeticness" metric; removing it led to a noticeable drop in human scores, highlighting the importance of stylistic markers in creative NLG.
Conclusion and Future Work
The Neural Poet demonstrates that machines can navigate complex, multi-layered poetic constraints. However, limitations remain. The current model produces free verse and does not yet account for rhythmic meter (such as iambic pentameter). Furthermore, while individual lines are fluent, maintaining a cohesive narrative arc across longer poems remains a challenge. Future research may focus on explicit "content planning" to improve long-term thematic consistency and the integration of rhythmic constraints.
Summary updated