On Learning Text Style Transfer with Direct Rewards

Yixin Liu, Graham Neubig, John Wieting
10/24/2020
cs.CL

Official code: yixinL7/Direct-Style-Transfer (8 stars, Python, last commit 2021-04-10).

Abstract

In most cases, the lack of parallel corpora makes it impossible to directly train supervised models for the text style transfer task. In this paper, we explore training algorithms that instead optimize reward functions that explicitly consider different aspects of the style-transferred outputs.

Show full abstract

In particular, we leverage semantic similarity metrics originally used for fine-tuning neural machine translation models to explicitly assess the preservation of content between system outputs and input texts. We also investigate the potential weaknesses of the existing automatic metrics and propose efficient strategies of using these metrics for training. The experimental results show that our model provides significant gains in both automatic and human evaluation over strong baselines, indicating the effectiveness of our proposed methods and training strategies.

View on arXivView PDF

Code Implementations(1)

81Python, ShellApr 10, 20215 years ago

Similar Papers

Cite this paper

@article{liu2020learning,
  title  = {On Learning Text Style Transfer with Direct Rewards},
  author = {Yixin Liu and Graham Neubig and John Wieting},
  year   = {2020},
  eprint = {2010.12771},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.12771}
}

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

Discussion