Text Style Transfer

81 papers with code • 2 benchmarks • 6 datasets

Text Style Transfer is the task of controlling certain attributes of generated text. The state-of-the-art methods can be categorized into two main types which are used on parallel and non-parallel data. Methods on parallel data are typically supervised methods that use a neural sequence-to-sequence model with the encoder-decoder architecture. Methods on non-parallel data are usually unsupervised approaches using Disentanglement, Prototype Editing and Pseudo-Parallel Corpus Construction.

The popular benchmark for this task is the Yelp Review Dataset. Models are typically evaluated with the metrics of Sentiment Accuracy, BLEU, and PPL.

Libraries

Use these libraries to find Text Style Transfer models and implementations

Style-transfer counterfactual explanations: An application to mortality prevention of ICU patients

zhendong3wang/counterfactuals-for-event-sequences Artificial Intelligence in Medicine 2023

In this paper, we propose a counterfactual solution MedSeqCF for preventing the mortality of three cohorts of ICU patients, by representing their electronic health records as medical event sequences, and generating counterfactuals by adopting and employing a text style-transfer technique.

2
01 Jan 2023

Pay Attention to Your Tone: Introducing a New Dataset for Polite Language Rewrite

jdustinwind/Polite 20 Dec 2022

We introduce \textsc{PoliteRewrite} -- a dataset for polite language rewrite which is a novel sentence rewrite task.

0
20 Dec 2022

Replacing Language Model for Style Transfer

linear95/rlm 14 Nov 2022

The new span is generated via a non-autoregressive masked language model, which can better preserve the local-contextual meaning of the replaced token.

3
14 Nov 2022

StoryTrans: Non-Parallel Story Author-Style Transfer with Discourse Representations and Content Enhancing

xuekai-zhu/storytrans_public 29 Aug 2022

Moreover, to enhance content preservation, we design a mask-and-fill framework to explicitly fuse style-specific keywords of source texts into generation.

8
29 Aug 2022

Composable Text Controls in Latent Space with ODEs

guangyliu/latentops 1 Aug 2022

This paper proposes a new efficient approach for composable text operations in the compact latent space of text.

73
01 Aug 2022

Studying the role of named entities for content preservation in text style transfer

s-nlp/sgdd-tst 20 Jun 2022

Text style transfer techniques are gaining popularity in Natural Language Processing, finding various applications such as text detoxification, sentiment, or formality transfer.

1
20 Jun 2022

RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning

mingkaid/rl-prompt 25 May 2022

RLPrompt formulates a parameter-efficient policy network that generates the desired discrete prompt after training with reward.

281
25 May 2022

Learning to Model Editing Processes

machelreid/editpro 24 May 2022

We introduce baseline results and metrics on this task, finding that modeling editing processes improves performance on a variety of axes on both our proposed task and related downstream tasks compared to previous single-step models of edits.

26
24 May 2022

Learning from Bootstrapping and Stepwise Reinforcement Reward: A Semi-Supervised Framework for Text Style Transfer

seq-to-mind/semi-style-transfer Findings (NAACL) 2022

To take advantage of both supervised and unsupervised paradigms and tackle the challenges, in this work, we propose a semi-supervised framework for text style transfer.

4
19 May 2022

So Different Yet So Alike! Constrained Unsupervised Text Style Transfer

abhinavkashyap/dct ACL 2022

Automatic transfer of text between domains has become popular in recent times.

15
09 May 2022