Gradient-guided Unsupervised Text Style Transfer via Contrastive Learning

01/23/2022
by   Chenghao Fan, et al.
0

Text style transfer is a challenging text generation problem, which aims at altering the style of a given sentence to a target one while keeping its content unchanged. Since there is a natural scarcity of parallel datasets, recent works mainly focus on solving the problem in an unsupervised manner. However, previous gradient-based works generally suffer from the deficiencies as follows, namely: (1) Content migration. Previous approaches lack explicit modeling of content invariance and are thus susceptible to content shift between the original sentence and the transferred one. (2) Style misclassification. A natural drawback of the gradient-guided approaches is that the inference process is homogeneous with a line of adversarial attack, making latent optimization easily becomes an attack to the classifier due to misclassification. This leads to difficulties in achieving high transfer accuracy. To address the problems, we propose a novel gradient-guided model through a contrastive paradigm for text style transfer, to explicitly gather similar semantic sentences, and to design a siamese-structure based style classifier for alleviating such two issues, respectively. Experiments on two datasets show the effectiveness of our proposed approach, as compared to the state-of-the-arts.

READ FULL TEXT
research
02/16/2020

Learning to Generate Multiple Style Transfer Outputs for an Input Sentence

Text style transfer refers to the task of rephrasing a given text in a d...
research
09/03/2021

Contrastive Representation Learning for Exemplar-Guided Paraphrase Generation

Exemplar-Guided Paraphrase Generation (EGPG) aims to generate a target s...
research
01/28/2019

Toward Unsupervised Text Content Manipulation

Controlled generation of text is of high practical use. Recent efforts h...
research
06/01/2021

Language-Driven Image Style Transfer

Despite having promising results, style transfer, which requires prepari...
research
05/25/2020

Stable Style Transformer: Delete and Generate Approach with Encoder-Decoder for Text Style Transfer

Text style transfer is the task that generates a sentence by preserving ...
research
05/09/2022

So Different Yet So Alike! Constrained Unsupervised Text Style Transfer

Automatic transfer of text between domains has become popular in recent ...
research
05/04/2022

Towards Robust and Semantically Organised Latent Representations for Unsupervised Text Style Transfer

Recent studies show that auto-encoder based approaches successfully perf...

Please sign up or login with your details

Forgot password? Click here to reset