arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.03403cs.CL
收藏

基于数据制图的MixUp预训练语言模型

A Data Cartography based MixUp for Pre-trained Language Models

University of Illinois Chicago(伊利诺伊大学芝加哥分校)

Seo Yeon Park, Cornelia Caragea

摘要:

MixUp是一种数据增强策略,其中通过组合训练样本及其标签的随机对来在训练期间生成额外的样本。然而,选择随机配对可能不是最佳选择。在这项工作中,我们提出了TDMixUp,这是一种新的MixUp策略,它利用了Training Dynamics,并允许将更多信息样本组合起来以生成新的数据样本。我们提出的TDMixUp首先测量置信度、可变性(Swayamdipta等人,2020)和边际面积(AUM)(Pleiss等人,2020)以识别训练样本的特征(例如,作为容易学习或模糊的样本),然后内插这些特征化的样本。我们通过经验验证,我们的方法不仅使用与强基线相比更小的训练数据子集实现了有竞争力的性能,而且在广泛的NLP任务中,在域内和域外设置上,对预训练的语言模型BERT产生了较低的预期校准误差。我们公开发布代码。

英文摘要:

MixUp is a data augmentation strategy where additional samples are generated during training by combining random pairs of training samples and their labels. However, selecting random pairs is not potentially an optimal choice. In this work, we propose TDMixUp, a novel MixUp strategy that leverages Training Dynamics and allows more informative samples to be combined for generating new data samples. Our proposed TDMixUp first measures confidence, variability, (Swayamdipta et al., 2020), and Area Under the Margin (AUM) (Pleiss et al., 2020) to identify the characteristics of training samples (e.g., as easy-to-learn or ambiguous samples), and then interpolates these characterized samples. We empirically validate that our method not only achieves competitive performance using a smaller subset of the training data compared with strong baselines, but also yields lower expected calibration error on the pre-trained language model, BERT, on both in-domain and out-of-domain settings in a wide range of NLP tasks. We publicly release our code.

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

↑