CORE: A Retrieve-then-Edit Framework for Counterfactual Data Generation
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
38 more
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 523
- 2019Quantifying the Carbon Emissions of Machine Learningcited by 516
- 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 484
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
- 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
- 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
- 2020Measuring and Reducing Gendered Correlations in Pre-trained Modelscited by 222
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
- 2020Sparse, Dense, and Attentional Representations for Text Retrievalcited by 213
- 2018Stress Test Evaluation for Natural Language Inferencecited by 211
- 2022WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creationcited by 200
- 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
- 2020Augmented SBERT: Data Augmentation Method for Improving Bi-Encoders for Pairwise Sentence Scoring Taskscited by 136
- 2018Breaking NLI Systems with Sentences that Require Simple Lexical Inferencescited by 134
- 2020Beat the AI: Investigating Adversarial Human Annotation for Reading Comprehensioncited by 131
- 2020Investigating Pretrained Language Models for Graph-to-Text Generationcited by 117
- 2021A Recipe For Arbitrary Text Style Transfer with Large Language Modelscited by 107
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 105
- 2021Competency Problems: On Finding and Removing Artifacts in Language Datacited by 91
- 2016Yelp Dataset Challenge: Review Rating Predictioncited by 84
- 2018Retrieve and Refine: Improved Sequence Generation Models For Dialoguecited by 82
- 2020Logic-Guided Data Augmentation and Regularization for Consistent Question Answeringcited by 77
- 2021Improving Question Answering Model Robustness with Synthetic Adversarial Data Generationcited by 77
- 2020Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for Textcited by 75
- 2021Tailor: Generating and Perturbing Text with Semantic Controlscited by 67
- 2022Generating Data to Mitigate Spurious Correlations in Natural Language Inference Datasetscited by 54
- 2021Prompting Contrastive Explanations for Commonsense Reasoning Taskscited by 45
- 2019Controllable Paraphrase Generation with a Syntactic Exemplarcited by 44
- 2021An Investigation of the (In)effectiveness of Counterfactually Augmented Datacited by 42
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2023: 5; 2024: 7; 2025: 7; 2026: 4.
23 papers.
Sort:
By area:
- 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
- 2024A Survey on Data Synthesis and Augmentation for Large Language Modelscited by 40
- 2023CREST: A Joint Framework for Rationalization and Counterfactual Text Generationcited by 24
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMscited by 24
- 2024A Survey on Natural Language Counterfactual Generationcited by 21
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generationcited by 15
- 2023Can LLMs Augment Low-Resource Reading Comprehension Datasets? Opportunities and Challengescited by 9
- 2023EXPLAIN, EDIT, GENERATE: Rationale-Sensitive Counterfactual Data Augmentation for Multi-hop Fact Verificationcited by 9
- 2024Beyond Agreement: Diagnosing the Rationale Alignment of Automated Essay Scoring Methods based on Linguistically-informed Counterfactualscited by 8
- 2025What Has Been Lost with Synthetic Evaluation?cited by 8
- 2025Truth or Twist? Optimal Model Selection for Reliable Label Flipping Evaluation in LLM-based Counterfactualscited by 5
- 2024RORA: Robust Free-Text Rationale Evaluationcited by 4
11 more
- 2025Zero-Shot and Efficient Clarification Need Prediction in Conversational Searchcited by 4
- 2025Guiding LLMs to Generate High-Fidelity and High-Quality Counterfactual Explanations for Text Classificationcited by 3
- 2023Zero-Shot Cross-Lingual Sentiment Classification under Distribution Shift: an Exploratory Studycited by 2
- 2026Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generationcited by 1
- 2026iFlip: Iterative Feedback-driven Counterfactual Example Refinementcited by 1
- 2024CELL your Model: Contrastive Explanations for Large Language Modelscited by 0
- 2025Leveraging a Simulator for Learning Causal Representations from Post-Treatment Covariates for CATEcited by 0
- 2025Conceptual Contrastive Edits in Textual and Vision-Language Retrievalcited by 0
- 2025Refining Financial Consumer Complaints through Multi-Scale Model Interactioncited by 0
- 2026Gumbel Machine: Counterfactual Student Writing Generation via Gumbel Noise Steeringcited by 0
- 2026Constraint-Aware Counterfactual Editing for Aspect-Based Sentiment Analysiscited by 0
- 2026Constraint-Aware Counterfactual Editing for Aspect-Based Sentiment Analysis15 Jul 2026
- 2026Gumbel Machine: Counterfactual Student Writing Generation via Gumbel Noise Steering26 May 2026
- 2026iFlip: Iterative Feedback-driven Counterfactual Example Refinement4 Jan 2026
- 2026Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generation1 Jan 2026
- 2025What Has Been Lost with Synthetic Evaluation?28 May 2025
- 2025Truth or Twist? Optimal Model Selection for Reliable Label Flipping Evaluation in LLM-based Counterfactuals20 May 2025
- 2025Refining Financial Consumer Complaints through Multi-Scale Model Interaction14 Apr 2025
- 2025Guiding LLMs to Generate High-Fidelity and High-Quality Counterfactual Explanations for Text Classification6 Mar 2025
- 2025Conceptual Contrastive Edits in Textual and Vision-Language Retrieval1 Mar 2025
- 2025Zero-Shot and Efficient Clarification Need Prediction in Conversational Search28 Feb 2025
- 2025Leveraging a Simulator for Learning Causal Representations from Post-Treatment Covariates for CATE7 Feb 2025
- 2024A Survey on Data Synthesis and Augmentation for Large Language Models16 Oct 2024
11 more
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMs27 Jul 2024
- 2024A Survey on Natural Language Counterfactual Generation4 Jul 2024
- 2024CELL your Model: Contrastive Explanations for Large Language Models17 Jun 2024
- 2024Beyond Agreement: Diagnosing the Rationale Alignment of Automated Essay Scoring Methods based on Linguistically-informed Counterfactuals29 May 2024
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generation26 Apr 2024
- 2024RORA: Robust Free-Text Rationale Evaluation28 Feb 2024
- 2023Zero-Shot Cross-Lingual Sentiment Classification under Distribution Shift: an Exploratory Study11 Nov 2023
- 2023EXPLAIN, EDIT, GENERATE: Rationale-Sensitive Counterfactual Data Augmentation for Multi-hop Fact Verification23 Oct 2023
- 2023Can LLMs Augment Low-Resource Reading Comprehension Datasets? Opportunities and Challenges21 Sep 2023
- 2023CREST: A Joint Framework for Rationalization and Counterfactual Text Generation26 May 2023
- 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memory3 May 2023
- 2023CREST: A Joint Framework for Rationalization and Counterfactual Text Generationcited by 24
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMscited by 24
- 2024A Survey on Natural Language Counterfactual Generationcited by 21
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generationcited by 15
- 2023Can LLMs Augment Low-Resource Reading Comprehension Datasets? Opportunities and Challengescited by 9
- 2023EXPLAIN, EDIT, GENERATE: Rationale-Sensitive Counterfactual Data Augmentation for Multi-hop Fact Verificationcited by 9
- 2024Beyond Agreement: Diagnosing the Rationale Alignment of Automated Essay Scoring Methods based on Linguistically-informed Counterfactualscited by 8
- 2025What Has Been Lost with Synthetic Evaluation?cited by 8
- 2025Truth or Twist? Optimal Model Selection for Reliable Label Flipping Evaluation in LLM-based Counterfactualscited by 5
- 2024RORA: Robust Free-Text Rationale Evaluationcited by 4
- 2025Zero-Shot and Efficient Clarification Need Prediction in Conversational Searchcited by 4
- 2025Guiding LLMs to Generate High-Fidelity and High-Quality Counterfactual Explanations for Text Classificationcited by 3
12 most cited of 21 All 21 (JSON)
- 2026Constraint-Aware Counterfactual Editing for Aspect-Based Sentiment Analysis15 Jul 2026
- 2026Gumbel Machine: Counterfactual Student Writing Generation via Gumbel Noise Steering26 May 2026
- 2026iFlip: Iterative Feedback-driven Counterfactual Example Refinement4 Jan 2026
- 2026Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generation1 Jan 2026
- 2025What Has Been Lost with Synthetic Evaluation?28 May 2025
- 2025Truth or Twist? Optimal Model Selection for Reliable Label Flipping Evaluation in LLM-based Counterfactuals20 May 2025
- 2025Refining Financial Consumer Complaints through Multi-Scale Model Interaction14 Apr 2025
- 2025Guiding LLMs to Generate High-Fidelity and High-Quality Counterfactual Explanations for Text Classification6 Mar 2025
- 2025Conceptual Contrastive Edits in Textual and Vision-Language Retrieval1 Mar 2025
- 2025Zero-Shot and Efficient Clarification Need Prediction in Conversational Search28 Feb 2025
- 2025Leveraging a Simulator for Learning Causal Representations from Post-Treatment Covariates for CATE7 Feb 2025
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMs27 Jul 2024
12 newest of 21 All 21 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Causal-Counterfactual RAG: The Integration of Causal-Counterfactual Reasoning into RAG
- 2023Prompting Large Language Models for Counterfactual Generation: An Empirical Study
- 2023COCO-Counterfactuals: Automatically Constructed Counterfactual Examples for Image-Text Pairs
- 2018Counterfactual Learning from Human Proofreading Feedback for Semantic Parsing
- 2025Iterative Counterfactual Data Augmentation
- 2025Counterfactual reasoning: an analysis of in-context emergence
- 2018Improving a Neural Semantic Parser by Counterfactual Learning from Human Bandit Feedback
- 2023Text-to-Image Models for Counterfactual Explanations: a Black-Box Approach