SP-GPT2: Semantics Improvement in Vietnamese Poetry Generation
Not on the map. Why?
Abstract (arXiv)
Automatic text generation has garnered growing attention in recent years as an essential step towards computer creativity. Generative Pretraining Transformer 2 (GPT2) is one of the state of the art approaches that have excellent successes. In this paper, we took the first step to investigate the power of GPT2 in traditional Vietnamese poetry generation. In the earlier time, our experiment with base GPT2 was quite good at generating the poem in the proper template. Though it can learn the patterns, including rhyme and tone rules, from the training data, like almost all other text generation approaches, the poems generated still has a topic drift and semantic inconsistency. To improve the cohesion within the poems, we proposed a new model SP-GPT2 (semantic poem GPT2) which was built on the top GPT2 model and an additional loss to constrain context throughout the entire poem. For better evaluation, we examined the methods by both automatic quantitative evaluation and human evaluation. Both automatic and human evaluation demonstrated that our approach can generate poems that have better cohesion without losing the quality due to additional loss. At the same time, we are the pioneers of this topic. We released the first computational scoring module for poems generated in the template containing the style rule dictionary. Additionally, we are the first to publish a Luc-Bat dataset, including 87609 Luc Bat poems, which is equivalent to about 2.6 million sentences, combined with about 83579 poems in other styles was also published for further exploration. The code is available at https://github.com/fsoft-ailab/Poem-Generator
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 7 of its 26 references that are in the map. First posted on arXiv 10 Oct 2021.
Builds on
7 of 26 references.
References · 7
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2016Generating Chinese Classical Poems with RNN Encoder-Decodercited by 16
- 2017Generating Thematic Chinese Poetry using Conditional Variational Autoencoders with Hybrid Decoderscited by 12
- 2016Chinese Song Iambics Generation with Neural Attention-based Modelcited by 9
- 2016Can Machine Generate Traditional Chinese Poetry? A Feigenbaum Testcited by 3
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 2; 2024: 1; 2025: 1.
5 papers.
- 2021Improving Transformers with Probabilistic Attention Keyscited by 28
- 2023SikuGPT: A Generative Pre-trained Model for Intelligent Information Processing of Ancient Texts from the Perspective of Digital Humanitiescited by 9
- 2023TPPoet: Transformer-Based Persian Poem Generation using Minimal Data and Advanced Decoding Techniquescited by 2
- 2024Vietnamese Poem Generation & The Prospect Of Cross-Language Poem-To-Poem Translationcited by 2
- 2025Automated Evaluation of Meter and Rhyme in Russian Generative and Human-Authored Poetrycited by 1
- 2025Automated Evaluation of Meter and Rhyme in Russian Generative and Human-Authored Poetry28 Feb 2025
- 2024Vietnamese Poem Generation & The Prospect Of Cross-Language Poem-To-Poem Translation2 Jan 2024
- 2023TPPoet: Transformer-Based Persian Poem Generation using Minimal Data and Advanced Decoding Techniques4 Dec 2023
- 2023SikuGPT: A Generative Pre-trained Model for Intelligent Information Processing of Ancient Texts from the Perspective of Digital Humanities16 Apr 2023
- 2021Improving Transformers with Probabilistic Attention Keys16 Oct 2021