Introduction
Formality Style Transfer (FST) is the task of automatically rewriting informal text—such as social media posts or forum comments—into a formal register suitable for professional communication, while strictly preserving the original semantic meaning. Despite its utility, the development of robust FST models is significantly hindered by data sparsity. The primary benchmark, the Grammarly Yahoo Answers Formality Corpus (GYAFC), contains approximately 100,000 sentence pairs, a volume insufficient for training modern deep neural architectures like Transformers. To address this, we explore three data augmentation strategies to synthesize millions of training examples.
Augmentation Methodologies
The core of our approach lies in generating high-quality synthetic parallel data through three distinct channels:
1. Back Translation (BT)
We utilize standard back-translation by training a model to map formal sentences to informal ones. By applying this model to a large corpus of formal text, we generate synthetic informal inputs, creating new parallel pairs for training.
2. Formality Discrimination (F-Dis)
This novel technique leverages the inherent formal bias of Machine Translation (MT) systems. MT models, typically trained on formal corpora like news or parliamentary proceedings, often "normalize" informal input during translation. By translating an informal sentence into a pivot language (e.g., French) and then back into English, the resulting output often exhibits increased formality. We use a CNN-based formality classifier to filter these pairs, retaining only those where the formality score increases significantly (using a threshold of $\sigma = 0.6$).
3. Multi-task Transfer (M-Task)
Recognizing that grammatical correctness is a hallmark of formal writing, we treat Grammatical Error Correction (GEC) as a proxy task. By utilizing large-scale GEC datasets (like Lang-8 and NUCLE), we train the model to map ungrammatical, informal-leaning text to corrected, formal-leaning versions.
Training Strategy: Pre-training and Fine-tuning
A critical finding of our work is the superiority of a Pre-train & Fine-tune (PT&FT) pipeline over simultaneous training. We first pre-train the model on a massive, albeit noisy, augmented dataset of 4.9 million pairs. Subsequently, we fine-tune the model on the high-quality, human-annotated GYAFC data. This two-stage process allows the model to learn broad stylistic transformations from the synthetic data without being permanently biased by its inherent noise.
Experimental Results
Our approach achieves new state-of-the-art (SOTA) performance on the GYAFC benchmark across both the "Entertainment & Music" (E&M) and "Family & Relationships" (F&R) domains.
As shown in the results table, our model (PT&FT) achieves BLEU scores of 72.63 and 77.01, outperforming previous strong baselines like GPT-CAT and NMT-MTL. An ensemble version of our model further improves these scores to 74.24 and 77.97, respectively. Human evaluations corroborated these metrics, with judges rating our outputs higher in formality, fluency, and meaning preservation compared to previous models.
Conclusion
By strategically combining back-translation, MT-based formality discrimination, and multi-task learning from GEC, we effectively overcome the data bottleneck in Formality Style Transfer. The PT&FT training paradigm proves essential for leveraging large-scale synthetic data. Future research will explore the applicability of these augmentation techniques to other style transfer tasks, such as sentiment or text simplification.
Summary updated