Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretation
Not on the map. Why?
Abstract (arXiv)
Neural language models show vulnerability to adversarial examples which are semantically similar to their original counterparts with a few words replaced by their synonyms. A common way to improve model robustness is adversarial training which follows two steps-collecting adversarial examples by attacking a target model, and fine-tuning the model on the augmented dataset with these adversarial examples. The objective of traditional adversarial training is to make a model produce the same correct predictions on an original/adversarial example pair. However, the consistency between model decision-makings on two similar texts is ignored. We argue that a robust model should behave consistently on original/adversarial example pairs, that is making the same predictions (what) based on the same reasons (how) which can be reflected by consistent interpretations. In this work, we propose a novel feature-level adversarial training method named FLAT. FLAT aims at improving model robustness in terms of both predictions and interpretations. FLAT incorporates variational word masks in neural networks to learn global word importance and play as a bottleneck teaching the model to make predictions based on important words. FLAT explicitly shoots at the vulnerability problem caused by the mismatch between model understandings on the replaced words and their synonyms in original/adversarial example pairs by regularizing the corresponding global word importance scores. Experiments show the effectiveness of FLAT in improving the robustness with respect to both predictions and interpretations of four neural network models (LSTM, CNN, BERT, and DeBERTa) to two adversarial attacks on four text classification tasks. The models trained via FLAT also show better robustness than baseline models on unforeseen adversarial examples across different attacks.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 36 of its 62 references that are in the map. First posted on arXiv 23 Mar 2022.
Builds on
36 of 62 references.
References · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
24 more
- 2017Interpretation of Neural Networks is Fragilecited by 443
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2019Certified Robustness to Adversarial Word Substitutionscited by 164
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2017Deep Text Classification Can be Fooledcited by 105
- 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
- 2020Robustness Verification for Transformerscited by 76
- 2020SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutionscited by 72
- 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
- 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
- 2017Towards Crafting Text Adversarial Samplescited by 55
- 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 55
- 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
- 2019Robust Attribution Regularizationcited by 46
- 2020CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generationcited by 43
- 2020Proper Network Interpretability Helps Adversarial Robustness in Classificationcited by 41
- 2019Natural Language Adversarial Defense through Synonym Encodingcited by 39
- 2020Learning Variational Word Masks to Improve the Interpretability of Neural Text Classifierscited by 35
Built on by
Citing papers per year: 2022: 2; 2023: 3; 2024: 5; 2025: 2.
12 papers.
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2025Anthropomimetic Uncertainty: What Verbalized Uncertainty in Language Models is Missingcited by 14
- 2023Toward Adversarial Training on Contextualized Language Representationcited by 10
- 2022Adversarial Self-Attention for Language Understandingcited by 8
- 2024Adversarial Training: A Surveycited by 6
- 2022Identifying the Source of Vulnerability in Explanation Discrepancy: A Case Study in Neural Text Classificationcited by 2
- 2023Advancing Perception in Artificial Intelligence through Principles of Cognitive Sciencecited by 1
- 2024Entity Recognition from Colloquial Textcited by 1
- 2024Towards Generalized Certified Robustness with Multi-Norm Trainingcited by 1
- 2024A Survey of Text Style Transfer: Applications and Ethical Implicationscited by 0
- 2024Automated Trustworthiness Oracle Generation for Machine Learning Text Classifierscited by 0
- 2025Adversarially Robust Detection of Harmful Online Content: A Computational Design Science Approachcited by 0
- 2025Adversarially Robust Detection of Harmful Online Content: A Computational Design Science Approach19 Dec 2025
- 2025Anthropomimetic Uncertainty: What Verbalized Uncertainty in Language Models is Missing11 Jul 2025
- 2024Automated Trustworthiness Oracle Generation for Machine Learning Text Classifiers30 Oct 2024
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024Towards Generalized Certified Robustness with Multi-Norm Training3 Oct 2024
- 2024A Survey of Text Style Transfer: Applications and Ethical Implications23 Jul 2024
- 2024Entity Recognition from Colloquial Text9 Jan 2024
- 2023Advancing Perception in Artificial Intelligence through Principles of Cognitive Science13 Oct 2023
- 2023Explainability for Large Language Models: A Survey2 Sep 2023
- 2023Toward Adversarial Training on Contextualized Language Representation8 May 2023
- 2022Identifying the Source of Vulnerability in Explanation Discrepancy: A Case Study in Neural Text Classification10 Dec 2022
- 2022Adversarial Self-Attention for Language Understanding25 Jun 2022