Abstract
Named Entity Recognition (NER) in specialized domains like medicine and finance often suffers from data scarcity. Traditional data augmentation (DA) methods frequently produce ungrammatical or repetitive results. This paper introduces Guidance Data Augmentation (GDA), a two-step framework that leverages Large Language Models (LLMs) to generate high-quality synthetic training data. By abstracting the underlying structure and entity roles of a sentence before generation, GDA produces diverse and contextually accurate data. Experimental results across scientific, biomedical, and financial datasets demonstrate that GDA consistently outperforms naive LLM-based and rule-based augmentation methods, leading to significant improvements in NER model performance.
Introduction: The Challenge of Specialized NER
Named Entity Recognition (NER) is a critical task in Natural Language Processing (NLP), involving the identification of domain-specific entities such as protein names or financial instruments. While general-purpose NLP benefits from vast datasets, specialized domains like science, biology, and law face chronic data scarcity.
Existing Data Augmentation (DA) techniques often fall short in these contexts:
- Rule-based methods (e.g., synonym swapping) are rigid and often produce ungrammatical or nonsensical sentences.
- Naive LLM generation (simply asking an LLM to "generate more sentences like this") often results in repetitive structures or "hallucinations" where the relationship between the entity and its context is lost.
The authors propose Guidance Data Augmentation (GDA) to bridge this gap, creating a method that generates diverse sentence structures while strictly maintaining the specialized roles entities play within a sentence.
Methods: The GDA Framework
The core of the GDA framework is a shift from simple text-to-text generation toward a "blueprint-to-text" approach. It consists of two main phases:
- Guidance as Data Abstraction: Instead of feeding a raw sentence directly to a generator, the system uses an LLM to create an "Abstraction Prompt." This prompt identifies the Context (the general setting), the Structure (the logical flow), and Entity Roles (how the specific entity interacts with the rest of the sentence).
- Data Augmentation via Guidance Prompt: This abstraction acts as a set of constraints. A second LLM call uses this "blueprint" to generate unique sentences. By following a structural guide rather than just mimicking surface-level strings, the model can vary vocabulary and syntax significantly while keeping the entity's usage technically correct.
The authors evaluated GDA using GPT-3.5 and GPT-4 as guidance engines and BERT as the underlying NER model.
Experimental Setup and Datasets
The study evaluated GDA across three specialized domains to prove its versatility:
- SciERC: Scientific abstracts with entities like "Method," "Metric," and "Task."
- NCBI-disease: Biomedical abstracts from PubMed focused on disease names.
- FIN: Financial agreements and filings from the U.S. SEC.
To simulate real-world data-scarce environments, each dataset started with a tiny "seed" of only 200 instances.
Key Insights
- Structure Over Surface: LLMs perform better when forced to analyze why a sentence is structured a certain way before writing. Extracting "Entity Roles" prevents the model from placing technical terms in inappropriate contexts.
- The Diversity Paradox: Effective augmentation requires data that is different (diverse) yet semantically consistent. Using BLEU-4 and BERTScore, the authors found that GDA produced lower BLEU scores than other methods, indicating that the generated sentences were structurally unique rather than mere clones of the seed data.
- Domain-Specific Logic: In specialized fields, GDA succeeds by treating sentences as logical maps of relationships rather than simple sequences of tokens.
Key Results
- Performance Boost: GDA consistently outperformed Naive LLM augmentation and rule-based baselines (like EDA or WordNet). On the NCBI-disease dataset, GDA (using GPT-3.5) showed a 1.22% improvement in F1 score over naive methods.
- Superior Diversity: Qualitative analysis confirmed that GDA reimagined sentence structures entirely. In the SciERC dataset, GDA achieved a significantly lower BLEU-4 score than EDA, confirming high structural diversity.
- Model Scaling: While GPT-4 is more powerful, GPT-3.5 provided substantial gains within the GDA framework, offering a cost-effective solution for researchers.
Conclusion and Future Work
GDA represents a significant step forward in specialized data augmentation. While currently focused on NER, future work may explore its application to other tasks like relationship extraction. The authors also suggest that a "Multi-LLM" structure—using different specialized models for abstraction and generation—could further refine the quality of synthetic data.
Summary updated