# An Iterative Polishing Framework based on Quality Aware Masked Language Model for Chinese Poetry Generation

arXiv: https://arxiv.org/abs/1911.13182 · HTML: https://mlsanity.com/paper/1911.13182/

## Key facts

- Cited by 9 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 29 Nov 2019.

## Built on by (most cited first, 9 of 9)

- [Do Language Models Plagiarize?](https://mlsanity.com/paper/2203.07618/) (2022)
- [Don't Go Far Off: An Empirical Study on Neural Poetry Translation](https://mlsanity.com/paper/2109.02972/) (2021)
- [When Creators Meet the Metaverse: A Survey on Computational Arts](https://mlsanity.com/paper/2111.13486/) (2021)
- [PoetryDiffusion: Towards Joint Semantic and Metrical Manipulation in Poetry Generation](https://mlsanity.com/paper/2306.08456/) (2023)
- [Can AI Write Classical Chinese Poetry like Humans? An Empirical Study Inspired by Turing Test](https://mlsanity.com/paper/2401.04952/) (2024)
- [Poetry2Image: An Iterative Correction Framework for Images Generated from Chinese Classical Poetry](https://mlsanity.com/paper/2407.06196/) (2024)
- [WakaVT: A Sequential Variational Transformer for Waka Generation](https://mlsanity.com/paper/2104.00426/) (2021)
- [Controllable Ancient Chinese Lyrics Generation Based on Phrase Prototype Retrieving](https://mlsanity.com/paper/2303.11005/) (2023)
- [An Adversarial Multi-Task Learning Method for Chinese Text Correction with Semantic Detection](https://mlsanity.com/paper/2306.16313/) (2023)

## Abstract (arXiv)

Owing to its unique literal and aesthetical characteristics, automatic generation of Chinese poetry is still challenging in Artificial Intelligence, which can hardly be straightforwardly realized by end-to-end methods. In this paper, we propose a novel iterative polishing framework for highly qualified Chinese poetry generation. In the first stage, an encoder-decoder structure is utilized to generate a poem draft. Afterwards, our proposed Quality-Aware Masked Language Model (QAMLM) is employed to polish the draft towards higher quality in terms of linguistics and literalness. Based on a multi-task learning scheme, QA-MLM is able to determine whether polishing is needed based on the poem draft. Furthermore, QAMLM is able to localize improper characters of the poem draft and substitute with newly predicted ones accordingly. Benefited from the masked language model structure, QAMLM incorporates global context information into the polishing process, which can obtain more appropriate polishing results than the unidirectional sequential decoding. Moreover, the iterative polishing process will be terminated automatically when QA-MLM regards the processed poem as a qualified one. Both human and automatic evaluation have been conducted, and the results demonstrate that our approach is effective to improve the performance of encoder-decoder structure.
