SegMix: A Simple Structure-Aware Data Augmentation Method

Yuxin Pei, Pushkar Bhuse, Zhengzhong Liu, Eric Xing
11/16/2023
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Interpolation-based Data Augmentation (DA) methods (Mixup) linearly interpolate the inputs and labels of two or more training examples. Mixup has more recently been adapted to the field of Natural Language Processing (NLP), mainly for sequence labeling tasks. However, such a simple adoption yields mixed or unstable improvements over the baseline models. We argue that the direct-adoption methods do not account for structures in NLP tasks. To this end, we propose SegMix, a collection of interpolation-based DA algorithms that can adapt to task-specific structures. SegMix poses fewer constraints on data structures, is robust to various hyperparameter settings, applies to more task settings, and adds little computational overhead. In the algorithm's core, we apply interpolation methods on task-specific meaningful segments, in contrast to applying them on sequences as in prior work. We find SegMix to be a flexible framework that combines rule-based DA methods with interpolation-based methods, creating interesting mixtures of DA techniques. We show that SegMix consistently improves performance over strong baseline models in Named Entity Recognition (NER) and Relation Extraction (RE) tasks, especially under data-scarce settings. Furthermore, this method is easy to implement and adds negligible training overhead.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pei2023segmix,
  title  = {SegMix: A Simple Structure-Aware Data Augmentation Method},
  author = {Yuxin Pei and Pushkar Bhuse and Zhengzhong Liu and Eric Xing},
  year   = {2023},
  eprint = {2311.09505},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09505v1}
}

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/2311.09505.svg)](https://codeofpaper.com/paper/2311.09505)

Discussion