TL;DR
This paper introduces "Substructure Substitution" (SUB2), a novel data augmentation technique for NLP that intelligently replaces parts of existing data with similar parts, preserving labels. SUB2 consistently improves performance across various NLP tasks, especially in low-resource settings, offering a more robust and generalizable alternative to existing augmentation methods.
What Problem Does This Paper Address?
Data augmentation is crucial for improving the performance and robustness of NLP models, especially when labeled data is scarce. However, many existing augmentation methods are either task-specific, rely on simple word-level manipulations (like synonym replacement or shuffling), or generate entire sequences, which can be computationally expensive and sometimes introduce unwanted noise or errors. The authors aim to bridge this gap by proposing a more structured and generalizable approach to data augmentation that leverages the inherent structure within NLP tasks.
Methods
The core idea is Substructure Substitution (SUB2). Instead of random changes, SUB2 identifies "substructures" within existing data points (e.g., subtrees in parsing, text spans in classification) that share the same label. It then replaces these substructures with other substructures of the same label, creating new, plausible examples.
For structured NLP tasks like part-of-speech tagging, constituency parsing, and dependency parsing, SUB2 directly uses the task's annotations (POS tags, constituent labels, dependency arc labels) as substructure labels.
For more general tasks like text classification, where explicit substructures aren't always present, the authors propose variations:
- Text Spans: Treating contiguous text segments as substructures.
- Parse Trees: Using syntactic parse trees to define substructures.
To make these variations more effective, they introduce several constraints for substitution:
- Text Label: Ensuring the substituted span has the same classification label.
- Constituency: Requiring the substituted span to be a valid constituent in a parse tree.
- Annotated Text Span Label: Matching labels of specific annotated spans.
- Number of Words: Matching the word count of the substituted span.
- "Constituency" in Binary Balanced Tree: A specific tree structure for defining substructures.
Datasets
The paper evaluates SUB2 on several standard NLP datasets:
- Part-of-Speech Tagging: Universal Dependencies (UD) dataset (high-resource and low-resource languages).
- Dependency Parsing: Penn Treebank (PTB) dataset.
- Constituency Parsing: Penn Treebank (PTB), Foreebank (FBANK), and NXT-Switchboard (SWBD) datasets.
- Text Classification: Stanford Sentiment Treebank (SST) and AG News datasets.
The authors also introduce "few-shot" versions of AG News and SST datasets for evaluation.
Key Insights and Ideas
- Structure Matters: The paper strongly suggests that leveraging the inherent structure of NLP tasks (syntactic, semantic) leads to more effective data augmentation than simple token-level manipulations.
- Consistency is Key: Unlike many augmentation methods that can be brittle or even harmful, SUB2 demonstrates consistent performance improvements across diverse tasks and dataset sizes, particularly in low-resource scenarios.
- Flexibility of SUB2: The framework is adaptable. By defining substructures and labels appropriately, it can be applied to a wide range of NLP tasks, from highly structured ones to more general text classification.
- Constraints Improve Specificity: While SUB2 often works well without constraints, applying them (like matching text labels or span lengths) can further refine the augmentation process and improve performance, though finding the optimal combination can be task-dependent.
- XLM-R Synergy: Combining SUB2 with powerful pre-trained models like XLM-R leads to state-of-the-art results on several tasks, highlighting the complementary nature of these approaches.
Key Results
- Consistent Improvement: SUB2 consistently improved performance across all investigated tasks (POS tagging, dependency parsing, constituency parsing, text classification), especially in low-resource settings.
- State-of-the-Art: When combined with XLM-R, SUB2 achieved new state-of-the-art results for sentiment analysis and low-resource part-of-speech tagging.
- Robustness: SUB2 showed more consistent performance gains compared to other augmentation methods like CTXSUB (contextualized substitution) and SHUF (random shuffle), which sometimes hurt performance.
- Low-Resource Advantage: In low-resource POS tagging, SUB2 achieved better average accuracy with a statistically significant p-value. For dependency parsing, SUB2 dominated when training data was extremely limited.
- Text Classification Performance: SUB2, especially with constraints like "text label" and "number of words," often yielded the best results on text classification tasks, sometimes outperforming even unconstrained SUB2.
Limitations and Future Work
- Optimal Constraint Combination: The paper notes that while SUB2 generally performs well, finding the best combination of constraints for text classification can be challenging and task-dependent.
- Why SHUF Works: The authors express curiosity about why the seemingly random "SHUF" method consistently helps few-shot constituency parsing, suggesting this warrants further investigation.
- Explicit Structure in Neural Era: A key open question is whether explicit syntactic parse trees are still essential for NLP tasks in the age of powerful neural networks, given that SUB2 with and without constituency constraints showed only minor differences in some cases.
- Broader Applications: The authors suggest exploring SUB2's application to a wider range of NLP tasks.
Summary updated