[论文解读] NL-Augmenter: A Framework for Task-Sensitive Natural Language Augmentation
NL-Augmenter 是一个参与式 Python 框架,提供 117 种变换和 23 种过滤器,用于任务敏感的 NLP 数据增强和鲁棒性评估,具有公开仓库和对流行模型的初步鲁棒性分析。
Data augmentation is an important component in the robustness evaluation of models in natural language processing (NLP) and in enhancing the diversity of the data they are trained on. In this paper, we present NL-Augmenter, a new participatory Python-based natural language augmentation framework which supports the creation of both transformations (modifications to the data) and filters (data splits according to specific features). We describe the framework and an initial set of 117 transformations and 23 filters for a variety of natural language tasks. We demonstrate the efficacy of NL-Augmenter by using several of its transformations to analyze the robustness of popular natural language models. The infrastructure, datacards and robustness analysis results are available publicly on the NL-Augmenter repository (https://github.com/GEM-benchmark/NL-Augmenter).
研究动机与目标
- 通过汇集多样的任务敏感变换和过滤器,为 NLP 提供鲁棒评估和数据增强。
- 通过参与式工作流程让研究社区参与,以壮大并策划增强原语。
- 将每种增强与常用数据格式和 NLP 任务绑定,以便进行针对性实验。
- 提供一个开放仓库,具备治理和评审标准,以确保质量与可扩展性。
- 对扰动对跨多个 NLP 任务的模型鲁棒性影响进行特征化和分析。
提出的方法
- 通过基于 GitHub 的参与式工作坊进行众包开发,以实现变换和过滤器。
- 发布带有任务和语言标签元数据的 117 种变换和 23 种过滤器。
- 使用三类标签方案对扰动进行分类(通用属性、输出属性、处理属性)。
- 对文本分类任务进行鲁棒性分析,使用四个预训练模型(SST-2 Roberta-base, IMDB Roberta-base, QQP BERT-base-uncased, MNLI Roberta-large)并扰动 20% 的验证数据。
- 评估指标包括转换率(改变句子的分数)以及分数变化(对扰动数据的性能下降)。
- 通过 NL-Augmenter 仓库公开数据、代码和鲁棒性结果。
实验结果
研究问题
- RQ1我们如何系统地创建和组织一个大型、多样化且对任务敏感的 NLP 数据增强集合?
- RQ2在标准 NLP 任务中,大量扰动对模型鲁棒性的影响是什么?
- RQ3参与式框架是否能够产生可扩展的高质量增强,并实现跨语言和任务的鲁棒评估?
- RQ4如何描述、过滤和分析扰动,以理解它们对不同模型和数据集的影响?
主要发现
- 该框架在初始版本中包含 117 种变换和 23 种过滤器。
- 变换和过滤器被设计为支持多种 NLP 任务和语言,并具有任务特定的适用性。
- 使用参与式工作坊和 GitHub 仓库来收集和评审贡献,包含可测试的 JSON 工件。
- 在若干数据集(SST-2, IMDB, QQP, MNLI)上的鲁棒性分析证明了变换在探测模型行为和偏见方面的实用性。
- 结果和扰动元数据在 NL-Augmenter 仓库中公开可得。
- 结构化分类法(标签)引导扰动的导航与分析,促进可重复性和跨模型的比较。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。