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

Adapting Language Models for Non-Parallel Author-Stylized Rewriting

About

Given the recent progress in language modeling using Transformer-based neural models and an active interest in generating stylized text, we present an approach to leverage the generalization capabilities of a language model to rewrite an input text in a target author's style. Our proposed approach adapts a pre-trained language model to generate author-stylized text by fine-tuning on the author-specific corpus using a denoising autoencoder (DAE) loss in a cascaded encoder-decoder framework. Optimizing over DAE loss allows our model to learn the nuances of an author's style without relying on parallel data, which has been a severe limitation of the previous related works in this space. To evaluate the efficacy of our approach, we propose a linguistically-motivated framework to quantify stylistic alignment of the generated text to the target author at lexical, syntactic and surface levels. The evaluation framework is both interpretable as it leads to several insights about the model, and self-contained as it does not rely on external classifiers, e.g. sentiment or formality classifiers. Qualitative and quantitative assessment indicates that the proposed approach rewrites the input text with better alignment to the target style while preserving the original content better than state-of-the-art baselines.

Bakhtiyar Syed, Gaurav Verma, Balaji Vasan Srinivasan, Anandhavelu Natarajan, Vasudeva Varma• 2019

Related benchmarks

TaskDatasetResultRank
Text Style TransferChinese style transfer FT to LX (test)
Style Polarity90.6
10
Text Style TransferChinese style transfer FT to JY (test)
Style Polarity90.3
10
Stylized Machine TranslationMSMT en-zh Modern (test)
BLEU24.87
8
Text Style TransferEnglish Novel Corpus ER → SP
Accd0.3
6
Stylized Machine TranslationMSMT en-zh Classical (test)
BLEU20.88
4
Stylized Machine TranslationMSMT en-pt, European (test)
BLEU0.3284
4
Stylized Machine TranslationMSMT zh-en Early (test)
BLEU7.46
4
Stylized Machine TranslationMSMT en-pt, Brazilian (test)
BLEU32.59
4
Showing 8 of 8 rows

Other info

Follow for update