People Make Better Edits: Measuring the Efficacy of LLM-Generated Counterfactually Augmented Data for Harmful Language Detection
Not on the map. Why?
Abstract (arXiv)
NLP models are used in a variety of critical social computing tasks, such as detecting sexist, racist, or otherwise hateful content. Therefore, it is imperative that these models are robust to spurious features. Past work has attempted to tackle such spurious features using training data augmentation, including Counterfactually Augmented Data (CADs). CADs introduce minimal changes to existing training data points and flip their labels; training on them may reduce model dependency on spurious features. However, manually generating CADs can be time-consuming and expensive. Hence in this work, we assess if this task can be automated using generative NLP models. We automatically generate CADs using Polyjuice, ChatGPT, and Flan-T5, and evaluate their usefulness in improving model robustness compared to manually-generated CADs. By testing both model performance on multiple out-of-domain test sets and individual data point efficacy, our results show that while manual CADs are still the most effective, CADs generated by ChatGPT come a close second. One key reason for the lower performance of automated methods is that the changes they introduce are often insufficient to flip the original label.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 42 of its 67 references that are in the map. First posted on arXiv 2 Nov 2023.
Builds on
42 of 67 references.
References · 42
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
30 more
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
- 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
- 2021A Survey of Data Augmentation Approaches for NLPcited by 408
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
- 2021Understanding Dataset Difficulty with V-Usable Informationcited by 288
- 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 217
- 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 215
- 2021GPT3Mix: Leveraging Large-scale Language Models for Text Augmentationcited by 185
- 2022A New Generation of Perspective API: Efficient Multilingual Character-level Transformerscited by 181
- 2020Adversarial Filters of Dataset Biasescited by 159
- 2020A Theory of Usable Information Under Computational Constraintscited by 153
- 2019A Benchmark Dataset for Learning to Intervene in Online Hate Speechcited by 128
- 2023Speak, Memory: An Archaeology of Books Known to ChatGPT/GPT-4cited by 123
- 2023Faithfulness Tests for Natural Language Explanationscited by 107
- 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 105
- 2023Exploiting Asymmetry for Synthetic Training Data Generation: SynthIE and the Case of Information Extractioncited by 89
- 2020Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for Textcited by 75
- 2021Tailor: Generating and Perturbing Text with Semantic Controlscited by 67
- 2023Can we trust the evaluation on ChatGPT?cited by 63
- 2020Removing Spurious Features can Hurt Accuracy and Affect Groups Disproportionatelycited by 52
- 2021An Investigation of the (In)effectiveness of Counterfactually Augmented Datacited by 42
- 2021Combining Feature and Instance Attribution to Detect Artifactscited by 38
- 2023Generating Faithful Synthetic Data with Large Language Models: A Case Study in Computational Social Sciencecited by 37
- 2023The Parrot Dilemma: Human-Labeled vs. LLM-augmented Data in Classification Taskscited by 35
- 2020Linguistically-Informed Transformations (LIT): A Method for Automatically Generating Contrast Setscited by 31
- 2020Raiders of the Lost Kek: 3.5 Years of Augmented 4chan Posts from the Politically Incorrect Boardcited by 24
- 2022NeuroCounterfactuals: Beyond Minimal-Edit Counterfactuals for Richer Data Augmentationcited by 23
- 2021How Does Counterfactually Augmented Data Impact Models for Social Computing Constructs?cited by 19
- 2022Spillover of Antisocial Behavior from Fringe Platforms: The Unintended Consequences of Community Banningcited by 14
- 2021Revisiting Contextual Toxicity Detection in Conversationscited by 8
Built on by
Citing papers per year: 2024: 15; 2025: 7; 2026: 3.
25 papers.
Sort:
By area:
- 2024A Survey on Multilingual Large Language Models: Corpora, Alignment, and Biascited by 82
- 2024Large Language Models and Causal Inference in Collaboration: A Surveycited by 26
- 2024What Does the Bot Say? Opportunities and Risks of Large Language Models in Social Media Bot Detectioncited 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
- 2024ToxiCraft: A Novel Framework for Synthetic Generation of Harmful Informationcited by 17
- 2024Improving Adversarial Data Collection by Supporting Annotators: Lessons from GAHD, a German Hate Speech Datasetcited by 13
- 2024Golden-Retriever: High-Fidelity Agentic Retrieval Augmented Generation for Industrial Knowledge Basecited by 11
- 2024Interpreting Language Reward Models via Contrastive Explanationscited by 9
- 2025A Survey on Efficient Large Language Model Training: From Data-centric Perspectivescited by 9
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 8
- 2024Re-examining Sexism and Misogyny Classification with Annotator Attitudescited by 7
13 more
- 2024Use Random Selection for Now: Investigation of Few-Shot Selection Strategies in LLM-based Text Augmentation for Classificationcited by 7
- 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speechcited by 6
- 2025A Modular Taxonomy for Hate Speech Definitions and Its Impact on Zero-Shot LLM Classification Performancecited by 6
- 2026The Gray Area: Characterizing Moderator Disagreement on Redditcited by 3
- 2024Hatred Stems from Ignorance! Distillation of the Persuasion Modes in Countering Conversational Hate Speechcited by 2
- 2025A Rigorous Evaluation of LLM Data Generation Strategies for Low-Resource Languagescited by 2
- 2026Better as Generators Than Classifiers: Leveraging LLMs and Synthetic Data for Low-Resource Multilingual Classificationcited by 2
- 2025RoSE: Round-robin Synthetic Data Evaluation for Selecting LLM Generators without Human Test Setscited by 1
- 2024A Few Hypocrites: Few-Shot Learning and Subtype Definitions for Detecting Hypocrisy Accusations in Online Climate Change Debatescited by 0
- 2024From Measurement Instruments to Data: Leveraging Theory-Driven Synthetic Training Data for Classifying Social Constructscited by 0
- 2025Tell Me What You Know About Sexism: Expert-LLM Interaction Strategies and Co-Created Definitions for Zero-Shot Sexism Detectioncited by 0
- 2025Towards Fairness Assessment of Dutch Hate Speech Detectioncited by 0
- 2026Improving Rare Medication Recommendation with Counterfactual Data Augmentation and Large Language Modelscited by 0
- 2026Improving Rare Medication Recommendation with Counterfactual Data Augmentation and Large Language Models23 Jul 2026
- 2026Better as Generators Than Classifiers: Leveraging LLMs and Synthetic Data for Low-Resource Multilingual Classification22 Jan 2026
- 2026The Gray Area: Characterizing Moderator Disagreement on Reddit4 Jan 2026
- 2025A Survey on Efficient Large Language Model Training: From Data-centric Perspectives29 Oct 2025
- 2025RoSE: Round-robin Synthetic Data Evaluation for Selecting LLM Generators without Human Test Sets7 Oct 2025
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2025A Modular Taxonomy for Hate Speech Definitions and Its Impact on Zero-Shot LLM Classification Performance23 Jun 2025
- 2025Towards Fairness Assessment of Dutch Hate Speech Detection14 Jun 2025
- 2025A Rigorous Evaluation of LLM Data Generation Strategies for Low-Resource Languages13 Jun 2025
- 2025Tell Me What You Know About Sexism: Expert-LLM Interaction Strategies and Co-Created Definitions for Zero-Shot Sexism Detection21 Apr 2025
- 2024Interpreting Language Reward Models via Contrastive Explanations25 Nov 2024
- 2024From Measurement Instruments to Data: Leveraging Theory-Driven Synthetic Training Data for Classifying Social Constructs16 Oct 2024
13 more
- 2024Use Random Selection for Now: Investigation of Few-Shot Selection Strategies in LLM-based Text Augmentation for Classification14 Oct 2024
- 2024Re-examining Sexism and Misogyny Classification with Annotator Attitudes4 Oct 2024
- 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speech1 Oct 2024
- 2024A Few Hypocrites: Few-Shot Learning and Subtype Definitions for Detecting Hypocrisy Accusations in Online Climate Change Debates25 Sep 2024
- 2024ToxiCraft: A Novel Framework for Synthetic Generation of Harmful Information23 Sep 2024
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMs27 Jul 2024
- 2024Golden-Retriever: High-Fidelity Agentic Retrieval Augmented Generation for Industrial Knowledge Base20 Jul 2024
- 2024A Survey on Natural Language Counterfactual Generation4 Jul 2024
- 2024A Survey on Multilingual Large Language Models: Corpora, Alignment, and Bias1 Apr 2024
- 2024Improving Adversarial Data Collection by Supporting Annotators: Lessons from GAHD, a German Hate Speech Dataset28 Mar 2024
- 2024Hatred Stems from Ignorance! Distillation of the Persuasion Modes in Countering Conversational Hate Speech18 Mar 2024
- 2024Large Language Models and Causal Inference in Collaboration: A Survey14 Mar 2024
- 2024What Does the Bot Say? Opportunities and Risks of Large Language Models in Social Media Bot Detection1 Feb 2024
- 2024A Survey on Multilingual Large Language Models: Corpora, Alignment, and Biascited by 82
- 2024Large Language Models and Causal Inference in Collaboration: A Surveycited by 26
- 2024What Does the Bot Say? Opportunities and Risks of Large Language Models in Social Media Bot Detectioncited 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
- 2024Improving Adversarial Data Collection by Supporting Annotators: Lessons from GAHD, a German Hate Speech Datasetcited by 13
- 2025A Survey on Efficient Large Language Model Training: From Data-centric Perspectivescited by 9
- 2024Re-examining Sexism and Misogyny Classification with Annotator Attitudescited by 7
- 2024Use Random Selection for Now: Investigation of Few-Shot Selection Strategies in LLM-based Text Augmentation for Classificationcited by 7
- 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speechcited by 6
- 2026The Gray Area: Characterizing Moderator Disagreement on Redditcited by 3
- 2024Hatred Stems from Ignorance! Distillation of the Persuasion Modes in Countering Conversational Hate Speechcited by 2
12 most cited of 18 All 18 (JSON)
- 2026Improving Rare Medication Recommendation with Counterfactual Data Augmentation and Large Language Models23 Jul 2026
- 2026The Gray Area: Characterizing Moderator Disagreement on Reddit4 Jan 2026
- 2025A Survey on Efficient Large Language Model Training: From Data-centric Perspectives29 Oct 2025
- 2025Towards Fairness Assessment of Dutch Hate Speech Detection14 Jun 2025
- 2025A Rigorous Evaluation of LLM Data Generation Strategies for Low-Resource Languages13 Jun 2025
- 2025Tell Me What You Know About Sexism: Expert-LLM Interaction Strategies and Co-Created Definitions for Zero-Shot Sexism Detection21 Apr 2025
- 2024From Measurement Instruments to Data: Leveraging Theory-Driven Synthetic Training Data for Classifying Social Constructs16 Oct 2024
- 2024Use Random Selection for Now: Investigation of Few-Shot Selection Strategies in LLM-based Text Augmentation for Classification14 Oct 2024
- 2024Re-examining Sexism and Misogyny Classification with Annotator Attitudes4 Oct 2024
- 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speech1 Oct 2024
- 2024A Few Hypocrites: Few-Shot Learning and Subtype Definitions for Detecting Hypocrisy Accusations in Online Climate Change Debates25 Sep 2024
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMs27 Jul 2024
12 newest of 18 All 18 (JSON)