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

明智选择时,您需要的是更多数据:数据增强的通用样本有效策略

When Chosen Wisely, More Data Is What You Need: A Universal Sample-Efficient Strategy For Data Augmentation

Huawei Noah’s Ark Lab(华为诺亚方舟实验室);University of Waterloo(滑铁卢大学)

Ehsan Kamalloo, Mehdi Rezagholizadeh, Ali Ghodsi

摘要:

已知数据增强(DA)可以提高深度神经网络的泛化能力。大多数现有的DA技术天真地添加一定数量的增强样本,而不考虑这些样本的质量和增加的计算成本。为了解决这个问题,几种最先进的DA方法所采用的一种常见策略是在训练期间自适应地生成或重新加权关于任务目标的增强样本。然而,这些自适应DA方法:(1)计算量大,采样效率低,(2)仅针对特定设置而设计。在这项工作中,我们提出了一个通用的DA技术,称为闪光,以克服这两个问题。Glitter可以插入到任何DA方法中,使训练样本高效而不牺牲性能。从预先生成的增强样本池中,Glitter自适应地选择具有最大损失的最坏情况样本的子集,类似于对抗DA。在不改变训练策略的情况下,任务目标可以在所选子集上进行优化。我们在三种广泛使用的训练设置中对GLUE基准、SQuAD和HellaSwag进行了彻底的实验,包括一致性训练、自蒸馏和知识蒸馏,结果表明,与强大的基线相比,Glitter的训练速度更快,并实现了有竞争力的性能。

英文摘要:

Data Augmentation (DA) is known to improve the generalizability of deep neural networks. Most existing DA techniques naively add a certain number of augmented samples without considering the quality and the added computational cost of these samples. To tackle this problem, a common strategy, adopted by several state-of-the-art DA methods, is to adaptively generate or re-weight augmented samples with respect to the task objective during training. However, these adaptive DA methods: (1) are computationally expensive and not sample-efficient, and (2) are designed merely for a specific setting. In this work, we present a universal DA technique, called Glitter, to overcome both issues. Glitter can be plugged into any DA method, making training sample-efficient without sacrificing performance. From a pre-generated pool of augmented samples, Glitter adaptively selects a subset of worst-case samples with maximal loss, analogous to adversarial DA. Without altering the training strategy, the task objective can be optimized on the selected subset. Our thorough experiments on the GLUE benchmark, SQuAD, and HellaSwag in three widely used training setups including consistency training, self-distillation and knowledge distillation reveal that Glitter is substantially faster to train and achieves a competitive performance, compared to strong baselines.

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

↑