Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Transforming Delete, Retrieve, Generate Approach for Controlled Text Style Transfer

About

Text style transfer is the task of transferring the style of text having certain stylistic attributes, while preserving non-stylistic or content information. In this work we introduce the Generative Style Transformer (GST) - a new approach to rewriting sentences to a target style in the absence of parallel style corpora. GST leverages the power of both, large unsupervised pre-trained language models as well as the Transformer. GST is a part of a larger `Delete Retrieve Generate' framework, in which we also propose a novel method of deleting style attributes from the source sentence by exploiting the inner workings of the Transformer. Our models outperform state-of-art systems across 5 datasets on sentiment, gender and political slant transfer. We also propose the use of the GLEU metric as an automatic metric of evaluation of style transfer, which we found to compare better with human ratings than the predominantly used BLEU score.

Akhilesh Sudhakar, Bhargav Upadhyay, Arjun Maheswaran• 2019

Related benchmarks

TaskDatasetResultRank
Sentiment AnalysisYelp Reviews (Out-of-domain)
Accuracy84.5
13
Sentiment AnalysisSemeval Task B Twitter 2017 (Out-of-domain)
Accuracy72.5
10
Sentiment AnalysisAmazon Reviews (Out-of-domain)
Accuracy77.2
10
Text editingYelp (test)
Sentiment Accuracy81
9
Text editingAmazon (test)
Sentiment Accuracy62
8
Semantics preservationIMDB
CTC Score46.8
7
Semantics preservationAMAZON
CTC Score0.472
7
Semantics preservationYahoo
CTC Score45.8
7
Style TransferYelp
Accuracy82
7
Style TransferAMAZON
Accuracy60.45
7
Showing 10 of 13 rows

Other info

Follow for update