Semi-supervised Formality Style Transfer using Language Model Discriminator and Mutual Information Maximization

Kunal Chawla, Diyi Yang
10/10/2020
cs.CLcs.AIcs.LG

Official code: SALT-NLP/FormalityStyleTransfer (8 stars, Python, MIT, last commit 2020-10-04).

Abstract

Formality style transfer is the task of converting informal sentences to grammatically-correct formal sentences, which can be used to improve performance of many downstream NLP tasks. In this work, we propose a semi-supervised formality style transfer model that utilizes a language model-based discriminator to maximize the likelihood of the output sentence being formal, which allows us to use maximization of token-level conditional probabilities for training.

Show full abstract

We further propose to maximize mutual information between source and target styles as our training objective instead of maximizing the regular likelihood that often leads to repetitive and trivial generated responses. Experiments showed that our model outperformed previous state-of-the-art baselines significantly in terms of both automated metrics and human judgement. We further generalized our model to unsupervised text style transfer task, and achieved significant improvements on two benchmark sentiment style transfer datasets.

View on arXivView PDF

Code Implementations(1)

MIT

Code for "Semi-supervised Formality Style Transfer using Language Model Discriminator and Mutual Information Maximization"

82Python, CudaOct 4, 20206 years agoMIT
formalitylanguagemodelmutual-informationsemi-supervised-learningstyletransfer+1 more

Similar Papers

Cite this paper

@article{chawla2020semisupervised,
  title  = {Semi-supervised Formality Style Transfer using Language Model Discriminator and Mutual Information Maximization},
  author = {Kunal Chawla and Diyi Yang},
  year   = {2020},
  eprint = {2010.05090},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.05090}
}

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

Discussion