Abstract
One of the challenges in text generation is to control text generation as intended by the user. Previous studies proposed specifying the keywords that should be included in the generated text. However, this approach is insufficient to generate text that reflect the user's intent. For example, placing an important keyword at the beginning of the text would help attract the reader's attention; however, existing methods do not enable such flexible control. In this paper, we tackle a novel task of controlling not only keywords but also the position of each keyword in the text generation. To this end, we propose a task-independent method that uses special tokens to control the relative position of key words. Experimental results on summarization and story generation tasks show that the proposed method can control key words and their positions. The experimental results also demonstrate that controlling the keyword positions can generate summary texts that are closer to the user's intent than baseline.
Cite
CITATION STYLE
Sasazawa, Y., Morishita, T., Ozaki, H., Imaichi, O., & Sogawa, Y. (2023). Controlling keywords and their positions in text generation. In INLG 2023 - 16th International Natural Language Generation Conference, Proceedings of the Conference (pp. 407–413). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.inlg-main.29
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.