StyleDGPT: Stylized Response Generation with Pre-trained Language Models

Ze Yang,Wei Wu,Can Xu,Xinnian Liang,Jiaqi Bai,Liran Wang,Wei Wang,Zhoujun Li
DOI: https://doi.org/10.18653/v1/2020.findings-emnlp.140
2020-01-01
Abstract:Generating responses following a desired style has great potentials to extend applications of open-domain dialogue systems, yet is refrained by lacking of parallel data for training. In this work, we explore the challenging task with pre-trained language models that have brought breakthrough to various natural language tasks. To this end, we introduce a KL loss and a style classifier to the fine-tuning step in order to steer response generation towards the target style in both a word-level and a sentence-level. Comprehensive empirical studies with two public datasets indicate that our model can significantly outperform state-of-the-art methods in terms of both style consistency and contextual coherence.
What problem does this paper attempt to address?