TL;DR
This paper introduces a novel syntax-driven data augmentation technique for Named Entity Recognition (NER) in low-resource settings. By leveraging constituency trees to guide sentence mutations, they aim to preserve linguistic cohesion and improve model performance, outperforming simpler augmentation methods, especially as dataset sizes grow.
What Problem Does This Paper Address?
Training effective Named Entity Recognition (NER) models, especially in low-resource scenarios, often requires large amounts of annotated data. While data augmentation is a common solution, most existing methods focus on document-level tasks and can introduce ungrammatical or semantically nonsensical examples when applied at the token level. This paper addresses the challenge of creating high-quality, token-level augmented data for NER that maintains linguistic integrity and genuinely improves model generalization.
Methods
The authors propose and compare several data augmentation strategies for NER:
- Synonym Replacement (SR): Replaces tokens with synonyms from WordNet, carefully handling entity tags.
- Mention Replacement (MR): Replaces entire named entity mentions with other mentions of the same type from the training data.
- Language Model (LM) Replacement: Uses a masked language model (SciBERT) to replace non-entity tokens, generating replacements up to k times.
- Constituency Replacement (CR): This is the core novel contribution. It uses constituency parsing to identify non-terminal nodes (phrases) in sentences. The method then replaces these nodes with similar nodes from other sentences in the training data, aiming to preserve syntactic structure and linguistic cohesion. They specifically target common phrase types like NP, VP, ADJP, ADVP, and PP, excluding fragments.
Datasets
The experiments were conducted on the i2b2-2010 English language dataset for NER. To simulate low-resource settings, they used three different dataset sizes: the first 50 (S), 150 (M), and 500 (L) sentences from the training set. The default train-test split was used, and augmentations were applied only to the training set.
Key Insights and Ideas
- Syntax Matters for Cohesion: Naive token-level augmentation can easily break sentence structure and meaning. Using syntactic information (like constituency trees) is crucial for generating more coherent and useful augmented data.
- CR Outperforms SR/MR on Larger Datasets: While synonym replacement (SR) is effective for very small datasets, its performance degrades as data size increases. Constituency Replacement (CR) and Language Model (LM) replacement methods show more consistent performance and even improve as dataset sizes grow.
- The Trade-off with Data Size: For larger datasets, some augmentation strategies (like MR and certain CR variants) can actually hurt performance, suggesting that the augmented data might introduce noise or drift that negatively impacts fine-tuning.
- Phrase Type Importance: The effectiveness of CR can depend on the type of phrase being replaced. While NPs are the most frequent, CR-VP and CR-PP strategies showed better performance than CR-NP, suggesting that the syntactic role and position of a phrase within the tree might be more critical than its frequency.
Key Results
- Synonym Replacement (SR) achieved the highest F1 scores on the smallest dataset sizes (S and M), outperforming other methods.
- Constituency Replacement (CR), particularly CR-VP, demonstrated the most consistent performance growth across all dataset sizes and was competitive with the LM approach.
- For the largest dataset (L), CR-VP achieved the highest F1 score (72.8 ± 0.1), outperforming even the LM approach.
- The paper found that generating more augmented samples (e.g., 10 or 20 instead of 5) led to more consistent performance gains for CR-VP compared to LM, where performance could drop with fewer generated samples.
Limitations and Future Work
- Cohesion Drift: The authors acknowledge that even their syntax-driven CR method can sometimes produce sentences that are grammatical but lack cohesion, potentially impacting model performance negatively.
- Constituency Parser Dependency: The performance of CR is also dependent on the accuracy of the constituency parser used. An example is given where a misclassified word led to an incorrect VP constituent.
- Hybridization: Future work could involve hybridizing syntactic transformations with large-scale language models. This could include training LMs to recognize phrasal categories or functional tags to better understand constituency.
- Data Weighting: Assigning different weights to augmented data points versus gold data during training is suggested as a way to control the influence of augmented samples.
Summary updated