EMNLP Findings2020
Contextual Text Style Transfer
Yu Cheng, Zhe Gan, Yizhe Zhang, Oussama Elachqar, Dianqi Li, Jingjing Liu
Abstract
We introduce a new task, Contextual Text Style Transfer -translating a sentence into a desired style with its surrounding context taken into account. This brings two key challenges to existing style transfer approaches: (i) how to preserve the semantic meaning of target sentence and its consistency with surrounding context during transfer; (ii) how to train a robust model with limited labeled data accompanied by context. To realize high-quality style transfer with natural context preservation, we propose a Context-Aware Style Transfer (CAST) model, which uses two separate encoders for each input sentence and its surrounding context. A classifier is further trained to ensure contextual consistency of the generated sentence. To compensate for the lack of parallel data, additional selfreconstruction and back-translation losses are introduced to leverage non-parallel data in a semi-supervised fashion. Two new benchmarks, Enron-Context and Reddit-Context, are introduced for formality and offensiveness style transfer. Experimental results on these datasets demonstrate the effectiveness of the proposed CAST model over state-of-the-art methods across style accuracy, content preservation and contextual consistency metrics. 1
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Lune answers from
the full paper · 8 top-tier papers that cite it · related work
Free to start. No credit card required.
Cited by top-tier papers8
- Controlled Text Generation as Continuous Optimization with Multiple ConstraintsSachin Kumar, Eric Malmi, Aliaksei Severyn, Yulia TsvetkovNeurIPS 2021 · 91 citations
- Stylized Dialogue Response Generation Using Stylized Unpaired TextsYinhe Zheng, Zikai Chen, Rongsheng Zhang, Shilei Huang et al.AAAI 2021 · 28 citations
- Evaluating the Evaluation Metrics for Style Transfer: A Case Study in Multilingual Formality TransferEleftheria Briakou, Sweta Agrawal, Joel R. Tetreault, Marine CarpuatEMNLP 2021 · 23 citations
- Transferable Persona-Grounded Dialogues via Grounded Minimal EditsChen Henry Wu, Yinhe Zheng, Xiaoxi Mao, Minlie HuangEMNLP 2021 · 14 citations
- INSET: Sentence Infilling with INter-SEntential TransformerYichen Huang, Yizhe Zhang, Oussama Elachqar, Yu ChengACL 2020 · 7 citations
Builds on1
Related papers
- Semi-supervised Formality Style Transfer using Language Model Discriminator and Mutual Information MaximizationKunal Chawla, Diyi YangEMNLP Findings 2020 · 30 citations
- Text Style Transferring via Adversarial Masking and Styled FillingJiarui Wang, Richong Zhang, Junfan Chen, Jaein Kim et al.EMNLP 2022 · 3 citations
- Non-Parallel Text Style Transfer with Self-Parallel SupervisionRuibo Liu, Chongyang Gao, Chenyan Jia, Guangxuan Xu et al.ICLR 2022 · 19 citations
- Exploring Contextual Word-level Style Relevance for Unsupervised Style TransferChulun Zhou, Liangyu Chen, Jiachen Liu, Xinyan Xiao et al.ACL 2020 · 34 citations
- Improving Formality Style Transfer with Context-Aware Rule InjectionZonghai Yao, Hong YuACL 2021
