mlsanityData to 14 Oct 2026

Improving Classifier Robustness through Active Generation of Pairwise Counterfactuals

arXiv 2305.13535 ↗First posted 22 May 2023cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Counterfactual Data Augmentation (CDA) is a commonly used technique for improving robustness in natural language classifiers. However, one fundamental challenge is how to discover meaningful counterfactuals and efficiently label them, with minimal human labeling cost. Most existing methods either completely rely on human-annotated labels, an expensive process which limits the scale of counterfactual data, or implicitly assume label invariance, which may mislead the model with incorrect labels. In this paper, we present a novel framework that utilizes counterfactual generative models to generate a large number of diverse counterfactuals by actively sampling from regions of uncertainty, and then automatically label them with a learned pairwise classifier. Our key insight is that we can more correctly label the generated counterfactuals by training a pairwise classifier that interpolates the relationship between the original example and the counterfactual. We demonstrate that with a small amount of human-annotated counterfactual data (10%), we can generate a counterfactual augmentation dataset with learned labels, that provides an 18-20% improvement in robustness and a 14-21% reduction in errors on 6 out-of-domain datasets, comparable to that of a fully human-annotated counterfactual dataset for both sentiment classification and question paraphrase tasks.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 48 of its 63 references that are in the map. First posted on arXiv 22 May 2023.

Builds on

48 of 63 references.

References · 48

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  5. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  6. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
  7. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  8. 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 870
  9. 2017Deep Bayesian Active Learning with Image Datacited by 819
  10. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  11. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
  12. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
36 more
  1. 2018Generating Natural Language Adversarial Examplescited by 424
  2. 2019Unlabeled Data Improves Adversarial Robustnesscited by 416
  3. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
  4. 2017Snorkel: Rapid Training Data Creation with Weak Supervisioncited by 372
  5. 2019Don't Take the Easy Way Out: Ensemble Based Methods for Avoiding Known Dataset Biasescited by 280
  6. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
  7. 2018Gender Bias in Neural Natural Language Processingcited by 211
  8. 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 210
  9. 2022WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creationcited by 202
  10. 2017Generating Natural Adversarial Examplescited by 183
  11. 2019Certified Robustness to Adversarial Word Substitutionscited by 168
  12. 2018FairGAN: Fairness-aware Generative Adversarial Networkscited by 164
  13. 2018Counterfactual Fairness in Text Classification through Robustnesscited by 151
  14. 2019End-to-End Bias Mitigation by Modelling Biases in Corporacited by 128
  15. 2020Towards Debiasing NLU Models from Unknown Biasescited by 116
  16. 2018Conditional BERT Contextual Augmentationcited by 107
  17. 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 106
  18. 2019It's All in the Name: Mitigating Gender Bias with Name-Based Counterfactual Data Substitutioncited by 103
  19. 2020SSMBA: Self-Supervised Manifold Based Data Augmentation for Improving Out-of-Domain Robustnesscited by 96
  20. 2020Counterfactual Data Augmentation using Locally Factored Dynamicscited by 93
  21. 2016Yelp Dataset Challenge: Review Rating Predictioncited by 84
  22. 2020Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for Textcited by 75
  23. 2017Generative Adversarial Active Learningcited by 70
  24. 2020Learning What Makes a Difference from Counterfactual Examples and Gradient Supervisioncited by 66
  25. 2020Explaining The Efficacy of Counterfactually Augmented Datacited by 65
  26. 2019Bayesian Generative Active Deep Learningcited by 57
  27. 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
  28. 2020Fundamental Tradeoffs between Invariance and Sensitivity to Adversarial Perturbationscited by 55
  29. 2020CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generationcited by 44
  30. 2020Learning to Model and Ignore Dataset Bias with Mixed Capacity Ensemblescited by 43
  31. 2020Counterfactually-Augmented SNLI Training Data Does Not Yield Better Generalization Than Unaugmented Datacited by 27
  32. 2020Evaluating Models' Local Decision Boundaries via Contrast Setscited by 24
  33. 2021End-to-End Self-Debiasing Framework for Robust NLU Trainingcited by 24
  34. 2020A Closer Look at Accuracy vs. Robustnesscited by 14
  35. 2020Improving Robustness by Augmenting Training Sentences with Predicate-Argument Structurescited by 10
  36. 2020Does Data Augmentation Improve Generalization in NLP?cited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.