DoubleMix: Simple Interpolation-Based Data Augmentation for Text Classification

Hui Chen, Wei Han, Diyi Yang, Soujanya Poria
9/12/2022
cs.CL

Official code: declare-lab/DoubleMix (19 stars, Python, last commit 2022-10-19).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Code for the COLING 2022 paper "DoubleMix: Simple Interpolation-Based Data Augmentation for Text Classification"

191PythonSep 12, 20224 years ago

Similar Papers

Cite this paper

@article{chen2022doublemix,
  title  = {DoubleMix: Simple Interpolation-Based Data Augmentation for Text Classification},
  author = {Hui Chen and Wei Han and Diyi Yang and Soujanya Poria},
  year   = {2022},
  eprint = {2209.05297},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.05297}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.05297.svg)](https://codeofpaper.com/paper/2209.05297)

Discussion