mlsanityData to 7 Oct 2026

DiffuDetox: A Mixed Diffusion Model for Text Detoxification

arXiv 2306.08505 ↗First posted 14 Jun 2023cs.CL cs.LGcited by 6

On the map: Diffusion models → Robustness, privacy and adversarial aspects

Abstract (arXiv)

Text detoxification is a conditional text generation task aiming to remove offensive content from toxic text. It is highly useful for online forums and social media, where offensive content is frequently encountered. Intuitively, there are diverse ways to detoxify sentences while preserving their meanings, and we can select from detoxified sentences before displaying text to users. Conditional diffusion models are particularly suitable for this task given their demonstrated higher generative diversity than existing conditional text generation models based on language models. Nonetheless, text fluency declines when they are trained with insufficient data, which is the case for this task. In this work, we propose DiffuDetox, a mixed conditional and unconditional diffusion model for text detoxification. The conditional model takes toxic text as the condition and reduces its toxicity, yielding a diverse set of detoxified sentences. The unconditional model is trained to recover the input text, which allows the introduction of additional fluent text for training and thus ensures text fluency. Extensive experimental results and in-depth analysis demonstrate the effectiveness of our proposed DiffuDetox.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 28 of its 34 references that are in the map. First posted on arXiv 14 Jun 2023.

Builds on

28 of 34 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  4. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  5. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  6. 2022Classifier-Free Diffusion Guidancecited by 5,717
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
  9. 2020DiffWave: A Versatile Diffusion Model for Audio Synthesiscited by 1,339
  10. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  11. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
  12. 2018Neural Network Acceptability Judgmentscited by 952
16 more
  1. 2022On Distillation of Guided Diffusion Modelscited by 721
  2. 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 439
  3. 2018Delete, Retrieve, Generate: A Simple Approach to Sentiment and Style Transfercited by 191
  4. 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
  5. 2022Self-conditioned Embedding Diffusion for Text Generationcited by 114
  6. 2020Neural CRF Model for Sentence Alignment in Text Simplificationcited by 106
  7. 2021Step-unrolled Denoising Autoencoders for Text Generationcited by 102
  8. 2019Beyond BLEU: Training Neural Machine Translation with Semantic Similaritycited by 84
  9. 2020A Probabilistic Formulation of Unsupervised Text Style Transfercited by 70
  10. 2018Fighting Offensive Language on Social Media with Unsupervised Text Style Transfercited by 55
  11. 2021Text Detoxification using Large Pre-trained Neural Modelscited by 52
  12. 2019"Mask and Infill" : Applying Masked Language Model to Sentiment Transfercited by 48
  13. 2022DiffusER: Discrete Diffusion via Edit-based Reconstructioncited by 41
  14. 2021Civil Rephrases Of Toxic Texts With Self-Supervised Transformerscited by 32
  15. 2020Stable Style Transformer: Delete and Generate Approach with Encoder-Decoder for Text Style Transfercited by 22
  16. 2020ALONE: A Dataset for Toxic Behavior among Adolescents on Twittercited by 17

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 3; 2025: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Text Detoxification: Data Efficiency, Semantic Preservation and Model Generalization
  2. 2026Cleansing the Artificial Mind: A Self-Reflective Detoxification Framework for Large Language Models
  3. 2025<think> So let's replace this phrase with insult... </think> Lessons learned from generation of toxic texts with LLMs
  4. 2022Reward Modeling for Mitigating Toxicity in Transformer-based Language Models
  5. 2024Learning from Response not Preference: A Stackelberg Approach for LLM Detoxification using Non-parallel Data
  6. 2025Beautiful Images, Toxic Words: Understanding and Addressing Offensive Text in Generated Images
  7. 2025Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing
  8. 2025Chinese Toxic Language Mitigation via Sentiment Polarity Consistent Rewrites