mlsanityData to 7 Oct 2026

CORE: A Retrieve-then-Edit Framework for Counterfactual Data Generation

arXiv 2210.04873 ↗First posted 10 Oct 2022cs.CLcited by 23

Not on the map. Why?

Abstract (arXiv)

Counterfactual data augmentation (CDA) -- i.e., adding minimally perturbed inputs during training -- helps reduce model reliance on spurious correlations and improves generalization to out-of-distribution (OOD) data. Prior work on generating counterfactuals only considered restricted classes of perturbations, limiting their effectiveness. We present COunterfactual Generation via Retrieval and Editing (CORE), a retrieval-augmented generation framework for creating diverse counterfactual perturbations for CDA. For each training example, CORE first performs a dense retrieval over a task-related unlabeled text corpus using a learned bi-encoder and extracts relevant counterfactual excerpts. CORE then incorporates these into prompts to a large language model with few-shot learning capabilities, for counterfactual editing. Conditioning language model edits on naturally occurring data results in diverse perturbations. Experiments on natural language inference and sentiment analysis benchmarks show that CORE counterfactuals are more effective at improving generalization to OOD data compared to other DA approaches. We also show that the CORE retrieval framework can be used to encourage diversity in manually authored perturbations

Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 59 of its 75 references that are in the map. First posted on arXiv 10 Oct 2022.

Builds on

59 of 75 references.

References · 59

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  7. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  8. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  9. 2016Pointer Sentinel Mixture Modelscited by 2,992
  10. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  11. 2017Billion-scale similarity search with GPUscited by 2,477
  12. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
38 more
  1. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  2. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  3. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  4. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  5. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
  6. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
  7. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
  8. 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 523
  9. 2019Quantifying the Carbon Emissions of Machine Learningcited by 516
  10. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 484
  11. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
  12. 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
  13. 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
  14. 2020Measuring and Reducing Gendered Correlations in Pre-trained Modelscited by 222
  15. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
  16. 2020Sparse, Dense, and Attentional Representations for Text Retrievalcited by 213
  17. 2018Stress Test Evaluation for Natural Language Inferencecited by 211
  18. 2022WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creationcited by 200
  19. 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
  20. 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
  21. 2020Augmented SBERT: Data Augmentation Method for Improving Bi-Encoders for Pairwise Sentence Scoring Taskscited by 136
  22. 2018Breaking NLI Systems with Sentences that Require Simple Lexical Inferencescited by 134
  23. 2020Beat the AI: Investigating Adversarial Human Annotation for Reading Comprehensioncited by 131
  24. 2020Investigating Pretrained Language Models for Graph-to-Text Generationcited by 117
  25. 2021A Recipe For Arbitrary Text Style Transfer with Large Language Modelscited by 107
  26. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  27. 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 105
  28. 2021Competency Problems: On Finding and Removing Artifacts in Language Datacited by 91
  29. 2016Yelp Dataset Challenge: Review Rating Predictioncited by 84
  30. 2018Retrieve and Refine: Improved Sequence Generation Models For Dialoguecited by 82
  31. 2020Logic-Guided Data Augmentation and Regularization for Consistent Question Answeringcited by 77
  32. 2021Improving Question Answering Model Robustness with Synthetic Adversarial Data Generationcited by 77
  33. 2020Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for Textcited by 75
  34. 2021Tailor: Generating and Perturbing Text with Semantic Controlscited by 67
  35. 2022Generating Data to Mitigate Spurious Correlations in Natural Language Inference Datasetscited by 54
  36. 2021Prompting Contrastive Explanations for Commonsense Reasoning Taskscited by 45
  37. 2019Controllable Paraphrase Generation with a Syntactic Exemplarcited by 44
  38. 2021An Investigation of the (In)effectiveness of Counterfactually Augmented Datacited by 42

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 5; 2024: 7; 2025: 7; 2026: 4.

23 papers.

Sort:

By area:

  1. 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
  2. 2024A Survey on Data Synthesis and Augmentation for Large Language Modelscited by 40
  3. 2023CREST: A Joint Framework for Rationalization and Counterfactual Text Generationcited by 24
  4. 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMscited by 24
  5. 2024A Survey on Natural Language Counterfactual Generationcited by 21
  6. 2024CEval: A Benchmark for Evaluating Counterfactual Text Generationcited by 15
  7. 2023Can LLMs Augment Low-Resource Reading Comprehension Datasets? Opportunities and Challengescited by 9
  8. 2023EXPLAIN, EDIT, GENERATE: Rationale-Sensitive Counterfactual Data Augmentation for Multi-hop Fact Verificationcited by 9
  9. 2024Beyond Agreement: Diagnosing the Rationale Alignment of Automated Essay Scoring Methods based on Linguistically-informed Counterfactualscited by 8
  10. 2025What Has Been Lost with Synthetic Evaluation?cited by 8
  11. 2025Truth or Twist? Optimal Model Selection for Reliable Label Flipping Evaluation in LLM-based Counterfactualscited by 5
  12. 2024RORA: Robust Free-Text Rationale Evaluationcited by 4
11 more
  1. 2025Zero-Shot and Efficient Clarification Need Prediction in Conversational Searchcited by 4
  2. 2025Guiding LLMs to Generate High-Fidelity and High-Quality Counterfactual Explanations for Text Classificationcited by 3
  3. 2023Zero-Shot Cross-Lingual Sentiment Classification under Distribution Shift: an Exploratory Studycited by 2
  4. 2026Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generationcited by 1
  5. 2026iFlip: Iterative Feedback-driven Counterfactual Example Refinementcited by 1
  6. 2024CELL your Model: Contrastive Explanations for Large Language Modelscited by 0
  7. 2025Leveraging a Simulator for Learning Causal Representations from Post-Treatment Covariates for CATEcited by 0
  8. 2025Conceptual Contrastive Edits in Textual and Vision-Language Retrievalcited by 0
  9. 2025Refining Financial Consumer Complaints through Multi-Scale Model Interactioncited by 0
  10. 2026Gumbel Machine: Counterfactual Student Writing Generation via Gumbel Noise Steeringcited by 0
  11. 2026Constraint-Aware Counterfactual Editing for Aspect-Based Sentiment Analysiscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Causal-Counterfactual RAG: The Integration of Causal-Counterfactual Reasoning into RAG
  2. 2023Prompting Large Language Models for Counterfactual Generation: An Empirical Study
  3. 2023COCO-Counterfactuals: Automatically Constructed Counterfactual Examples for Image-Text Pairs
  4. 2018Counterfactual Learning from Human Proofreading Feedback for Semantic Parsing
  5. 2025Iterative Counterfactual Data Augmentation
  6. 2025Counterfactual reasoning: an analysis of in-context emergence
  7. 2018Improving a Neural Semantic Parser by Counterfactual Learning from Human Bandit Feedback
  8. 2023Text-to-Image Models for Counterfactual Explanations: a Black-Box Approach