mlsanityData to 7 Oct 2026

DetoxLLM: A Framework for Detoxification with Explanations

arXiv 2402.15951 ↗First posted 25 Feb 2024cs.LG cs.CL cs.CYcited by 10

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  9. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  10. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  11. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  12. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,290
38 more
  1. 2018Neural Network Acceptability Judgmentscited by 952
  2. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
  3. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
  4. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
  5. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  6. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
  7. 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 268
  8. 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 265
  9. 2023How is ChatGPT's behavior changing over time?cited by 265
  10. 2017Style Transfer from Non-Parallel Text by Cross-Alignmentcited by 246
  11. 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 215
  12. 2018Dear Sir or Madam, May I introduce the GYAFC Dataset: Corpus, Benchmarks and Metrics for Formality Style Transfercited by 209
  13. 2016Ex Machina: Personal Attacks Seen at Scalecited by 208
  14. 2018Hate Speech Dataset from a White Supremacy Forumcited by 196
  15. 2020Directions in Abusive Language Training Data: Garbage In, Garbage Outcited by 139
  16. 2019Multilingual and Multi-Aspect Hate Speech Analysiscited by 133
  17. 2019A Benchmark Dataset for Learning to Intervene in Online Hate Speechcited by 128
  18. 2023LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructionscited by 124
  19. 2019Beyond BLEU: Training Neural Machine Translation with Semantic Similaritycited by 84
  20. 2020Politeness Transfer: A Tag and Generate Approachcited by 78
  21. 2017Detecting Online Hate Speech Using Context Aware Modelscited by 72
  22. 2018Hate Lingo: A Target-based Linguistic Analysis of Hate Speech in Social Mediacited by 59
  23. 2018Polite Dialogue Generation Without Parallel Datacited by 57
  24. 2018Characterizing and Detecting Hateful Users on Twittercited by 55
  25. 2018Fighting Offensive Language on Social Media with Unsupervised Text Style Transfercited by 55
  26. 2019A Just and Comprehensive Strategy for Using NLP to Address Online Abusecited by 49
  27. 2023ChatGPT vs Human-authored Text: Insights into Controllable Text Summarization and Sentence Style Transfercited by 49
  28. 2021ConvAbuse: Data, Analysis, and Benchmarks for Nuanced Abuse Detection in Conversational AIcited by 46
  29. 2017A4NT: Author Attribute Anonymity by Adversarial Training of Neural Machine Translationcited by 41
  30. 2021LEWIS: Levenshtein Editing for Unsupervised Text Style Transfercited by 40
  31. 2020Parallel Data Augmentation for Formality Style Transfercited by 39
  32. 2019Reinforcement Learning Based Text Style Transfer without Parallel Training Corpuscited by 38
  33. 2023GPTAraEval: A Comprehensive Evaluation of ChatGPT on Arabic NLPcited by 37
  34. 2019Controllable Unsupervised Text Attribute Transfer via Editing Entangled Latent Representationcited by 34
  35. 2021Civil Rephrases Of Toxic Texts With Self-Supervised Transformerscited by 32
  36. 2023Exploring Methods for Cross-lingual Text Style Transfer: The Case of Text Detoxificationcited by 15
  37. 2023STEER: Unified Style Transfer with Expert Reinforcementcited by 14
  38. 2023A Call for Standardization and Validation of Text Style Transfer Evaluationcited by 13

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 5.

10 papers.