DoubleMix:基于简单插值的文本分类数据增强
DoubleMix: Simple Interpolation-Based Data Augmentation for Text Classification
摘要:
提出了一种简单有效的基于插值的数据增强方法DoubleMix,以提高文本分类模型的鲁棒性。DoubleMix首先利用几个简单的增强操作为每个训练数据生成几个扰动样本,然后使用扰动数据和原始数据在神经模型的隐藏空间中进行两步插值。具体地说,它首先将扰动数据混合成一个合成样本,然后将原始数据和合成扰动数据混合。DoubleMix通过学习隐藏空间中的“移位”特征来增强模型的鲁棒性。在六个文本分类基准数据集上,我们的方法优于几种流行的文本增强方法,包括标记级,隐藏级数据增强技术。此外,在低资源设置的实验表明,我们的方法一致地提高模型的性能时,训练数据是稀缺的。广泛的消融研究和案例研究证实,我们的方法的每个组成部分有助于最终的性能,并表明我们的方法具有优越的性能,具有挑战性的反例。此外,视觉分析表明,我们的方法生成的文本特征是高度可解释的。本文的代码可以在https://github.com/declare-lab/DoubleMix.git上找到。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。