Skip to main content
QUICK REVIEW

[Paper Review] DoubleMix: Simple Interpolation-Based Data Augmentation for Text Classification

Hui Chen, Wei Han|arXiv (Cornell University)|Sep 12, 2022
Text and Document Classification TechnologiesComputer Science9 citations
TL;DR

DoubleMix is a simple yet effective data augmentation method for text classification that enhances model robustness through two-stage interpolation in the hidden space of neural networks. By first generating perturbed variants of training samples and then mixing them with original inputs at multiple hidden layers, DoubleMix improves performance on six benchmark datasets and low-resource settings, outperforming existing token-, sentence-, and hidden-level augmentation techniques.

ABSTRACT

This paper proposes a simple yet effective interpolation-based data augmentation approach termed DoubleMix, to improve the robustness of models in text classification. DoubleMix first leverages a couple of simple augmentation operations to generate several perturbed samples for each training data, and then uses the perturbed data and original data to carry out a two-step interpolation in the hidden space of neural models. Concretely, it first mixes up the perturbed data to a synthetic sample and then mixes up the original data and the synthetic perturbed data. DoubleMix enhances models' robustness by learning the "shifted" features in hidden space. On six text classification benchmark datasets, our approach outperforms several popular text augmentation methods including token-level, sentence-level, and hidden-level data augmentation techniques. Also, experiments in low-resource settings show our approach consistently improves models' performance when the training data is scarce. Extensive ablation studies and case studies confirm that each component of our approach contributes to the final performance and show that our approach exhibits superior performance on challenging counterexamples. Additionally, visual analysis shows that text features generated by our approach are highly interpretable. Our code for this paper can be found at https://github.com/declare-lab/DoubleMix.git.

Motivation & Objective

  • Address the challenge of limited labeled data in text classification, which leads to overfitting and reliance on shallow heuristics.
  • Overcome limitations of existing data augmentation methods—especially label mixing in hidden-level approaches—that can misrepresent true class probabilities.
  • Improve model generalization by learning robust, shifted features through interpolation in the hidden space without requiring soft label mixing.
  • Demonstrate consistent performance gains under low-resource conditions and on challenging counterexamples.
  • Provide interpretability through visual analysis of learned feature manifolds and case studies on adversarial examples.

Proposed method

  • Apply simple, rule-based augmentation operations (e.g., word insertion, deletion, replacement) to generate multiple perturbed variants of each training sample.
  • Perform a two-step interpolation process: first mix the perturbed variants into a synthetic sample in the hidden space, then mix the original input with this synthetic sample.
  • Enforce a higher mixing weight for the original input than for the synthetic perturbed sample to balance perturbation strength and noise injection.
  • Introduce a Jensen-Shannon divergence regularization term to minimize distributional discrepancies between predictions on original and perturbed inputs.
  • Apply interpolation across multiple transformer encoder layers (e.g., {3,4}, {9,10,12}) to learn hierarchical representations, with optimal performance observed at middle-to-upper layers.
  • Visualize learned features using t-SNE to analyze the geometric structure of representations and validate improved clustering and separation.

Experimental results

Research questions

  • RQ1Can interpolation-based data augmentation in the hidden space improve model robustness without relying on soft label mixing?
  • RQ2How does DoubleMix perform compared to state-of-the-art token-level, sentence-level, and hidden-level data augmentation methods on standard text classification benchmarks?
  • RQ3Does DoubleMix consistently improve performance in low-resource settings where labeled data is scarce?
  • RQ4How do different interpolation layer sets affect representation learning and final performance?
  • RQ5Can DoubleMix effectively handle challenging counterfactual examples that test model generalization beyond surface-level patterns?

Key findings

  • DoubleMix outperforms several SOTA data augmentation methods across six text classification benchmark datasets, with consistent improvements in accuracy and F1 score.
  • On the SNLI dataset with 10,000 training samples, DoubleMix achieved a test accuracy of 71.23% and F1 score of 71.05%, surpassing the BERT baseline (69.77% accuracy, 69.59% F1).
  • When interpolating at layer set {9,10,12}, DoubleMix achieved the highest performance, indicating that upper-layer representations are most effective for robust feature learning.
  • The method significantly improves predictions on counterfactual examples from Kaushik et al. (2020), especially for entailment and neutral labels, where BERT fails more frequently.
  • t-SNE visualization shows that features learned by DoubleMix are better separated across classes than those from the BERT baseline, indicating improved representation learning.
  • Ablation studies confirm that both the perturbation generation and two-stage interpolation components are essential, with the regularization term stabilizing training and improving generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.