Introduction
Relation Extraction (RE) is a fundamental NLP task that involves identifying semantic relationships between entities in text. While deep learning models have significantly advanced RE, they typically require large amounts of high-quality annotated data. Human annotation is both time-consuming and expensive, leading to the development of Data Augmentation (DA) techniques. However, traditional DA methods often struggle to balance semantic consistency with syntactic diversity. Rule-based methods can break grammatical logic, while simple generative models often produce repetitive, "stereotyped" sentences.
The GDA Framework
To address these challenges, the authors propose GDA (Generative Data Augmentation), a multi-task framework built on the T5 (Text-to-Text Transfer Transformer) architecture. GDA utilizes a shared encoder and two specialized decoders to generate synthetic training data that is both diverse and semantically grounded.
The training process involves two primary tasks:
- Sentence Restructuring: One decoder learns to predict a restructured version of the input sentence. By reordering words based on syntactic parse trees, the model learns to maintain core meaning while varying surface expression.
- Pattern Approximation: This task serves as the "diversity engine." The model is trained to generate a different sentence from the dataset that shares a similar dependency pattern with the input.
Pattern Approximation and Entity Hints
A key innovation in GDA is the use of "patterns," defined as the dependency parsing path between two entities. By forcing the model to approximate these patterns—using Levenshtein distance to find "neighboring" structures—the framework prevents the model from simply memorizing common relational phrases.
Furthermore, GDA incorporates Entity Hints. By feeding target entities directly into the decoder, the model is guided to generate sentences that specifically support the relationship between those entities, rather than producing generic text. During inference, the model takes an existing annotated sentence and an entity hint to produce a new, pseudo-annotated training sample.
Evaluation and Results
The researchers evaluated GDA on three major benchmarks: SemEval 2010 Task 8, TACRED, and TACREV. The framework was specifically tested in low-resource settings (10%, 25%, and 50% of training data).
Key findings include:
- Performance Gains: GDA consistently outperformed baselines, providing an average F1 improvement of 2.0% over models using no augmentation.
- Superiority over SOTA: GDA surpassed the previous state-of-the-art generative method ("Text Gen") by approximately 0.5% F1, despite using a smaller base model (T5-Base vs. GPT-2 Medium).
- Diversity and Naturalness: Quantitative metrics such as Type-Token Ratio (TTR) and Perplexity confirmed that GDA produces more diverse vocabulary and more grammatically natural sentences than competing methods.
Conclusion
GDA represents a significant step forward in generative data augmentation for Relation Extraction. By combining syntactic restructuring with pattern approximation and entity-level control, it generates high-quality synthetic data that helps models generalize better, particularly when human-labeled data is scarce. Future work may involve optimizing the computational cost of the T5-based generation and exploring more efficient syntactic pre-ordering methods.
Summary updated