arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.00415cs.CL
收藏

CoDa:面向低资源NLP的基于约束生成的数据增强方法

CoDa: Constrained Generation based Data Augmentation for Low-Resource NLP

University of Maryland(马里兰大学);NVIDIA(英伟达公司)

Chandra Kiran Reddy Evuru, Sreyan Ghosh, Sonal Kumar, Ramaneswaran S, Utkarsh Tyagi, Dinesh Manocha

AI总结:

CoDa通过从低资源数据中提取简单约束并提示大语言模型生成多样化训练样本,实现无需训练的可控数据增强,在11个数据集上优于基线方法。

摘要:

我们提出CoDa(Constrained Generation based Data Augmentation,基于约束生成的数据增强),这是一种可控、有效且无需训练的数据增强技术,适用于低资源(数据稀缺)NLP。我们的方法基于提示现成的指令跟随大语言模型(LLMs)来生成满足一组约束的文本。具体而言,我们从低资源数据集中的每个实例中提取一组简单约束,并将其转化为自然语言表述,以提示LLM生成新颖且多样的训练实例。我们的研究发现表明,遵循下游数据集中简单约束的合成数据能够作为高效的数据增强样本,而CoDa无需复杂的解码时约束生成技术,也无需使用复杂算法进行微调——后者最终会使模型偏向于少量训练实例。此外,CoDa是首个为用户提供对增强生成过程显式控制的框架,因此也便于适应多个领域。我们在涵盖3个任务和3种低资源设置的11个数据集上验证了CoDa的有效性。CoDa在定性和定量上均优于所有基线方法,提升幅度为0.12%-7.19%。代码可在以下地址获取:https://github.com/Sreyan88/CoDa

英文摘要:

We present CoDa (Constrained Generation based Data Augmentation), a controllable, effective, and training-free data augmentation technique for low-resource (data-scarce) NLP. Our approach is based on prompting off-the-shelf instruction-following Large Language Models (LLMs) for generating text that satisfies a set of constraints. Precisely, we extract a set of simple constraints from every instance in the low-resource dataset and verbalize them to prompt an LLM to generate novel and diverse training instances. Our findings reveal that synthetic data that follows simple constraints in the downstream dataset act as highly effective augmentations, and CoDa can achieve this without intricate decoding-time constrained generation techniques or fine-tuning with complex algorithms that eventually make the model biased toward the small number of training instances. Additionally, CoDa is the first framework that provides users explicit control over the augmentation generation process, thereby also allowing easy adaptation to several domains. We demonstrate the effectiveness of CoDa across 11 datasets spanning 3 tasks and 3 low-resource settings. CoDa outperforms all our baselines, qualitatively and quantitatively, with improvements of 0.12%-7.19%. Code is available here: https://github.com/Sreyan88/CoDa

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑