Skip to main content
QUICK REVIEW

[Paper Review] Fast Cross-domain Data Augmentation through Neural Sentence Editing

Guillaume Raille, Sandra Djambazovska|arXiv (Cornell University)|Mar 23, 2020
Topic ModelingComputer Science17 references12 citations
TL;DR

This paper introduces the Edit-Transformer, a fast, cross-domain neural sentence editing model that learns to generate diverse, realistic sentence variations from a high-resource source domain (e.g., Yelp) and applies them to low-resource target domains (e.g., SST-2, Subj, Amazon). It achieves faster training and inference than prior methods and significantly improves downstream classification performance, with synthetic data outperforming real data in some cases.

ABSTRACT

Data augmentation promises to alleviate data scarcity. This is most important in cases where the initial data is in short supply. This is, for existing methods, also where augmenting is the most difficult, as learning the full data distribution is impossible. For natural language, sentence editing offers a solution - relying on small but meaningful changes to the original ones. Learning which changes are meaningful also requires large amounts of training data. We thus aim to learn this in a source domain where data is abundant and apply it in a different, target domain, where data is scarce - cross-domain augmentation. We create the Edit-transformer, a Transformer-based sentence editor that is significantly faster than the state of the art and also works cross-domain. We argue that, due to its structure, the Edit-transformer is better suited for cross-domain environments than its edit-based predecessors. We show this performance gap on the Yelp-Wikipedia domain pairs. Finally, we show that due to this cross-domain performance advantage, the Edit-transformer leads to meaningful performance gains in several downstream tasks.

Motivation & Objective

  • To address data scarcity in low-resource NLP domains by enabling effective cross-domain data augmentation.
  • To overcome the limitations of prior neural editing models, which are slow and fail in cross-domain settings.
  • To develop a method that generalizes edits learned in a source domain (e.g., Yelp) to a target domain (e.g., Amazon, SST-2) with minimal performance drop.
  • To improve downstream classification performance using synthetic data generated via controlled, meaningful sentence edits.
  • To demonstrate that synthetic data from the Edit-Transformer can outperform an equivalent amount of real data in certain low-data regimes.

Proposed method

  • The Edit-Transformer replaces the recurrent architecture of the Neural Editor with a Transformer-based encoder-decoder structure, enabling faster training and inference.
  • It learns to generate sentence edits by predicting token-level changes (insertions, deletions, replacements) from source sentences in a high-resource domain.
  • The model is trained on a large-scale source domain (Yelp reviews) to learn a consistent editing policy across diverse sentence structures.
  • At inference, the trained model applies learned edits to sentences in a target domain, generating synthetic training samples.
  • The method implicitly preserves label semantics, as edits are constrained to maintain syntactic and semantic coherence.
  • The approach is evaluated via cross-domain data augmentation: synthetic data is combined with real data to fine-tune downstream classifiers.

Experimental results

Research questions

  • RQ1Can a neural sentence editor trained on a high-resource source domain effectively generate useful synthetic data for a low-resource target domain?
  • RQ2How does the Edit-Transformer compare to prior methods in terms of training and inference speed for data augmentation?
  • RQ3Does the synthetic data generated by the Edit-Transformer lead to measurable improvements in downstream NLP classification tasks?
  • RQ4Can synthetic data from the Edit-Transformer outperform an equivalent amount of real data in low-data regimes?
  • RQ5Why does the Edit-Transformer generalize better across domains than previous edit-based models?

Key findings

  • The Edit-Transformer achieves nearly three times faster training and five times faster inference compared to the Neural Editor baseline.
  • On the Subj dataset, using synthetic data from the Edit-Transformer improved accuracy from 91.44% (100% real data) to 93.06% when augmenting each sample twice, surpassing the performance gain from doubling the real data.
  • On the SST-2 dataset, augmenting 20% and 50% of the data with synthetic samples improved accuracy by up to 1.15 percentage points, while 100% real data showed no further gain.
  • On the Amazon reviews dataset, even with only 1% of the original data, augmenting each sample twice improved accuracy from 85.75% to 86.87%, with consistent gains across all data fractions.
  • The method demonstrates robust cross-domain generalization, with synthetic data improving performance across multiple domains despite domain shift.
  • The Edit-Transformer’s attention-based architecture enables better cross-domain transfer than recurrence-based models, as evidenced by its consistent performance across domain pairs like Yelp→SST-2 and Yelp→Subj.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.