๐ฎ
๐ฎ
The Ethereal
AMPLIFY:Attention-based Mixup for Performance Improvement and Label Smoothing in Transformer
September 22, 2023 ยท Entered Twilight ยท ๐ PeerJ Computer Science
Repo contents: APEX_layermix.py, APEX_mixup.py, APEX_mixup_test.py, APEX_un_mixup.py, Tmix.py, config, embed_mixup.py, mixup_model, sent_mixup.py
Authors
Leixin Yang, Yu Xiang
arXiv ID
2309.12689
Category
cs.LG: Machine Learning
Cross-listed
cs.CL
Citations
2
Venue
PeerJ Computer Science
Repository
https://github.com/kiwi-lilo/AMPLIFY
โญ 1
Last Checked
3 months ago
Abstract
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.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Machine Learning
๐ฎ
๐ฎ
The Ethereal
Continuous control with deep reinforcement learning
๐
๐
Old Age
Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
๐
๐
Old Age
Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor
๐
๐
Old Age
SGDR: Stochastic Gradient Descent with Warm Restarts
๐ฎ
๐ฎ
The Ethereal