NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Transplant Then Regenerate: A New Paradigm for Text Data Augmentation

Gaohong Wang, Hongyu Zhang, Beijun Shen, Xiaodong Gu2025

Abstract

Data augmentation is a critical technique in deep learning. Traditional methods like Backtranslation typically focus on lexical-level rephrasing, which primarily produces variations with the same semantics. While large language models (LLMs) have enhanced text augmentation by their "knowledge emergence" capability, controlling the style and structure of these outputs remains challenging and requires meticulous prompt engineering. In this paper, we propose LMTransplant, a novel text augmentation paradigm leveraging LLMs. The core idea of LMTransplant is transplant-then-regenerate: incorporating seed text into a context expanded by LLM, and asking the LLM to regenerate a variant based on the expanded context. This strategy allows the model to create more diverse and creative content-level variants by fully leveraging the knowledge embedded in LLMs, while preserving the core attributes of the original text. We evaluate LMTransplant across various text-related tasks, demonstrating its superior performance over existing text augmentation methods. Moreover, LMTransplant demonstrates exceptional scalability as the size of augmented data grows.

Introduction

Deep learning models are notoriously "data-hungry," yet high-quality labeled datasets are expensive and time-consuming to construct. Data augmentation—the practice of creating synthetic training samples from existing ones—has become the standard solution to mitigate data scarcity. However, traditional NLP augmentation methods have hit a ceiling. Simple lexical methods like EDA (Easy Data Augmentation) often result in ungrammatical sentences, while advanced methods like Back-translation produce grammatically correct text that lacks semantic diversity; the output is usually just a slightly different way of saying the exact same thing.

While Large Language Models (LLMs) offer significant potential for text generation, using them for augmentation is non-trivial. Naive prompting often leads to the loss of core attributes required for the original label or produces repetitive, uninspired variants. LMTransplant addresses these issues by using context as a semantic anchor.

Methodology: The TTR Framework

LMTransplant introduces a two-step "transplant-then-regenerate" (TTR) workflow designed to maximize the creative potential of LLMs while maintaining structural integrity:

  1. Transplant (Context Building): Instead of viewing a sentence in isolation, the system treats it as a fragment of a larger narrative. Using an LLM, the system performs bidirectional text continuation, generating a "preceding context" and a "subsequent context." This creates a semantically rich "neighborhood" for the original seed text.
  2. Regeneration (Masked Filling): The original seed text is then masked. The LLM is prompted to fill that mask with a new version that fits logically and stylistically within the synthetic context it just created.
The LMTransplant workflow: generating surrounding context (left) and then regenerating the masked seed text using an LLM (right).

By forcing the LLM to respect the surrounding context, the regenerated text naturally maintains the theme and sentiment of the original while introducing higher levels of creative variation and new vocabulary.

Experimental Results

The researchers evaluated LMTransplant across five diverse NLP benchmarks, including sentiment classification (SST-2), intent detection (SNIPS), and multilingual question answering (MLQA).

Performance and Scalability

LMTransplant consistently outperformed both traditional baselines and other LLM-based methods like AugGPT or GPT3Mix. In low-resource scenarios (e.g., 10 samples per class), LMTransplant improved accuracy by massive margins: +28.16% on SST-2 and +23.66% on MLQA compared to no augmentation.

One of the most significant findings is the method's exceptional scalability. Most augmentation methods hit a point of diminishing returns where adding more synthetic data ceases to provide benefits. As shown in the performance analysis, LMTransplant continues to improve model accuracy even as the volume of augmented data grows significantly, far outpacing competitors like EDA or Back-translation.

Performance comparison showing LMTransplant's superior scalability and accuracy as the number of augmented samples per seed increases.

Key Insights

  • Context as a Bridge: Generating the "before and after" first locks the LLM into the correct semantic space, allowing it to be creative with the regenerated sentence without drifting away from the original label.
  • Knowledge Emergence: The method effectively mines latent knowledge. For example, when augmenting a question about astronomy, LMTransplant might introduce specific terms like "Milky Way" or "light-years" that were absent in the original text but are contextually relevant.

Conclusion and Future Work

While LMTransplant is computationally more intensive than rule-based methods due to multiple LLM passes, its ability to generate high-quality, diverse, and label-consistent data makes it a powerful tool for low-resource NLP. Future work will focus on optimizing the computational cost and adapting the framework for complex reasoning tasks beyond classification and named entity recognition.

Summary updated

BibTeX
@misc{wang2025transplant,
  author = {Gaohong Wang and Hongyu Zhang and Beijun Shen and Xiaodong Gu},
  title = {{Transplant Then Regenerate: A New Paradigm for Text Data Augmentation}},
  year = {2025},
  doi = {10.18653/v1/2025.emnlp-main.702},
}
Figure