Introduction
Deep learning models for text classification typically require massive amounts of labeled data. In "low-resource" regimes—where only a handful of examples (e.g., 10 or 20 per class) are available—models easily overfit. To combat this, researchers use Data Augmentation (DA). Current DA methods generally fall into two camps: contextual augmentation, which is interpretable but often produces "easy" examples, and representational augmentation, which creates "hard" examples but acts as a "black box." Adversarial Word Dilution (AWD) bridges this gap by creating challenging, interpretable examples through a computationally efficient process.
Methodology: Adversarial Word Dilution
The core innovation of AWD is Word Dilution. Instead of replacing a word entirely, the method mixes the embedding of a "strong" word with the embedding of an "unknown" (unk) token. The mathematical formulation is: $$\tilde{w}_{ij} = (1 - \alpha_{ij})e(w_{ij}) + \alpha_{ij}e(unk)$$ Where $\alpha_{ij}$ is the "dilution weight."
The process involves a min-max optimization framework. A small neural network (the Dilution Network) learns to assign weights ($\alpha$) to words to maximize classification loss—effectively "hiding" the most informative words. Simultaneously, the Classifier (a BERT model) attempts to correctly classify these "diluted" sentences. To ensure the text remains useful, a constraint ($\rho$) limits the total amount of dilution allowed per sentence.
Experimental Evaluation
AWD was evaluated on three standard benchmarks: SST-2 (sentiment analysis), TREC (question classification), and SNIPS (intent classification). These were tested in low-resource configurations with $k=10, 20, 50$ labeled examples per class.
Results and Key Insights
AWD consistently outperformed state-of-the-art baselines, including GPT2, Back-Translation (BT), and Mixup, across all datasets. On the SST-2 dataset with $k=10$, AWD achieved an accuracy of 65.4%, significantly higher than the pure BERT baseline of 62.2%.
Key insights from the study include:
- Dilution as Neutralization: By diluting emblematic words (e.g., "good" or "terrible"), the model is forced to focus on more subtle, neutral parts of the sentence, preventing it from over-relying on a few keywords.
- Interpretability: Unlike standard adversarial noise, the dilution weights provide a clear signal of which words the model considers most important for classification. The model correctly identifies informative words as high-priority targets for dilution.
- Extensibility: The trained dilution network can be applied to new, unseen examples instantly without requiring expensive gradient calculations for every instance.
Conclusion
Adversarial Word Dilution offers a robust and interpretable approach to data augmentation in data-scarce environments. By generating high-quality "hard positives," it significantly improves model performance and robustness compared to traditional heuristic or black-box methods. Future work may explore its application to generative tasks and its dependence on the quality of 'unk' token embeddings.
Summary updated