Chinese Poetry Generation with a Working Memory Model

Xiaoyuan Yi, Maosong Sun, Ruoyu Li, Zonghan Yang
9/12/2018
cs.AIcs.CL

Official code: XiaoyuanYi/WMPoetry (58 stars, Python, last commit 2020-06-11).

Abstract

As an exquisite and concise literary form, poetry is a gem of human culture. Automatic poetry generation is an essential step towards computer creativity.

Show full abstract

In recent years, several neural models have been designed for this task. However, among lines of a whole poem, the coherence in meaning and topics still remains a big challenge. In this paper, inspired by the theoretical concept in cognitive psychology, we propose a novel Working Memory model for poetry generation. Different from previous methods, our model explicitly maintains topics and informative limited history in a neural memory. During the generation process, our model reads the most relevant parts from memory slots to generate the current line. After each line is generated, it writes the most salient parts of the previous line into memory slots. By dynamic manipulation of the memory, our model keeps a coherent information flow and learns to express each topic flexibly and naturally. We experiment on three different genres of Chinese poetry: quatrain, iambic and chinoiserie lyric. Both automatic and human evaluation results show that our model outperforms current state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

The source codes of Working Memory model for Chinese poetry generation (IJCAI 2018).

5821PythonApr 29, 20186 years ago
chineseijcaimemory-networkpoetry-generation

Similar Papers

Cite this paper

@article{yi2018chinese,
  title  = {Chinese Poetry Generation with a Working Memory Model},
  author = {Xiaoyuan Yi and Maosong Sun and Ruoyu Li and Zonghan Yang},
  year   = {2018},
  eprint = {1809.04306},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.04306}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.04306.svg)](https://codeofpaper.com/paper/1809.04306)

Discussion