Sequence-to-sequence Pre-training with Data Augmentation for Sentence Rewriting

Yi Zhang, Tao Ge, Furu Wei, Ming Zhou, Xu SunarXiv 2019

Abstract

Sentence rewriting tasks, such as Grammatical Error Correction (GEC) and Formality Style Transfer (FST), are often hindered by a scarcity of high-quality, human-annotated training data. While data augmentation techniques like back-translation are commonly employed to generate synthetic datasets, standard simultaneous training approaches often result in models that over-edit or fail to distinguish between noisy synthetic data and precise "gold" data. This paper introduces a two-phase training strategy (PT&FT) that utilizes massive amounts of augmented data for pre-training followed by fine-tuning on gold data. Combined with task-specific filtering and multi-task transfer, this approach achieves new state-of-the-art results across multiple benchmarks.

Introduction

Sentence rewriting involves transforming a source sentence to improve its quality or alter its style while preserving the original meaning. A major challenge in this field is the "data bottleneck": high-quality parallel corpora are expensive and difficult to scale. To address this, researchers frequently use data augmentation to create millions of synthetic training pairs.

However, the authors identify a critical flaw in the standard practice of training on gold and augmented data simultaneously. Because synthetic data is often noisy or contains identity mappings (where the input and output are identical), models can become "over-aggressive," rewriting correct portions of a sentence. This leads to a degradation in performance on nuanced tasks where precision is paramount.

Methodology: Two-Phase Training

The core of the proposed solution is a shift in the training paradigm from simultaneous training to a sequential, two-phase approach (PT&FT).

  1. Phase 1 (Pre-training): The model is trained on massive volumes of augmented, synthetic data. This phase allows the model to learn broad language representations, generation capabilities, and general transformation patterns.
  2. Phase 2 (Fine-tuning): The model is fine-tuned exclusively on high-quality gold data. In this stage, the gold data serves as the definitive reference, allowing the model to refine its knowledge and overwrite the noisier patterns learned during pre-training.
The proposed two-phase training strategy (right) compared to the standard simultaneous training approach (left).

By separating the data into these phases, the noisy augmented data acts as a useful prior without overwhelming the precision of the human-annotated gold data. This prevents the model from falling into the "over-editing trap."

Data Augmentation and Task-Specific Filtering

To ensure the quality of the pre-training phase, the authors implement task-specific filters and multi-task transfer strategies.

  • Feature Discrimination: For GEC, a "Fluency Discriminator" ensures the synthetic error sentence is actually less fluent than the target. For FST, a "Formality Discriminator" ensures the target is significantly more formal than the source.
  • Multi-task Transfer: The researchers demonstrate that data from one rewriting task can benefit another. For instance, GEC data can be used as augmented data during the pre-training phase for an FST model.
Examples of test instances and the application of formality discriminators (F-Dis) and multi-task (M-Task) data.

Results and Key Insights

The PT&FT approach achieved significant performance gains across several benchmarks:

  • GEC: On the CoNLL-2014 benchmark, the model reached an $F_{0.5}$ score of 62.61 (restricted) and 66.77 (unrestricted), setting new state-of-the-art records.
  • FST: On the GYAFC benchmark, the model achieved BLEU scores of 74.24 (Entertainment & Music) and 77.97 (Family & Relationships), showing absolute improvements of over 2.2 points.
  • Human Evaluation: Graders rated the PT&FT model higher in formality, fluency, and meaning preservation compared to previous multi-task models.

The most significant insight is that the order of training is more critical than the sheer volume of data. Fine-tuning on gold data last teaches the model exactly when not to edit, which is essential for maintaining the integrity of the original sentence.

Conclusion

The two-phase training strategy effectively leverages large-scale synthetic data without sacrificing the precision of gold-standard annotations. While the current method relies on task-specific discriminators, future work aims to develop a task-independent seq2seq pre-training model. Such a foundation could serve as a universal starting point for any monolingual sentence rewriting task, further reducing the reliance on specialized filtering for each new domain.

Summary updated

BibTeX
@misc{zhang2019sequence,
  author = {Yi Zhang and Tao Ge and Furu Wei and Ming Zhou and Xu Sun},
  title = {{Sequence-to-sequence Pre-training with Data Augmentation for Sentence Rewriting}},
  year = {2019},
  eprint = {1909.06002},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.06002},
}
Figure