Token-Aware Virtual Adversarial Training in Natural Language Understanding
摘要
Gradient-based adversarial training is widely used in improving the robustness of neural networks, while it cannot be easily adapted to natural language processing tasks since the embedding space is discrete. In natural language processing fields, virtual adversarial training is introduced since texts are discrete and cannot be perturbed by gradients directly. Alternatively, virtual adversarial training, which generates perturbations on the embedding space, is introduced in NLP tasks. Despite its success, existing virtual adversarial training methods generate perturbations roughly constrained by Frobenius normalization balls. To craft fine-grained perturbations, we propose a Token-Aware Virtual Adversarial Training method. We introduce a token-level accumulated perturbation vocabulary to initialize the perturbations better and use a token-level normalization ball to constrain these perturbations pertinently. Experiments show that our method improves the performance of pre-trained models such as BERT and ALBERT in various tasks by a considerable margin. The proposed method improves the score of the GLUE benchmark from 78.3 to 80.9 using BERT model and it also enhances the performance of sequence labeling and text classification tasks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficient Adversarial Training in LLMs with Continuous Attacks 引用了 Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space
- ProTransformer: Robustify Transformers via Plug-and-Play Paradigm 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- ProTransformer: Robustify Transformers via Plug-and-Play Paradigm 引用了 FreeLB: Enhanced Adversarial Training for Natural Language Understanding
- Flooding-X: Improving BERT's Resistance to Adversarial Attacks via Loss-Restricted Fine-Tuning 引用了 FreeLB: Enhanced Adversarial Training for Natural Language Understanding
- Flooding-X: Improving BERT's Resistance to Adversarial Attacks via Loss-Restricted Fine-Tuning 引用了 BERT-ATTACK: Adversarial Attack Against BERT Using BERT
- Efficient Adversarial Training with Robust Early-Bird Tickets 引用了 FreeLB: Enhanced Adversarial Training for Natural Language Understanding
- Efficient Adversarial Training with Robust Early-Bird Tickets 引用了 Flooding-X: Improving BERT's Resistance to Adversarial Attacks via Loss-Restricted Fine-Tuning
- Efficient Adversarial Training with Robust Early-Bird Tickets 引用了 BERT-ATTACK: Adversarial Attack Against BERT Using BERT
- Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space 引用了 FreeLB: Enhanced Adversarial Training for Natural Language Understanding
引用它的顶会 Paper11
- Efficient Adversarial Training in LLMs with Continuous AttacksSophie Xhonneux, Alessandro Sordoni, Stephan Günnemann, Gauthier Gidel 等NeurIPS 2024 · 151 次引用
- Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding SpaceLeo Schwinn, David Dobre, Sophie Xhonneux, Gauthier Gidel 等NeurIPS 2024 · 113 次引用
- Flooding-X: Improving BERT's Resistance to Adversarial Attacks via Loss-Restricted Fine-TuningQin Liu, Rui Zheng, Bao Rong, Jingyi Liu 等ACL 2022 · 35 次引用
- ProTransformer: Robustify Transformers via Plug-and-Play ParadigmZhichao Hou, Weizhi Gao, Yuchen Shen, Feiyi Wang 等NeurIPS 2024 · 9 次引用
- Efficient Adversarial Training with Robust Early-Bird TicketsZhiheng Xi, Rui Zheng, Tao Gui, Qi Zhang 等EMNLP 2022 · 7 次引用
它引用的 Paper5
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
- BERT-ATTACK: Adversarial Attack Against BERT Using BERTLinyang Li, Ruotian Ma, Qipeng Guo, Xiangyang Xue 等EMNLP 2020 · 529 次引用
- FreeLB: Enhanced Adversarial Training for Natural Language UnderstandingChen Zhu, Yu Cheng, Zhe Gan, Siqi Sun 等ICLR 2020 · 502 次引用
- AdvAug: Robust Adversarial Augmentation for Neural Machine TranslationYong Cheng, Lu Jiang, Wolfgang Macherey, Jacob EisensteinACL 2020 · 105 次引用
相关 Paper
- Generative Adversarial Training with Perturbed Token Detection for Model RobustnessJiahao Zhao, Wenji MaoEMNLP 2023 · 3 次引用
- Virtual Data Augmentation: A Robust and General Framework for Fine-tuning Pre-trained ModelsKun Zhou, Wayne Xin Zhao, Sirui Wang, Fuzheng Zhang 等EMNLP 2021 · 6 次引用
- Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 次引用
- MATE-KD: Masked Adversarial TExt, a Companion to Knowledge DistillationAhmad Rashid, Vasileios Lioutas, Mehdi RezagholizadehACL 2021
- Impact of Adversarial Training on Robustness and Generalizability of Language ModelsEnes Altinisik, Hassan Sajjad, Husrev T. Sencar, Safa Messaoud 等ACL Findings 2023 · 10 次引用
