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

Entity-to-Text based Data Augmentation for various Named Entity Recognition Tasks

Xuming Hu, Yong Jiang, Aiwei Liu, Zhongqiang Huang, Pengjun Xie, Fei Huang, Lijie Wen, Philip S. Yu

Introduction

Named Entity Recognition (NER) is a fundamental task in information extraction, yet its performance is heavily dependent on the availability of large, high-quality annotated datasets. Unlike sentence-level classification, NER is a "fragile" token-level task where minor perturbations can easily invalidate labels or destroy semantic coherence. Traditional data augmentation techniques, such as word swapping or deletion, often fail because they do not account for the structural constraints of entities. This paper introduces ENTDA, a novel framework that reverses the standard generative augmentation approach by using entities as fixed anchors to synthesize new, semantically rich training data.

The Challenge of Complex NER Structures

Existing augmentation methods typically fall into two categories: rule-based (e.g., shuffling segments) and text-to-text generative models (e.g., DAGA or MELM). Rule-based methods often produce ungrammatical sentences, while text-to-text models struggle with complex entity types. Specifically, standard models are often limited to "flat" NER, where entities are non-overlapping sequences. They fail to handle nested NER (where one entity is contained within another) or discontinuous NER (where an entity mention is split across the sentence).

Comparison of traditional augmentation methods vs. the proposed Entity-to-Text approach for complex NER tasks.

As shown in Figure 1, traditional methods like token replacement or segment shuffling can lead to semantic nonsense or the inability to correctly mark overlapping labels. ENTDA addresses this by treating entities as the input constraints rather than variables to be predicted within a sequence.

The ENTDA Framework

The ENTDA (Entity-to-Text Data Augmentation) framework operates in four distinct stages to ensure both label integrity and linguistic diversity.

1. Entity List Augmentation

Instead of modifying the text directly, ENTDA extracts the entity list from a source sentence and applies four operations:

  • Add: Inserting a random entity of the same type from the training set to expand the model's knowledge.
  • Delete: Removing an entity to simplify the context.
  • Replace: Swapping an entity with another of the same type.
  • Swap: Changing the order of entities to force the generator to create new syntactic structures.

2. Entity-to-Text Generation

The augmented entity list is fed into a fine-tuned T5 (Text-to-Text Transfer Transformer) model. The model is tasked with generating a natural-sounding sentence that incorporates every entity in the provided list. By fixing the entities, the framework ensures that the resulting labels are automatically preserved.

The ENTDA pipeline: from entity list manipulation to diverse text generation.

To avoid repetitive or trivial generations, the authors implement a modified decoding strategy. This strategy penalizes common tokens during the generation process, encouraging the model to explore a wider variety of vocabulary and more complex grammatical constructions.

4. Text Marking and Filtering

Finally, the system automatically maps the original entity list back to the generated text. To maintain high data quality, any generated sample that fails to include all requested entities is discarded.

Experimental Results and Insights

The authors evaluated ENTDA across 13 datasets covering flat, nested, and discontinuous NER. The results demonstrate that ENTDA consistently outperforms both rule-based baselines and previous generative models like DAGA.

  • Overall Performance: ENTDA achieved an average F1 improvement of 1.09% over the strong Unified Seq2Seq backbone.
  • Low-Resource Scenarios: The framework proved particularly effective when training data was scarce. Using only 10% of the training data, ENTDA provided up to a 4.22% F1 boost on challenging discontinuous NER tasks.
  • Semantic Coherence: Human evaluations and GPT-2 perplexity scores confirmed that ENTDA produces sentences that are more grammatically correct and diverse than traditional word-replacement methods.

Conclusion

ENTDA represents a paradigm shift in NER data augmentation by treating entities as anchors for generation. This approach naturally handles the complexities of nested and discontinuous entities while expanding the linguistic variety of the training set. While the computational cost of using large language models for augmentation is higher than rule-based methods, the significant gains in F1 score—especially in low-resource settings—make it a powerful tool for building robust information extraction systems.

Summary updated

BibTeX
@inproceedings{hu2023entity,
  author = {Xuming Hu and Yong Jiang and Aiwei Liu and Zhongqiang Huang and Pengjun Xie and Fei Huang and Lijie Wen and Philip S. Yu},
  title = {{Entity-to-Text based Data Augmentation for various Named Entity Recognition Tasks}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.578},
}
Figure