[Paper Review] Word Embedding Perturbation for Sentence Classification
This paper proposes word embedding perturbation as a data augmentation technique to reduce overfitting in sentence classification by adding noise to pre-trained word embeddings. It demonstrates that adversarial training with constraints consistently improves performance across multiple NLP tasks, especially on limited training data, outperforming standard dropout and Gaussian noise methods.
In this technique report, we aim to mitigate the overfitting problem of natural language by applying data augmentation methods. Specifically, we attempt several types of noise to perturb the input word embedding, such as Gaussian noise, Bernoulli noise, and adversarial noise, etc. We also apply several constraints on different types of noise. By implementing these proposed data augmentation methods, the baseline models can gain improvements on several sentence classification tasks.
Motivation & Objective
- To address overfitting in neural network models trained on small supervised NLP datasets.
- To explore data augmentation techniques in the continuous word embedding space, avoiding reliance on external knowledge or discrete text manipulation.
- To evaluate the effectiveness of various noise types—Gaussian, Bernoulli, and adversarial—on sentence classification performance.
- To investigate how constraints on noise (e.g., spatial or loss-adversarial) improve model generalization.
- To compare continuous noise (Gaussian) with discrete noise (Bernoulli) in terms of model performance and robustness.
Proposed method
- Applies Gaussian noise by element-wise multiplication of the input word embedding sequence with a noise matrix sampled from a normal distribution: $ X_{emb} \leftarrow X_{emb} \odot e, e \sim \mathcal{N}(I, \sigma^2 I) $.
- Implements Bernoulli noise as a form of dropout: $ X_{emb} \leftarrow (1/p)X_{emb} \odot e, e \sim \mathcal{B}(n,p) $, where units are randomly zeroed with probability $ 1-p $.
- Uses adversarial training to generate perturbations that maximize the loss: $ e \leftarrow e + \sigma g / \|g\| $, where $ g = \nabla_e L(X;\theta) $.
- Introduces constrained variants such as word dropout, semantic dropout, and loss-adversarial noise to improve robustness by preserving contextual or semantic structure.
- Applies perturbations during training only, maintaining original inputs during inference.
- Employs multi-channel CNN and multi-perspective CNN models for sentence classification, using pre-trained word2vec and GloVe embeddings with fine-tuning or fixed weights.
Experimental results
Research questions
- RQ1Does adding continuous noise to word embeddings improve generalization in sentence classification tasks with limited training data?
- RQ2How do different noise types—Gaussian, Bernoulli, and adversarial—compare in terms of performance and stability across multiple NLP benchmarks?
- RQ3Can applying constraints to noise (e.g., spatial or loss-adversarial) lead to better model robustness and performance than unconstrained noise?
- RQ4Is continuous noise (e.g., Gaussian) more effective than discrete noise (e.g., Bernoulli dropout) in preserving model performance while enhancing generalization?
- RQ5How does the effectiveness of word embedding perturbation vary with decreasing training data size?
Key findings
- Adversarial training with perturbations consistently improved performance across all datasets, with gains of 0.1% to 0.4% over the baseline.
- Gaussian adversarial noise showed significant improvements on the SST and TrecQA datasets, indicating its effectiveness in boosting robustness.
- Bernoulli-semantic noise was promising but less stable, particularly on the TrecQA dataset, suggesting sensitivity to semantic constraints.
- Continuous noise types (Gaussian, Gaussian adversarial) outperformed or matched discrete noise (Bernoulli, adversarial dropout), likely due to higher entropy and smoother perturbations.
- The performance gains from perturbation increased as training data size decreased, demonstrating stronger benefits on smaller datasets.
- Constraints such as word dropout and semantic dropout improved performance over vanilla dropout, indicating that context-aware noise design enhances model generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.