Detoxifying Text with MaRCo: Controllable Revision with Experts and Anti-Experts
Not on the map. Why?
Abstract (arXiv)
Text detoxification has the potential to mitigate the harms of toxicity by rephrasing text to remove offensive meaning, but subtle toxicity remains challenging to tackle. We introduce MaRCo, a detoxification algorithm that combines controllable generation and text rewriting methods using a Product of Experts with autoencoder language models (LMs). MaRCo uses likelihoods under a non-toxic LM (expert) and a toxic LM (anti-expert) to find candidate words to mask and potentially replace. We evaluate our method on several subtle toxicity and microaggressions datasets, and show that it not only outperforms baselines on automatic metrics, but MaRCo's rewrites are preferred 2.1 × more in human evaluation. Its applicability to instances of subtle toxicity is especially promising, demonstrating a path forward for addressing increasingly elusive online hate.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 28 of its 48 references that are in the map. First posted on arXiv 20 Dec 2022.
Builds on
28 of 48 references.
References · 28
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2019Green AIcited by 620
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
- 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 377
- 2017Toward Controlled Generation of Textcited by 271
- 2021Annotators with Attitudes: How Annotator Beliefs And Identities Bias Toxic Language Detectioncited by 258
- 2017Style Transfer from Non-Parallel Text by Cross-Alignmentcited by 246
16 more
- 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 217
- 2018Delete, Retrieve, Generate: A Simple Approach to Sentiment and Style Transfercited by 191
- 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
- 2021MultiVerS: Improving scientific claim verification with weak supervision and full-document contextcited by 140
- 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 106
- 2017Best-Worst Scaling More Reliable than Rating Scales: A Case Study on Sentiment Intensity Annotationcited by 77
- 2020The Radicalization Risks of GPT-3 and Advanced Neural Language Modelscited by 76
- 2020PowerTransformer: Unsupervised Controllable Revision for Biased Language Correctioncited by 59
- 2017Shakespearizing Modern Language Using Copy-Enriched Sequence-to-Sequence Modelscited by 57
- 2018Fighting Offensive Language on Social Media with Unsupervised Text Style Transfercited by 55
- 2020Exploring Controllable Text Generation Techniquescited by 55
- 2021Text Detoxification using Large Pre-trained Neural Modelscited by 52
- 2019"Mask and Infill" : Applying Masked Language Model to Sentiment Transfercited by 48
- 2021Civil Rephrases Of Toxic Texts With Self-Supervised Transformerscited by 32
- 2021Artificial intelligence in communication impacts language and social relationshipscited by 22
- 2020Contextual Text Style Transfercited by 16
Built on by
Citing papers per year: 2023: 10; 2024: 16; 2025: 7; 2026: 3.
36 papers.
Sort:
By area:
- 2023Bias and Fairness in Large Language Models: A Surveycited by 626
- 2024Detoxifying Large Language Models via Knowledge Editingcited by 86
- 2023Controlled Text Generation via Language Model Arithmeticcited by 51
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 37
- 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Modelscited by 23
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2024SafeInfer: Context Adaptive Decoding Time Safety Alignment for Large Language Modelscited by 22
- 2024Mitigating Hallucinations in Large Vision-Language Models via Summary-Guided Decodingcited by 21
- 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Biascited by 17
- 2023Exploring Methods for Cross-lingual Text Style Transfer: The Case of Text Detoxificationcited by 15
- 2023STEER: Unified Style Transfer with Expert Reinforcementcited by 14
- 2024MultiParaDetox: Extending Text Detoxification with Parallel Data to New Languagescited by 13
24 more
- 2023MacLaSa: Multi-Aspect Controllable Text Generation via Efficient Sampling from Compact Latent Spacecited by 12
- 2024Distilling Text Style Transfer With Self-Explanation From LLMscited by 12
- 2024Multilingual and Explainable Text Detoxification with Parallel Corporacited by 12
- 2023Tackling Bias in Pre-trained Language Models: Current Trends and Under-represented Societiescited by 11
- 2024Potential and Challenges of Model Editing for Social Debiasingcited by 10
- 2024Effective Controllable Bias Mitigation for Classification and Retrieval using Gate Adapterscited by 8
- 2023Learn What NOT to Learn: Towards Generative Safety in Chatbotscited by 7
- 2023Don't Take This Out of Context! On the Need for Contextual Models and Evaluations for Stylistic Rewritingcited by 6
- 2024MisgenderMender: A Community-Informed Approach to Interventions for Misgenderingcited by 6
- 2025Adaptive Detoxification: Safeguarding General Capabilities of LLMs through Toxicity-Aware Knowledge Editingcited by 5
- 2024Style Transfer with Multi-iteration Preference Optimizationcited by 4
- 2023All Should Be Equal in the Eyes of Language Models: Counterfactually Aware Fair Text Generationcited by 3
- 2026CausalDetox: Causal Head Selection and Intervention for Language Model Detoxificationcited by 3
- 2024Mitigating Text Toxicity with Counterfactual Generationcited by 2
- 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectorscited by 2
- 2025Evaluating Text Style Transfer: A Nine-Language Benchmark for Text Detoxificationcited by 2
- 2024Contrastive Perplexity for Controlled Generation: An Application in Detoxifying Large Language Modelscited by 1
- 2024GrounDial: Human-norm Grounded Safe Dialog Response Generationcited by 1
- 2025BanglaNirTox: A Large-scale Parallel Corpus for Explainable AI in Bengali Text Detoxificationcited by 1
- 2025C3TG: Conflict-aware, Composite, and Collaborative Controlled Text Generationcited by 1
- 2026Do Prompts Guarantee Safety? Mitigating Toxicity from LLM Generations through Subspace Interventioncited by 1
- 2024Fine-Grained Detoxification via Instance-Level Prefixes for Large Language Modelscited by 0
- 2025Detoxify: A framework for abusive text transformation using LLMscited by 0
- 2026Detoxification for LLM: From Dataset Itselfcited by 0
- 2026Detoxification for LLM: From Dataset Itself21 Apr 2026
- 2026CausalDetox: Causal Head Selection and Intervention for Language Model Detoxification16 Apr 2026
- 2026Do Prompts Guarantee Safety? Mitigating Toxicity from LLM Generations through Subspace Intervention6 Feb 2026
- 2025C3TG: Conflict-aware, Composite, and Collaborative Controlled Text Generation12 Nov 2025
- 2025BanglaNirTox: A Large-scale Parallel Corpus for Explainable AI in Bengali Text Detoxification3 Nov 2025
- 2025Evaluating Text Style Transfer: A Nine-Language Benchmark for Text Detoxification21 Jul 2025
- 2025Detoxify: A framework for abusive text transformation using LLMs14 Jul 2025
- 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectors9 Jun 2025
- 2025Adaptive Detoxification: Safeguarding General Capabilities of LLMs through Toxicity-Aware Knowledge Editing28 May 2025
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steering20 Apr 2025
- 2024Multilingual and Explainable Text Detoxification with Parallel Corpora16 Dec 2024
- 2024Mitigating Hallucinations in Large Vision-Language Models via Summary-Guided Decoding17 Oct 2024
24 more
- 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Bias22 Jul 2024
- 2024SafeInfer: Context Adaptive Decoding Time Safety Alignment for Large Language Models18 Jun 2024
- 2024Style Transfer with Multi-iteration Preference Optimization17 Jun 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024Mitigating Text Toxicity with Counterfactual Generation16 May 2024
- 2024MisgenderMender: A Community-Informed Approach to Interventions for Misgendering23 Apr 2024
- 2024MultiParaDetox: Extending Text Detoxification with Parallel Data to New Languages2 Apr 2024
- 2024Detoxifying Large Language Models via Knowledge Editing21 Mar 2024
- 2024Distilling Text Style Transfer With Self-Explanation From LLMs2 Mar 2024
- 2024Fine-Grained Detoxification via Instance-Level Prefixes for Large Language Models23 Feb 2024
- 2024Potential and Challenges of Model Editing for Social Debiasing21 Feb 2024
- 2024GrounDial: Human-norm Grounded Safe Dialog Response Generation14 Feb 2024
- 2024Effective Controllable Bias Mitigation for Classification and Retrieval using Gate Adapters29 Jan 2024
- 2024Contrastive Perplexity for Controlled Generation: An Application in Detoxifying Large Language Models16 Jan 2024
- 2023Tackling Bias in Pre-trained Language Models: Current Trends and Under-represented Societies3 Dec 2023
- 2023Controlled Text Generation via Language Model Arithmetic24 Nov 2023
- 2023Exploring Methods for Cross-lingual Text Style Transfer: The Case of Text Detoxification23 Nov 2023
- 2023STEER: Unified Style Transfer with Expert Reinforcement13 Nov 2023
- 2023All Should Be Equal in the Eyes of Language Models: Counterfactually Aware Fair Text Generation9 Nov 2023
- 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Models11 Oct 2023
- 2023Bias and Fairness in Large Language Models: A Survey2 Sep 2023
- 2023Don't Take This Out of Context! On the Need for Contextual Models and Evaluations for Stylistic Rewriting24 May 2023
- 2023MacLaSa: Multi-Aspect Controllable Text Generation via Efficient Sampling from Compact Latent Space22 May 2023
- 2023Learn What NOT to Learn: Towards Generative Safety in Chatbots21 Apr 2023
- 2023Bias and Fairness in Large Language Models: A Surveycited by 626
- 2024Detoxifying Large Language Models via Knowledge Editingcited by 86
- 2023Controlled Text Generation via Language Model Arithmeticcited by 51
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 37
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Biascited by 17
- 2023Exploring Methods for Cross-lingual Text Style Transfer: The Case of Text Detoxificationcited by 15
- 2023STEER: Unified Style Transfer with Expert Reinforcementcited by 14
- 2024MultiParaDetox: Extending Text Detoxification with Parallel Data to New Languagescited by 13
- 2023MacLaSa: Multi-Aspect Controllable Text Generation via Efficient Sampling from Compact Latent Spacecited by 12
- 2024Distilling Text Style Transfer With Self-Explanation From LLMscited by 12
- 2024Multilingual and Explainable Text Detoxification with Parallel Corporacited by 12
12 most cited of 30 All 30 (JSON)
- 2026Detoxification for LLM: From Dataset Itself21 Apr 2026
- 2026CausalDetox: Causal Head Selection and Intervention for Language Model Detoxification16 Apr 2026
- 2025C3TG: Conflict-aware, Composite, and Collaborative Controlled Text Generation12 Nov 2025
- 2025BanglaNirTox: A Large-scale Parallel Corpus for Explainable AI in Bengali Text Detoxification3 Nov 2025
- 2025Evaluating Text Style Transfer: A Nine-Language Benchmark for Text Detoxification21 Jul 2025
- 2025Detoxify: A framework for abusive text transformation using LLMs14 Jul 2025
- 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectors9 Jun 2025
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steering20 Apr 2025
- 2024Multilingual and Explainable Text Detoxification with Parallel Corpora16 Dec 2024
- 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Bias22 Jul 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024Mitigating Text Toxicity with Counterfactual Generation16 May 2024
12 newest of 30 All 30 (JSON)