paper-with-me

홈 › Papers

DetoxLLM: A Framework for Detoxification with Explanations

2024-02-25 · Md Tawkat Islam Khondaker, Muhammad Abdul-Mageed, Laks V. S. Lakshmanan

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.

📄 PDF Abstract BibTeX arXiv:2402.15951

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Cleansing the Artificial Mind: A Self-Reflective Detoxification Framework for Large Language Models

2026-01-16 · Kaituo Zhang, Zhimeng Jiang, Na Zou arxiv

Recent breakthroughs in Large Language Models (LLMs) have revealed remarkable generative capabilities and emerging self-regulatory mechanisms, including self-correction and self-rewarding. However, current detoxification…

Text Generation

CMD: a framework for Context-aware Model self-Detoxification

2023-08-16 · Zecheng Tang, Keyan Zhou, Juntao Li, Yuyang Ding 외

Text detoxification aims to minimize the risk of language models producing toxic content. Existing detoxification methods of directly constraining the model output or further training the model on the non-toxic corpus fa…

Language ModelingLanguage Modelling

On the Robustness of Knowledge Editing for Detoxification

2026-02-11 · Ming Dong, Shiyi Tang, Ziyan Peng, Guanyi Chen 외 arxiv

Knowledge-Editing-based (KE-based) detoxification has emerged as a promising approach for mitigating harmful behaviours in Large Language Models. Existing evaluations, however, largely rely on automatic toxicity classifi…

knowledge editing

Exploring Methods for Cross-lingual Text Style Transfer: The Case of Text Detoxification

2023-11-23 · Daryna Dementieva, Daniil Moskovskiy, David Dale, Alexander Panchenko

Text detoxification is the task of transferring the style of text from toxic to neutral. While here are approaches yielding promising results in monolingual setup, e.g., (Dale et al., 2021; Hallinan et al., 2022), cross-…

Cross-Lingual TransferStyle TransferText Style Transfer

MultiParaDetox: Extending Text Detoxification with Parallel Data to New Languages

2024-04-02 · Daryna Dementieva, Nikolay Babakov, Alexander Panchenko

Text detoxification is a textual style transfer (TST) task where a text is paraphrased from a toxic surface form, e.g. featuring rude words, to the neutral register. Recently, text detoxification methods found their appl…

Style Transfer