Double Perturbation: On the Robustness of Robustness and Counterfactual Bias Evaluation
Not on the map. Why?
Abstract (arXiv)
Robustness and counterfactual bias are usually evaluated on a test dataset. However, are these evaluations robust? If the test dataset is perturbed slightly, will the evaluation results keep the same? In this paper, we propose a "double perturbation" framework to uncover model weaknesses beyond the test dataset. The framework first perturbs the test dataset to construct abundant natural sentences similar to the test data, and then diagnoses the prediction change regarding a single-word substitution. We apply this framework to study two perturbation-based approaches that are used to analyze models' robustness and counterfactual bias in English. (1) For robustness, we focus on synonym substitutions and identify vulnerable examples where prediction can be altered. Our proposed attack attains high success rates (96.0%-99.8%) in finding vulnerable examples on both original and robustly trained CNNs and Transformers. (2) For counterfactual bias, we focus on substituting demographic tokens (e.g., gender, race) and measure the shift of the expected prediction among constructed sentences. Our method is able to reveal the hidden model biases not directly shown in the test dataset. Our code is available at https://github.com/chong-z/nlp-second-order-attack.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 36 of its 51 references that are in the map. First posted on arXiv 12 Apr 2021.
Builds on
36 of 51 references.
References · 36
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2017Counterfactual Fairnesscited by 802
- 2014Certifying and removing disparate impactcited by 715
- 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
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
24 more
- 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2019On Measuring Social Biases in Sentence Encoderscited by 397
- 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
- 2018Examining Gender and Race Bias in Two Hundred Sentiment Analysis Systemscited by 234
- 2019Gender Bias in Contextualized Word Embeddingscited by 203
- 2017Generating Natural Adversarial Examplescited by 182
- 2019Certified Robustness to Adversarial Word Substitutionscited by 164
- 2018Counterfactual Fairness in Text Classification through Robustnesscited by 150
- 2019Reducing Sentiment Bias in Language Models via Counterfactual Evaluationcited by 148
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
- 2020Towards Controllable Biases in Language Generationcited by 112
- 2018Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examplescited by 93
- 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
- 2020Robustness Verification for Transformerscited by 76
- 2019Perturbation Sensitivity Analysis to Detect Unintended Model Biasescited by 74
- 2019The Limitations of Adversarial Training and the Blind-Spot Attackcited by 63
- 2018Training verified learners with learned verifierscited by 50
- 2021Generating Syntactically Controlled Paraphrases without Using Annotated Parallel Pairscited by 45
- 2018Greedy Attack and Gumbel Attack: Generating Adversarial Examples for Discrete Datacited by 37
- 2020Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemblecited by 26
Built on by
Citing papers per year: 2021: 1; 2022: 5; 2023: 2; 2024: 1.
9 papers.
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2024Cognitive Bias in Decision-Making with LLMscited by 104
- 2022Theories of "Gender" in NLP Bias Researchcited by 62
- 2022Perturbation Augmentation for Fairer NLPcited by 51
- 2022The Tail Wagging the Dog: Dataset Construction Biases of Social Bias Benchmarkscited by 31
- 2022SODAPOP: Open-Ended Discovery of Social Biases in Social Commonsense Reasoning Modelscited by 22
- 2021Is My Model Using The Right Evidence? Systematic Probes for Examining Evidence-Based Tabular Reasoningcited by 9
- 2023Bias Beyond English: Counterfactual Tests for Bias in Sentiment Analysis in Four Languagescited by 8
- 2023Counter-GAP: Counterfactual Bias Evaluation through Gendered Ambiguous Pronounscited by 5
- 2024Cognitive Bias in Decision-Making with LLMs25 Feb 2024
- 2023Bias Beyond English: Counterfactual Tests for Bias in Sentiment Analysis in Four Languages19 May 2023
- 2023Counter-GAP: Counterfactual Bias Evaluation through Gendered Ambiguous Pronouns11 Feb 2023
- 2022The Tail Wagging the Dog: Dataset Construction Biases of Social Bias Benchmarks18 Oct 2022
- 2022SODAPOP: Open-Ended Discovery of Social Biases in Social Commonsense Reasoning Models13 Oct 2022
- 2022A Holistic Approach to Undesired Content Detection in the Real World5 Aug 2022
- 2022Perturbation Augmentation for Fairer NLP25 May 2022
- 2022Theories of "Gender" in NLP Bias Research5 May 2022
- 2021Is My Model Using The Right Evidence? Systematic Probes for Examining Evidence-Based Tabular Reasoning2 Aug 2021