Skip to main content
QUICK REVIEW

[Paper Review] Chinese Poetry Generation with Planning based Neural Network

Zhe Wang, Wei He|arXiv (Cornell University)|Oct 31, 2016
Artificial Intelligence in GamesComputer Science28 references71 citations
TL;DR

This paper proposes a two-stage neural network framework for Chinese poetry generation that first plans sub-topics based on user intent and then generates lines sequentially using a modified RNN encoder-decoder model. The method improves semantic coherence and handles modern concepts via external knowledge, achieving human-like quality in human evaluations, with 49.9% of machine-generated poems indistinguishable from human poems by non-experts.

ABSTRACT

Chinese poetry generation is a very challenging task in natural language processing. In this paper, we propose a novel two-stage poetry generating method which first plans the sub-topics of the poem according to the user's writing intent, and then generates each line of the poem sequentially, using a modified recurrent neural network encoder-decoder framework. The proposed planning-based method can ensure that the generated poem is coherent and semantically consistent with the user's intent. A comprehensive evaluation with human judgments demonstrates that our proposed approach outperforms the state-of-the-art poetry generating methods and the poem quality is somehow comparable to human poets.

Motivation & Objective

  • To address the lack of semantic coherence in existing neural poetry generation models, where later lines often drift from the user's initial intent.
  • To enable generation of poems on modern or non-traditional topics (e.g., 'Barack Obama') that traditional models fail to handle due to limited vocabulary in training data.
  • To improve poem quality by explicitly decomposing user intent into structured sub-topics before generation.
  • To integrate external knowledge sources (e.g., encyclopedias) to bridge the gap between modern concepts and classical poetic language.
  • To develop a framework that generates coherent, rhythmically correct, and thematically consistent poems matching human standards.

Proposed method

  • The method uses a two-stage pipeline: first, a poem planning model decomposes the user's input (keywords, sentence, or document) into a sequence of sub-topics, each representing a thematic element for a line.
  • Each sub-topic is generated using external knowledge sources like encyclopedias to extend modern terms into classical-compatible concepts (e.g., 'Barack Obama' → 'outstanding', 'power').
  • A modified RNN encoder-decoder model is employed for generation, with two parallel encoders: one for the current sub-topic and one for the preceding generated lines.
  • The attention mechanism in the decoder attends to both the sub-topic embedding and the hidden states of the previous lines, ensuring context-aware and topic-aligned generation.
  • The model is trained on a large corpus of classical Chinese poetry with strict tonal, rhyming, and structural rules.
  • The framework supports generation of various poetic forms (e.g., quatrains) and can be extended to other genres or languages.

Experimental results

Research questions

  • RQ1Can a planning-based approach improve the semantic coherence of generated Chinese poems compared to end-to-end sequence-to-sequence models?
  • RQ2How well can the model generate poems on modern or non-traditional topics not present in the training data?
  • RQ3To what extent can external knowledge sources (e.g., encyclopedias) enhance the model’s ability to handle modern concepts in classical poetic form?
  • RQ4How close is the quality of machine-generated poems to human-written poems in human evaluations?
  • RQ5Can the model maintain structural and tonal constraints (e.g., rhyme, tone patterns) while ensuring thematic consistency?

Key findings

  • In human evaluation, 49.9% of machine-generated poems were either incorrectly identified as human-written or could not be distinguished from human poems by non-expert evaluators.
  • Among expert evaluators, only 16.3% failed to distinguish machine-generated poems from human-written ones, indicating a significant gap in quality perception.
  • The model successfully generated coherent poems on modern topics like 'beer' and 'Xin Bing', using sub-topics derived from external knowledge (e.g., 'aroma', 'spring river', 'stars').
  • The planning-based approach significantly improved semantic consistency, as each line is explicitly linked to a sub-topic derived from the user's intent.
  • The modified RNN encoder-decoder with dual encoders outperformed all baseline models in both automatic and human evaluations.
  • The method demonstrated robustness in generating structurally correct poems with proper tone patterns and rhyming, even when prompted with modern or abstract concepts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.