mlsanityData to 7 Oct 2026

Learning What Makes a Difference from Counterfactual Examples and Gradient Supervision

arXiv 2004.09034 ↗First posted 20 Apr 2020cs.CV cs.LGcited by 66

Not on the map. Why?

Abstract (arXiv)

One of the primary challenges limiting the applicability of deep learning is its susceptibility to learning spurious correlations rather than the underlying mechanisms of the task of interest. The resulting failure to generalise cannot be addressed by simply using more data from the same distribution. We propose an auxiliary training objective that improves the generalization capabilities of neural networks by leveraging an overlooked supervisory signal found in existing datasets. We use pairs of minimally-different examples with different labels, a.k.a counterfactual or contrasting examples, which provide a signal indicative of the underlying causal structure of the task. We show that such pairs can be identified in a number of existing datasets in computer vision (visual question answering, multi-label image classification) and natural language processing (sentiment analysis, natural language inference). The new training objective orients the gradient of a model's decision function with pairs of counterfactual examples. Models trained with this technique demonstrate improved performance on out-of-distribution test sets.

Key facts. Cited by 66 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Apr 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 23; 2022: 12; 2023: 15; 2024: 8; 2025: 5; 2026: 3.

66 papers.

Sort:

By area:

  1. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
  2. 2021Counterfactual Generative Networkscited by 111
  3. 2021Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalizationcited by 83
  4. 2021Counterfactual Invariance to Spurious Correlations: Why and How to Pass Stress Testscited by 77
  5. 2021Tailor: Generating and Perturbing Text with Semantic Controlscited by 67
  6. 2025CF-VLM:CounterFactual Vision-Language Fine-tuningcited by 57
  7. 2022ID and OOD Performance Are Sometimes Inversely Correlated on Real-world Datasetscited by 44
  8. 2021An Investigation of the (In)effectiveness of Counterfactually Augmented Datacited by 42
  9. 2021Finding and Fixing Spurious Patterns with Explanationscited by 38
  10. 2023Learning Support and Trivial Prototypes for Interpretable Image Classificationcited by 38
  11. 2021CRASS: A Novel Data Set and Benchmark to Test Counterfactual Reasoning of Large Language Modelscited by 33
  12. 2021Exploring the Efficacy of Automatically Generated Counterfactuals for Sentiment Analysiscited by 30
38 more
  1. 2021Supervising Model Attention with Human Explanations for Robust Natural Language Inferencecited by 29
  2. 2022Predicting is not Understanding: Recognizing and Addressing Underspecification in Machine Learningcited by 26
  3. 2023CREST: A Joint Framework for Rationalization and Counterfactual Text Generationcited by 24
  4. 2023Robust Visual Question Answering: Datasets, Methods, and Future Challengescited by 23
  5. 2024Explaining Time Series via Contrastive and Locally Sparse Perturbationscited by 22
  6. 2022Nuisances via Negativa: Adjusting for Spurious Correlations via Data Augmentationcited by 18
  7. 2021LPF: A Language-Prior Feedback Objective Function for De-biased Visual Question Answeringcited by 17
  8. 2022Chroma-VAE: Mitigating Shortcut Learning with Generative Classifierscited by 17
  9. 2023Studying How to Efficiently and Effectively Guide Models with Explanationscited by 16
  10. 2021CLEVR_HYP: A Challenge Dataset and Baselines for Visual Question Answering with Hypothetical Actions over Imagescited by 14
  11. 2023A Review of the Role of Causality in Developing Trustworthy AI Systemscited by 14
  12. 2021Empowering Language Understanding with Counterfactual Reasoningcited by 13
  13. 2022VisFIS: Visual Feature Importance Supervision with Right-for-the-Right-Reason Objectivescited by 12
  14. 2022Fact Checking with Insufficient Evidencecited by 11
  15. 2023Mixture of Gaussian-distributed Prototypes with Generative Modelling for Interpretable and Trustworthy Image Recognitioncited by 11
  16. 2021X-GGM: Graph Generative Modeling for Out-of-Distribution Generalization in Visual Question Answeringcited by 10
  17. 2021Semantically Distributed Robust Optimization for Vision-and-Language Inferencecited by 9
  18. 2021Learning with Instance Bundles for Reading Comprehensioncited by 8
  19. 2024A Comprehensive Survey on Visual Question Answering Datasets and Algorithmscited by 8
  20. 2021Causal Learning for Socially Responsible AIcited by 7
  21. 2021General Greedy De-bias Learningcited by 7
  22. 2023Distilling Robustness into Natural Language Inference Models with Domain-Targeted Augmentationcited by 7
  23. 2021Paired Examples as Indirect Supervision in Latent Decision Modelscited by 6
  24. 2021Language bias in Visual Question Answering: A Survey and Taxonomycited by 6
  25. 2021Counterfactual Maximum Likelihood Estimation for Training Deep Networkscited by 5
  26. 2022Text Transformations in Contrastive Self-Supervised Learning: A Reviewcited by 5
  27. 2022COIN: Counterfactual Image Generation for VQA Interpretationcited by 4
  28. 2024Improving deep learning with prior knowledge and cognitive models: A survey on enhancing explainability, adversarial robustness and zero-shot learningcited by 4
  29. 2025Improving the OOD Performance of Closed-Source LLMs on NLI Through Strategic Data Selectioncited by 4
  30. 2021A Picture May Be Worth a Hundred Words for Visual Question Answeringcited by 3
  31. 2022Bias Challenges in Counterfactual Data Augmentationcited by 3
  32. 2023Improving the Out-Of-Distribution Generalization Capability of Language Models: Counterfactually-Augmented Data is not Enoughcited by 3
  33. 2023Counterfactual Explanations via Locally-guided Sequential Algorithmic Recoursecited by 3
  34. 2024Explanation based Bias Decoupling Regularization for Natural Language Inferencecited by 3
  35. 2021Counterfactual Adversarial Learning with Representation Interpolationcited by 2
  36. 2022Plug and Play Counterfactual Text Generation for Model Robustnesscited by 2
  37. 2023SMoA: Sparse Mixture of Adapters to Mitigate Multiple Dataset Biasescited by 2
  38. 2023Unlock the Potential of Counterfactually-Augmented Data in Out-Of-Distribution Generalizationcited by 2

50 most cited of 66 All 66 (JSON)