Adversarial Self-Attention for Language Understanding
Hongqiu Wu, Ruixue Ding, Hai Zhao, Pengjun Xie, Fei Huang, Min Zhang
Abstract
Deep neural models (e.g. Transformer) naturally learn spurious features, which create a "shortcut" between the labels and inputs, thus impairing the generalization and robustness. This paper advances the self-attention mechanism to its robust variant for Transformer-based pre-trained language models (e.g. BERT). We propose Adversarial Self-Attention mechanism (ASA), which adversarially biases the attentions to effectively suppress the model reliance on features (e.g. specific keywords) and encourage its exploration of broader semantics. We conduct a comprehensive evaluation across a wide range of tasks for both pre-training and fine-tuning stages. For pre-training, ASA unfolds remarkable performance gains compared to naive training for longer steps. For fine-tuning, ASA-empowered models outweigh naive models by a large margin considering both generalization and robustness 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Toward Adversarial Training on Contextualized Language Representation cites Adversarial NLI: A New Benchmark for Natural Language Understanding
- Toward Adversarial Training on Contextualized Language Representation cites FreeLB: Enhanced Adversarial Training for Natural Language Understanding
- Toward Adversarial Training on Contextualized Language Representation cites Deberta: decoding-Enhanced Bert with Disentangled Attention
- Toward Adversarial Training on Contextualized Language Representation cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
- Deberta: decoding-Enhanced Bert with Disentangled Attention cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
- Empower Nested Boolean Logic via Self-Supervised Curriculum Learning cites Adversarial NLI: A New Benchmark for Natural Language Understanding
- Empower Nested Boolean Logic via Self-Supervised Curriculum Learning cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
Cited by top-tier papers2
Builds on17
- Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 citations
- Big Bird: Transformers for Longer SequencesManzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie et al.NeurIPS 2020 · 3,159 citations
- Adversarial NLI: A New Benchmark for Natural Language UnderstandingYixin Nie, Adina Williams, Emily Dinan, Mohit Bansal et al.ACL 2020 · 602 citations
- ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 541 citations
- FreeLB: Enhanced Adversarial Training for Natural Language UnderstandingChen Zhu, Yu Cheng, Zhe Gan, Siqi Sun et al.ICLR 2020 · 502 citations
Related papers
- Improving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain PromptingQidong Huang, Xiaoyi Dong, Dongdong Chen, Yinpeng Chen et al.ICCV 2023 · 15 citations
- Impact of Adversarial Training on Robustness and Generalizability of Language ModelsEnes Altinisik, Hassan Sajjad, Husrev T. Sencar, Safa Messaoud et al.ACL Findings 2023 · 10 citations
- ProTransformer: Robustify Transformers via Plug-and-Play ParadigmZhichao Hou, Weizhi Gao, Yuchen Shen, Feiyi Wang et al.NeurIPS 2024 · 9 citations
- Investigating Ensemble Methods for Model Robustness Improvement of Text ClassifiersJieyu Zhao, Xuezhi Wang, Yao Qin, Jilin Chen et al.EMNLP Findings 2022
- Improving the Robustness of Transformer-based Large Language Models with Dynamic AttentionLujia Shen, Yuwen Pu, Shouling Ji, Changjiang Li et al.NDSS 2024
