paper-with-me

홈 › Papers

DSCD: Large Language Model Detoxification with Self-Constrained Decoding

2025-10-15 · Ming Dong, Jinkui Zhang, Bolong Zheng, Xinhui Tu, Po Hu, Tingting He arxiv

Detoxification in large language models (LLMs) remains a significant research challenge. Existing decoding detoxification methods are all based on external constraints, which require additional resource overhead and lose generation fluency. This work proposes Detoxification with Self-Constrained Decoding (DSCD), a novel method for LLM detoxification without parameter fine-tuning. DSCD strengthens the inner next-token distribution of the safety layer while weakening that of hallucination and toxic layers during output generation. This effectively diminishes toxicity and enhances output safety. DSCD offers lightweight, high compatibility, and plug-and-play capabilities, readily integrating with existing detoxification methods for further performance improvement. Extensive experiments on representative open-source LLMs and public datasets validate DSCD's effectiveness, demonstrating state-of-the-art (SOTA) performance in both detoxification and generation fluency, with superior efficiency compared to existing methods. These results highlight DSCD's potential as a practical and scalable solution for safer LLM deployments.

📄 PDF Abstract BibTeX arXiv:2510.13183

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

Exploring Cross-lingual Text Detoxification with Large Multilingual Language Models.

2022-05-01 · ACL 2022 5 · Daniil Moskovskiy, Daryna Dementieva, Alexander Panchenko

Detoxification is a task of generating text in polite style while preserving meaning and fluency of the original toxic text. Existing detoxification methods are monolingual i.e. designed to work in one exact language. Th…

Style Transfer

Exploring Cross-lingual Textual Style Transfer with Large Multilingual Language Models

2022-06-05 · Daniil Moskovskiy, Daryna Dementieva, Alexander Panchenko

Detoxification is a task of generating text in polite style while preserving meaning and fluency of the original toxic text. Existing detoxification methods are designed to work in one exact language. This work investiga…

Style Transfer

Language Model Detoxification in Dialogue with Contextualized Stance Control

2023-01-25 · Jing Qian, Xifeng Yan

To reduce the toxic degeneration in a pretrained Language Model (LM), previous work on Language Model detoxification has focused on reducing the toxicity of the generation itself (self-toxicity) without consideration of …

Language ModelingLanguage ModellingResponse Generation