Semi-Supervised Formality Style Transfer with Consistency Training

Ao Liu, An Wang, Naoaki Okazaki
3/25/2022
cs.CL

Official code: Aolius/semi-fst (17 stars, Python, MIT, last commit 2022-05-21).

Abstract

Formality style transfer (FST) is a task that involves paraphrasing an informal sentence into a formal one without altering its meaning. To address the data-scarcity problem of existing parallel datasets, previous studies tend to adopt a cycle-reconstruction scheme to utilize additional unlabeled data, where the FST model mainly benefits from target-side unlabeled sentences.

Show full abstract

In this work, we propose a simple yet effective semi-supervised framework to better utilize source-side unlabeled sentences based on consistency training. Specifically, our approach augments pseudo-parallel data obtained from a source-side informal sentence by enforcing the model to generate similar outputs for its perturbed version. Moreover, we empirically examined the effects of various data perturbation methods and propose effective data filtering strategies to improve our framework. Experimental results on the GYAFC benchmark demonstrate that our approach can achieve state-of-the-art results, even with less than 40% of the parallel data.

View on arXivView PDF

Code Implementations(1)

Aolius/semi-fstOfficial100%
MIT

Code for ACL 2022 paper "Semi-Supervised Formality Style Transfer with Consistency Training".

173Python, ShellMar 25, 20224 years agoMIT

Similar Papers

Cite this paper

@article{liu2022semisupervised,
  title  = {Semi-Supervised Formality Style Transfer with Consistency Training},
  author = {Ao Liu and An Wang and Naoaki Okazaki},
  year   = {2022},
  eprint = {2203.13620},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.13620}
}

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

Discussion