DetoxLLM: A Framework for Detoxification with Explanations
Not on the map. Why?
Abstract (arXiv)
Prior works on detoxification are scattered in the sense that they do not cover all aspects of detoxification needed in a real-world scenario. Notably, prior works restrict the task of developing detoxification models to only a seen subset of platforms, leaving the question of how the models would perform on unseen platforms unexplored. Additionally, these works do not address non-detoxifiability, a phenomenon whereby the toxic text cannot be detoxified without altering the meaning. We propose DetoxLLM, the first comprehensive end-to-end detoxification framework, which attempts to alleviate the aforementioned limitations. We first introduce a cross-platform pseudo-parallel corpus applying multi-step data processing and generation strategies leveraging ChatGPT. We then train a suite of detoxification models with our cross-platform corpus. We show that our detoxification models outperform the SoTA model trained with human-annotated parallel corpus. We further introduce explanation to promote transparency and trustworthiness. DetoxLLM additionally offers a unique paraphrase detector especially dedicated for the detoxification task to tackle the non-detoxifiable cases. Through experimental analysis, we demonstrate the effectiveness of our cross-platform corpus and the robustness of DetoxLLM against adversarial toxicity.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 53 of its 99 references that are in the map. First posted on arXiv 25 Feb 2024.
Builds on
53 of 99 references.
References · 53
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 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
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,290
38 more
- 2018Neural Network Acceptability Judgmentscited by 952
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
- 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
- 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 268
- 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 265
- 2023How is ChatGPT's behavior changing over time?cited by 265
- 2017Style Transfer from Non-Parallel Text by Cross-Alignmentcited by 246
- 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 215
- 2018Dear Sir or Madam, May I introduce the GYAFC Dataset: Corpus, Benchmarks and Metrics for Formality Style Transfercited by 209
- 2016Ex Machina: Personal Attacks Seen at Scalecited by 208
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 196
- 2020Directions in Abusive Language Training Data: Garbage In, Garbage Outcited by 139
- 2019Multilingual and Multi-Aspect Hate Speech Analysiscited by 133
- 2019A Benchmark Dataset for Learning to Intervene in Online Hate Speechcited by 128
- 2023LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructionscited by 124
- 2019Beyond BLEU: Training Neural Machine Translation with Semantic Similaritycited by 84
- 2020Politeness Transfer: A Tag and Generate Approachcited by 78
- 2017Detecting Online Hate Speech Using Context Aware Modelscited by 72
- 2018Hate Lingo: A Target-based Linguistic Analysis of Hate Speech in Social Mediacited by 59
- 2018Polite Dialogue Generation Without Parallel Datacited by 57
- 2018Characterizing and Detecting Hateful Users on Twittercited by 55
- 2018Fighting Offensive Language on Social Media with Unsupervised Text Style Transfercited by 55
- 2019A Just and Comprehensive Strategy for Using NLP to Address Online Abusecited by 49
- 2023ChatGPT vs Human-authored Text: Insights into Controllable Text Summarization and Sentence Style Transfercited by 49
- 2021ConvAbuse: Data, Analysis, and Benchmarks for Nuanced Abuse Detection in Conversational AIcited by 46
- 2017A4NT: Author Attribute Anonymity by Adversarial Training of Neural Machine Translationcited by 41
- 2021LEWIS: Levenshtein Editing for Unsupervised Text Style Transfercited by 40
- 2020Parallel Data Augmentation for Formality Style Transfercited by 39
- 2019Reinforcement Learning Based Text Style Transfer without Parallel Training Corpuscited by 38
- 2023GPTAraEval: A Comprehensive Evaluation of ChatGPT on Arabic NLPcited by 37
- 2019Controllable Unsupervised Text Attribute Transfer via Editing Entangled Latent Representationcited by 34
- 2021Civil Rephrases Of Toxic Texts With Self-Supervised Transformerscited by 32
- 2023Exploring Methods for Cross-lingual Text Style Transfer: The Case of Text Detoxificationcited by 15
- 2023STEER: Unified Style Transfer with Expert Reinforcementcited by 14
- 2023A Call for Standardization and Validation of Text Style Transfer Evaluationcited by 13
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2025: 5; 2026: 5.
10 papers.
- 2025SynthDetoxM: Modern LLMs are Few-Shot Parallel Detoxification Data Annotatorscited by 4
- 2025Breaking mBad! Supervised Fine-tuning for Cross-Lingual Detoxificationcited by 3
- 2026IndicSafe: A Benchmark for Evaluating Multilingual LLM Safety in South Asiacited by 3
- 2025Argument-Based Consistency in Toxicity Explanations of LLMscited by 2
- 2026Analyzing Bias in False Refusal Behavior of Large Language Models for Hate Speech Detoxificationcited by 1
- 2026Cleansing the Artificial Mind: A Self-Reflective Detoxification Framework for Large Language Modelscited by 1
- 2025Can LLMs Rank the Harmfulness of Smaller LLMs? We are Not There Yetcited by 0
- 2025Detoxify: A framework for abusive text transformation using LLMscited by 0
- 2026AEGIS: Awareness-Enhanced Guidance for Iterative Safeguardcited by 0
- 2026When Does Span-Guided Detoxification Help? Human Preferences and Evaluator Diagnostics in a Controlled Comparisoncited by 0
- 2026When Does Span-Guided Detoxification Help? Human Preferences and Evaluator Diagnostics in a Controlled Comparison29 Jul 2026
- 2026AEGIS: Awareness-Enhanced Guidance for Iterative Safeguard20 Jul 2026
- 2026IndicSafe: A Benchmark for Evaluating Multilingual LLM Safety in South Asia18 Mar 2026
- 2026Cleansing the Artificial Mind: A Self-Reflective Detoxification Framework for Large Language Models16 Jan 2026
- 2026Analyzing Bias in False Refusal Behavior of Large Language Models for Hate Speech Detoxification13 Jan 2026
- 2025Detoxify: A framework for abusive text transformation using LLMs14 Jul 2025
- 2025Argument-Based Consistency in Toxicity Explanations of LLMs23 Jun 2025
- 2025Breaking mBad! Supervised Fine-tuning for Cross-Lingual Detoxification22 May 2025
- 2025SynthDetoxM: Modern LLMs are Few-Shot Parallel Detoxification Data Annotators10 Feb 2025
- 2025Can LLMs Rank the Harmfulness of Smaller LLMs? We are Not There Yet7 Feb 2025