Challenges in Detoxifying Language Models
Not on the map. Why?
Cited by 37 in LLM safety and security, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Large language models (LM) generate remarkably fluent text and can be efficiently adapted across NLP tasks. Measuring and guaranteeing the quality of generated text in terms of safety is imperative for deploying LMs in the real world; to this end, prior work often relies on automatic evaluation of LM toxicity. We critically discuss this approach, evaluate several toxicity mitigation strategies with respect to both automatic and human evaluation, and analyze consequences of toxicity mitigation in terms of model bias and LM quality. We demonstrate that while basic intervention strategies can effectively optimize previously established automatic metrics on the RealToxicityPrompts dataset, this comes at the cost of reduced LM coverage for both texts about, and dialects of, marginalized groups. Additionally, we find that human raters often disagree with high automatic toxicity scores after strong toxicity reduction interventions -- highlighting further the nuances involved in careful evaluation of LM toxicity.
Key facts. Cited by 169 papers in the map (data through 7 Oct 2026). Builds on 45 of its 63 references that are in the map. First posted on arXiv 15 Sep 2021.
Builds on
45 of 63 references.
References · 45
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
33 more
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2020The State and Fate of Linguistic Diversity and Inclusion in the NLP Worldcited by 789
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
- 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
- 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 377
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
- 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
- 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 336
- 2015A note on the evaluation of generative modelscited by 291
- 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
- 2016Ex Machina: Personal Attacks Seen at Scalecited by 208
- 2019Racial Bias in Hate Speech and Abusive Language Detection Datasetscited by 208
- 2019SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)cited by 206
- 2016Demographic Dialectal Variation in Social Media: A Case Study of African-American Englishcited by 194
- 2020Recipes for Safety in Open-domain Chatbotscited by 168
- 2018Reducing Gender Bias in Abusive Language Detectioncited by 152
- 2019Reducing Sentiment Bias in Language Models via Counterfactual Evaluationcited by 148
- 2020A Distributional Approach to Controlled Text Generationcited by 117
- 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 106
- 2020Automatically Identifying Words That Can Serve as Labels for Few-Shot Text Classificationcited by 98
- 2017Measuring the Reliability of Hate Speech Annotations: The Case of the European Refugee Crisiscited by 95
- 2021Challenges in Automated Debiasing for Toxic Language Detectioncited by 95
- 2020"What We Can't Measure, We Can't Understand": Challenges to Demographic Data Procurement in the Pursuit of Fairnesscited by 56
- 2018Fighting Offensive Language on Social Media with Unsupervised Text Style Transfercited by 55
- 2021Fairness for Unobserved Characteristics: Insights from Technological Impacts on Queer Communitiescited by 40
- 2021Civil Rephrases Of Toxic Texts With Self-Supervised Transformerscited by 32
- 2020Plug-and-Play Conversational Modelscited by 30
- 2018But Who Protects the Moderators? The Case of Crowdsourced Image Moderationcited by 9
Built on by
Citing papers per year: 2021: 3; 2022: 26; 2023: 61; 2024: 41; 2025: 25; 2026: 13.
169 papers.
Sort:
By area:
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
- 2022Red Teaming Language Models with Language Modelscited by 983
- 2021Ethical and social risks of harm from Language Modelscited by 957
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 743
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
38 more
- 2022Improving alignment of dialogue agents via targeted human judgementscited by 527
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 401
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2023Visual Adversarial Examples Jailbreak Aligned Large Language Modelscited by 307
- 2023Are aligned neural networks adversarially aligned?cited by 305
- 2023Pretraining Language Models with Human Preferencescited by 245
- 2023Multilingual Jailbreak Challenges in Large Language Modelscited by 222
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attackscited by 189
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
- 2023A Categorical Archive of ChatGPT Failurescited by 167
- 2023Conformal Language Modelingcited by 163
- 2023Sociotechnical Safety Evaluation of Generative AI Systemscited by 154
- 2023Auditing large language models: a three-layered approachcited by 135
- 2024Rho-1: Not All Tokens Are What You Needcited by 132
- 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 124
- 2024AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathwayscited by 122
- 2023Aligning Language Models with Preferences through f-divergence Minimizationcited by 118
- 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 110
- 2023KGA: A General Machine Unlearning Framework Based on Knowledge Gap Alignmentcited by 94
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2023Identifying and Mitigating the Security Risks of Generative AIcited by 90
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguardscited by 89
- 2022On Reinforcement Learning and Distribution Matching for Fine-Tuning Language Models with no Catastrophic Forgettingcited by 80
- 2022Controllable Natural Language Generation with Contrastive Prefixescited by 75
- 2023The Data Provenance Initiative: A Large Scale Audit of Dataset Licensing & Attribution in AIcited by 73
- 2024Safeguarding Large Language Models: A Surveycited by 73
- 2024FlipAttack: Jailbreak LLMs via Flippingcited by 73
- 2023Large Language Models are Not Yet Human-Level Evaluators for Abstractive Summarizationcited by 70
- 2024Safety of Multimodal Large Language Models on Images and Textscited by 70
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
- 2022Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Modelscited by 67
- 2023Shall We Pretrain Autoregressive Language Models with Retrieval? A Comprehensive Studycited by 63
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systemscited by 63
- 2022In conversation with Artificial Intelligence: aligning language models with human valuescited by 61
- 2024Building Guardrails for Large Language Modelscited by 61
50 most cited of 169 All 169 (JSON)
- 2026AI Agents are Vulnerable to Radicalization29 Sep 2026
- 2026CLEAR: Continuous Latent Adapter Routing for Utility-Preserving LLM Safety Alignment21 Aug 2026
- 2026Structuring Semantic Embeddings for Principle Evaluation: A Prototype-Guided Contrastive Learning Approach15 Aug 2026
- 2026Where Does Toxicity Live? Mechanistic Localization and Targeted Suppression in Language Models27 May 2026
- 2026Measuring and Mitigating Toxicity in Large Language Models: A Comprehensive Replication Study13 May 2026
- 2026Ethics Testing: Proactive Identification of Generative AI System Harms23 Apr 2026
- 2026CausalDetox: Causal Head Selection and Intervention for Language Model Detoxification16 Apr 2026
- 2026Red Teaming LLMs as Socio-Technical Practice: From Exploration and Data Creation to Evaluation10 Feb 2026
- 2026Shaping capabilities with token-level data filtering29 Jan 2026
- 2026QueerGen: How LLMs Reflect Societal Norms on Gender and Sexuality in Sentence Completion Tasks28 Jan 2026
- 2026ToxiTwitch: Toward Emote-Aware Hybrid Moderation for Live Streaming Platforms22 Jan 2026
- 2026Test-Time Detoxification without Training or Learning Anything14 Jan 2026
38 more
- 2026What Artificial Intelligence can do for High-Performance Computing systems?3 Jan 2026
- 2025Casting a SPELL: Sentence Pairing Exploration for LLM Limitation-breaking24 Dec 2025
- 2025FineFreq: A Multilingual Character Frequency Dataset from Web-Scale Text10 Dec 2025
- 2025ABLEIST: Intersectional Disability Bias in LLM-Generated Hiring Scenarios13 Oct 2025
- 2025Removing Noise, not Finding Gold: Quality Filtering for Large-Scale Pretraining1 Oct 2025
- 2025IROTE: Human-like Traits Elicitation of Large Language Model via In-Context Self-Reflective Optimization12 Aug 2025
- 2025Who's the Evil Twin? Differential Auditing for Undesired Behavior9 Aug 2025
- 2025Forgetting: A New Mechanism Towards Better Large Language Model Fine-tuning6 Aug 2025
- 2025Model Misalignment and Language Change: Traces of AI-Associated Language in Unscripted Spoken English1 Aug 2025
- 2025Customize Multi-modal RAI Guardrails with Precedent-based predictions28 Jul 2025
- 2025PICACO: Pluralistic In-Context Value Alignment of LLMs via Total Correlation Optimization22 Jul 2025
- 2025When Large Language Models Meet Law: Dual-Lens Taxonomy, Technical Advances, and Ethical Governance10 Jul 2025
- 2025Probing AI Safety with Source Code25 Jun 2025
- 2025Moderating Harm: Benchmarking Large Language Models for Cyberbullying Detection in YouTube Comments25 May 2025
- 2025Teaching Models to Understand (but not Generate) High-risk Data5 May 2025
- 2025Safety in Large Reasoning Models: A Survey24 Apr 2025
- 2025Who is Responsible When AI Fails? Mapping Causes, Entities, and Consequences of AI Privacy and Ethical Incidents28 Mar 2025
- 2025MIRAGE: Multimodal Immersive Reasoning and Guided Exploration for Red-Team Jailbreak Attacks24 Mar 2025
- 2025Model Risk Management for Generative AI In Financial Institutions19 Mar 2025
- 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanisms26 Feb 2025
- 2025Language Models Can Predict Their Own Behavior18 Feb 2025
- 2025Towards Robust and Secure Embodied AI: A Survey on Vulnerabilities and Attacks18 Feb 2025
- 2025StructTransform: A Scalable Attack Surface for Safety-Aligned Large Language Models17 Feb 2025
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguards30 Jan 2025
- 2025HateBench: Benchmarking Hate Speech Detectors on LLM-Generated Content and Hate Campaigns28 Jan 2025
- 2025LLM Content Moderation and User Satisfaction: Evidence from Response Refusals in Chatbot Arena4 Jan 2025
- 2024Crabs: Consuming Resource via Auto-generation for LLM-DoS Attack under Black-box Settings18 Dec 2024
- 2024Safety Alignment Backfires: Preventing the Re-emergence of Suppressed Concepts in Fine-tuned Text-to-Image Diffusion Models30 Nov 2024
- 2024Exploring the Benefits of Domain-Pretraining of Generative Large Language Models for Chemistry5 Nov 2024
- 2024Adversarial Attacks of Vision Tasks in the Past 10 Years: A Survey31 Oct 2024
- 2024Ethics Whitepaper: Whitepaper on Ethical Research into Large Language Models17 Oct 2024
- 2024Controllable Generation via Locally Constrained Resampling17 Oct 2024
- 2024DAWN: Designing Distributed Agents in a Worldwide Network11 Oct 2024
- 2024Large Language Models can be Strong Self-Detoxifiers4 Oct 2024
- 2024FlipAttack: Jailbreak LLMs via Flipping2 Oct 2024
- 2024MoJE: Mixture of Jailbreak Experts, Naive Tabular Classifiers as Guard for Prompt Attacks26 Sep 2024
- 2024Jailbreaking Large Language Models with Symbolic Mathematics17 Sep 2024
- 2024WeQA: A Benchmark for Retrieval Augmented Generation in Wind Energy Domain21 Aug 2024
50 newest of 169 All 169 (JSON)
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2022Red Teaming Language Models with Language Modelscited by 983
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2023Multilingual Jailbreak Challenges in Large Language Modelscited by 222
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attackscited by 189
- 2023KGA: A General Machine Unlearning Framework Based on Knowledge Gap Alignmentcited by 94
- 2024Safeguarding Large Language Models: A Surveycited by 73
- 2024FlipAttack: Jailbreak LLMs via Flippingcited by 73
- 2024Building Guardrails for Large Language Modelscited by 61
- 2023All Languages Matter: On the Multilingual Safety of Large Language Modelscited by 51
- 2023Separate the Wheat from the Chaff: Model Deficiency Unlearning via Parameter-Efficient Module Operationcited by 33
- 2023Prompt Packer: Deceiving LLMs through Compositional Instruction with Hidden Attackscited by 30
12 most cited of 25 All 25 (JSON)
- 2026Where Does Toxicity Live? Mechanistic Localization and Targeted Suppression in Language Models27 May 2026
- 2026Red Teaming LLMs as Socio-Technical Practice: From Exploration and Data Creation to Evaluation10 Feb 2026
- 2025Casting a SPELL: Sentence Pairing Exploration for LLM Limitation-breaking24 Dec 2025
- 2025Who's the Evil Twin? Differential Auditing for Undesired Behavior9 Aug 2025
- 2025Customize Multi-modal RAI Guardrails with Precedent-based predictions28 Jul 2025
- 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanisms26 Feb 2025
- 2025LLM Content Moderation and User Satisfaction: Evidence from Response Refusals in Chatbot Arena4 Jan 2025
- 2024FlipAttack: Jailbreak LLMs via Flipping2 Oct 2024
- 2024MoJE: Mixture of Jailbreak Experts, Naive Tabular Classifiers as Guard for Prompt Attacks26 Sep 2024
- 2024Jailbreaking Large Language Models with Symbolic Mathematics17 Sep 2024
- 2024Composable Interventions for Language Models9 Jul 2024
- 2024Safeguarding Large Language Models: A Survey3 Jun 2024
12 newest of 25 All 25 (JSON)
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
- 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 743
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 401
- 2023Are aligned neural networks adversarially aligned?cited by 305
- 2023Pretraining Language Models with Human Preferencescited by 245
- 2023Aligning Language Models with Preferences through f-divergence Minimizationcited by 118
- 2022In conversation with Artificial Intelligence: aligning language models with human valuescited by 61
- 2023The Past, Present and Better Future of Feedback Learning in Large Language Models for Subjective Human Preferences and Valuescited by 53
- 2023RLCD: Reinforcement Learning from Contrastive Distillation for Language Model Alignmentcited by 42
- 2022Reward Modeling for Mitigating Toxicity in Transformer-based Language Modelscited by 17
- 2024Large Language Models can be Strong Self-Detoxifierscited by 7
12 most cited of 16 All 16 (JSON)
- 2026CLEAR: Continuous Latent Adapter Routing for Utility-Preserving LLM Safety Alignment21 Aug 2026
- 2025PICACO: Pluralistic In-Context Value Alignment of LLMs via Total Correlation Optimization22 Jul 2025
- 2025StructTransform: A Scalable Attack Surface for Safety-Aligned Large Language Models17 Feb 2025
- 2024Large Language Models can be Strong Self-Detoxifiers4 Oct 2024
- 2024Can Reinforcement Learning Unlock the Hidden Dangers in Aligned Large Language Models?5 Aug 2024
- 2023The Past, Present and Better Future of Feedback Learning in Large Language Models for Subjective Human Preferences and Values11 Oct 2023
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher12 Aug 2023
- 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback27 Jul 2023
- 2023RLCD: Reinforcement Learning from Contrastive Distillation for Language Model Alignment24 Jul 2023
- 2023Are aligned neural networks adversarially aligned?26 Jun 2023
- 2023Pretraining Language Models with Human Preferences16 Feb 2023
- 2023Aligning Language Models with Preferences through f-divergence Minimization16 Feb 2023
12 newest of 16 All 16 (JSON)
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguardscited by 89
- 2023Large Language Models are Not Yet Human-Level Evaluators for Abstractive Summarizationcited by 70
- 2025Safety in Large Reasoning Models: A Surveycited by 58
- 2025Language Models Can Predict Their Own Behaviorcited by 8
- 2025MIRAGE: Multimodal Immersive Reasoning and Guided Exploration for Red-Team Jailbreak Attackscited by 8
- 2024Reasoning as a Weapon: Adaptive Dual-Path Jailbreak Attack on Large Language Modelscited by 7
- 2025Safety in Large Reasoning Models: A Survey24 Apr 2025
- 2025MIRAGE: Multimodal Immersive Reasoning and Guided Exploration for Red-Team Jailbreak Attacks24 Mar 2025
- 2025Language Models Can Predict Their Own Behavior18 Feb 2025
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguards30 Jan 2025
- 2024Reasoning as a Weapon: Adaptive Dual-Path Jailbreak Attack on Large Language Models23 Jul 2024
- 2023Large Language Models are Not Yet Human-Level Evaluators for Abstractive Summarization22 May 2023
- 2022Improving alignment of dialogue agents via targeted human judgementscited by 527
- 2024DAWN: Designing Distributed Agents in a Worldwide Networkcited by 6
- 2026AI Agents are Vulnerable to Radicalizationcited by 0
- 2026AI Agents are Vulnerable to Radicalization29 Sep 2026
- 2024DAWN: Designing Distributed Agents in a Worldwide Network11 Oct 2024
- 2022Improving alignment of dialogue agents via targeted human judgements28 Sep 2022
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2021Ethical and social risks of harm from Language Modelscited by 957
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
- 2023A Categorical Archive of ChatGPT Failurescited by 167
- 2023Conformal Language Modelingcited by 163
12 most cited of 110 All 110 (JSON)
- 2026Structuring Semantic Embeddings for Principle Evaluation: A Prototype-Guided Contrastive Learning Approach15 Aug 2026
- 2026Measuring and Mitigating Toxicity in Large Language Models: A Comprehensive Replication Study13 May 2026
- 2026Ethics Testing: Proactive Identification of Generative AI System Harms23 Apr 2026
- 2026CausalDetox: Causal Head Selection and Intervention for Language Model Detoxification16 Apr 2026
- 2026Shaping capabilities with token-level data filtering29 Jan 2026
- 2026QueerGen: How LLMs Reflect Societal Norms on Gender and Sexuality in Sentence Completion Tasks28 Jan 2026
- 2026ToxiTwitch: Toward Emote-Aware Hybrid Moderation for Live Streaming Platforms22 Jan 2026
- 2026Test-Time Detoxification without Training or Learning Anything14 Jan 2026
- 2026What Artificial Intelligence can do for High-Performance Computing systems?3 Jan 2026
- 2025FineFreq: A Multilingual Character Frequency Dataset from Web-Scale Text10 Dec 2025
- 2025ABLEIST: Intersectional Disability Bias in LLM-Generated Hiring Scenarios13 Oct 2025
- 2025Removing Noise, not Finding Gold: Quality Filtering for Large-Scale Pretraining1 Oct 2025
12 newest of 110 All 110 (JSON)