[Paper Review] Generating Chinese Classical Poems with RNN Encoder-Decoder
This paper proposes an RNN-based encoder-decoder model for generating Chinese classical poems (Jueju quatrains) conditioned on a topic word, jointly learning semantics, structural patterns, and rhythm. The system achieves state-of-the-art performance without template constraints, with attention mechanisms improving word association modeling and training with inverted target lines enhancing output quality.
We take the generation of Chinese classical poem lines as a sequence-to-sequence learning problem, and build a novel system based on the RNN Encoder-Decoder structure to generate quatrains (Jueju in Chinese), with a topic word as input. Our system can jointly learn semantic meaning within a single line, semantic relevance among lines in a poem, and the use of structural, rhythmical and tonal patterns, without utilizing any constraint templates. Experimental results show that our system outperforms other competitive systems. We also find that the attention mechanism can capture the word associations in Chinese classical poetry and inverting target lines in training can improve performance.
Motivation & Objective
- To address the challenge of generating coherent, rhythmically accurate Chinese classical poems using neural sequence-to-sequence modeling.
- To jointly learn semantic meaning within lines, inter-line relevance, and structural constraints like tonal and rhythmic patterns.
- To eliminate reliance on hand-crafted constraint templates, enabling end-to-end learning of poetic form and content.
- To evaluate the effectiveness of attention mechanisms and training data reordering (inverted target lines) in improving generation quality.
- To establish a neural generation framework that preserves the stylistic and formal characteristics of classical Chinese poetry.
Proposed method
- Uses an RNN encoder-decoder architecture to map a topic word (input) to a sequence of characters forming a four-line Jueju poem.
- Employs an attention mechanism to dynamically align input topics with relevant words in generated lines, capturing semantic associations.
- Trains the model end-to-end on a large corpus of authentic Jueju poems, learning both content and structural patterns jointly.
- Applies data augmentation by inverting the order of target lines during training to improve generalization and coherence.
- Learns tonal and rhythmic patterns implicitly through sequence modeling, without explicit rule-based constraints.
- Optimizes the model using cross-entropy loss to maximize likelihood of correct character sequences.
Experimental results
Research questions
- RQ1Can an end-to-end RNN encoder-decoder model generate coherent and rhythmically accurate Chinese classical poems without relying on constraint templates?
- RQ2To what extent does the attention mechanism improve the model's ability to associate topic words with relevant poetic content?
- RQ3How does reordering the target sequence during training (inverted lines) affect the quality and coherence of generated poems?
- RQ4Can the model jointly learn semantic meaning within lines, inter-line relevance, and formal poetic constraints like tone and rhythm?
- RQ5How does the proposed model compare quantitatively and qualitatively to existing template-based or rule-based generation systems?
Key findings
- The proposed RNN encoder-decoder model outperforms competitive baseline systems in generating coherent and stylistically appropriate Chinese classical poems.
- The attention mechanism successfully captures meaningful word associations between topic words and poetic content, improving semantic relevance.
- Training with inverted target lines significantly improves the model's performance, suggesting enhanced learning of long-range dependencies and coherence.
- The model generates poems that maintain proper tonal and rhythmic patterns without explicit rule-based constraints, indicating implicit learning of formal structure.
- Human evaluation confirms that generated poems are more fluent and poetically coherent than those from existing methods.
- The system achieves state-of-the-art results on both automatic metrics and human judgment, demonstrating the effectiveness of end-to-end learning with attention and data augmentation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.