AMPLIFY:Transformer中用于性能提升和标签平滑的基于注意力的Mixup
AMPLIFY:Attention-based Mixup for Performance Improvement and Label Smoothing in Transformer
AI总结:
针对Mixup易传播噪声且计算成本高的问题,本文提出AMPLIFY,利用Transformer自身注意力抑制异常特征影响,并在7个文本分类基准上以更低开销超越其他Mixup方法。
摘要:
Mixup是一种有效的数据增强方法,通过聚合不同原始样本的线性组合来生成新的增强样本。然而,如果原始样本中存在噪声或异常特征,Mixup可能会将它们传播到增强样本中,导致模型对这些异常值过度敏感。为解决这一问题,本文提出了一种名为AMPLIFY的新型Mixup方法。该方法利用Transformer自身的Attention机制来降低原始样本中噪声和异常值对预测结果的影响,且不会增加额外的可训练参数,计算成本非常低,从而避免了Sentence Mixup等常见Mixup方法中资源消耗较高的问题。实验结果表明,在更低的计算资源成本下,AMPLIFY在7个基准数据集的文本分类任务上优于其他Mixup方法,为进一步提升BERT、ALBERT、RoBERTa和GPT等基于Attention机制的预训练模型的性能提供了新思路和新途径。代码可在https://github.com/kiwi-lilo/AMPLIFY获取。
英文摘要:
Mixup is an effective data augmentation method that generates new augmented samples by aggregating linear combinations of different original samples. However, if there are noises or aberrant features in the original samples, Mixup may propagate them to the augmented samples, leading to over-sensitivity of the model to these outliers . To solve this problem, this paper proposes a new Mixup method called AMPLIFY. This method uses the Attention mechanism of Transformer itself to reduce the influence of noises and aberrant values in the original samples on the prediction results, without increasing additional trainable parameters, and the computational cost is very low, thereby avoiding the problem of high resource consumption in common Mixup methods such as Sentence Mixup . The experimental results show that, under a smaller computational resource cost, AMPLIFY outperforms other Mixup methods in text classification tasks on 7 benchmark datasets, providing new ideas and new ways to further improve the performance of pre-trained models based on the Attention mechanism, such as BERT, ALBERT, RoBERTa, and GPT. Our code can be obtained at https://github.com/kiwi-lilo/AMPLIFY.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。