StyleDGPT: Stylized Response Generation with Pre-trained Language Models

Ze Yang, Wei Wu, Can Xu, Xinnian Liang, Jiaqi Bai +3 more
10/6/2020
cs.CL

Official code: TobeyYang/StyleDGPT (21 stars, Python, last commit 2020-11-16).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

The code for ``STYLEDGPT: Stylized Response Generation with Pre-trained LanguageModels'' (Findings of EMNLP2020)

217PythonOct 5, 20206 years ago

Similar Papers

Cite this paper

@article{yang2020styledgpt,
  title  = {StyleDGPT: Stylized Response Generation with Pre-trained Language Models},
  author = {Ze Yang and Wei Wu and Can Xu and Xinnian Liang and Jiaqi Bai and Liran Wang and Wei Wang and Zhoujun Li},
  year   = {2020},
  eprint = {2010.02569},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.02569}
}

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/2010.02569.svg)](https://codeofpaper.com/paper/2010.02569)

Discussion