EMNLP 2022main6 citations

Text Style Transferring via Adversarial Masking and Styled Filling

Jiarui Wang, Richong Zhang, Junfan Chen, Jaein Kim, Yongyi Mao

Abstract

Text style transfer is an important task in natural language processing with broad applications. Existing models following the masking and filling scheme suffer two challenges: the word masking procedure may mistakenly remove unexpected words and the selected words in the word filling procedure may lack diversity and semantic consistency. To tackle both challenges, in this study, we propose a style transfer model, with an adversarial masking approach and a styled filling technique (AMSF). Specifically, AMSF first trains a mask predictor by adversarial training without manual configuration. Then two additional losses, i.e. an entropy maximization loss and a consistency regularization loss, are introduced in training the word filling module to guarantee the diversity and semantic consistency of the transferred texts. Experimental results and analysis on two benchmark text style transfer data sets demonstrate the effectiveness of the proposed approaches.

BibTeX
@inproceedings{wang-etal-2022-text,
    title = "Text Style Transferring via Adversarial Masking and Styled Filling",
    author = "Wang, Jiarui  and
      Zhang, Richong  and
      Chen, Junfan  and
      Kim, Jaein  and
      Mao, Yongyi",
    editor = "Goldberg, Yoav  and
      Kozareva, Zornitsa  and
      Zhang, Yue",
    booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, United Arab Emirates",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.emnlp-main.521/",
    doi = "10.18653/v1/2022.emnlp-main.521",
    pages = "7654--7663"
}