Identity-Preserving Detoxification via Local Causal Effect Ranking on Masked Diffusion Language Models

Authors: Yucheng Lin, Yue Liu, Jiaojiao Jiang

Abstract

Text detoxification should produce safer rewrites while retaining identity mentions from the original text. However, classifier-guided methods can remove identity descriptors alongside genuinely harmful content when toxicity classifiers associate identity mentions with harmfulness and guidance relies on absolute scores. We propose CIDER (Contrastive Identity-preserving Detoxification via Explicit Reference), a default-relative, margin-gated selective-guidance method for masked diffusion language models. At each selected masked position, CIDER evaluates every candidate in the admissible top-k set relative to the model-default token in the same partially decoded state and commits a non-default candidate only when the best candidate lowers the one-step proxy score by more than a preset margin. On the primary LLaDA-8B CivilComments×Jigsaw setting, CIDER improves retention by +0.06 to +0.16 over the interpolated absolute-score frontier at matched residual-toxicity levels. At the reported aggressive endpoints, the retention advantage recurs across four data pairings on LLaDA-8B and three bases on CivilComments×Jigsaw. Controlled ablations indicate that the selection rule is an important contributor to the improvement.

PDFOpen original
Find similar papers with AI

Copy this prompt into your assistant

Using Paperlist, find papers similar to "Identity-Preserving Detoxification via Local Causal Effect Ranking on Masked Diffusion Language Models" (id: 238035, EMNLP 2026).
set up https://paperlist.ai/SKILL.md

MCP setupCLI