[Paper Review] Detoxifying Language Models Risks Marginalizing Minority Voices
This paper demonstrates that detoxification techniques for language models—designed to reduce toxic generations—unintentionally harm equity by disproportionately increasing perplexity and degrading generation quality on African-American English (AAE) and minority identity mentions (MIM). The core issue stems from spurious correlations in toxicity datasets, where AAE and MIM are overrepresented in toxic labels due to annotation and sampling biases, causing detoxification methods to erroneously suppress these linguistic features.
Language models (LMs) must be both safe and equitable to be responsibly deployed in practice. With safety in mind, numerous detoxification techniques (e.g., Dathathri et al. 2020; Krause et al. 2020) have been proposed to mitigate toxic LM generations. In this work, we show that current detoxification techniques hurt equity: they decrease the utility of LMs on language used by marginalized groups (e.g., African-American English and minority identity mentions). In particular, we perform automatic and human evaluations of text generation quality when LMs are conditioned on inputs with different dialects and group identifiers. We find that detoxification makes LMs more brittle to distribution shift, especially on language used by marginalized groups. We identify that these failures stem from detoxification methods exploiting spurious correlations in toxicity datasets. Overall, our results highlight the tension between the controllability and distributional robustness of LMs.
Motivation & Objective
- To investigate whether detoxification techniques for language models negatively impact performance on marginalized linguistic varieties, such as African-American English (AAE) and minority identity mentions (MIM).
- To examine whether the observed performance degradation is due to spurious correlations in toxicity datasets that conflate AAE and MIM with toxicity.
- To evaluate the impact of detoxification strength on model utility across different dialects and identity markers.
- To highlight the representational harms and stigmatization risks introduced by biased detoxification in real-world NLP deployment.
Proposed method
- The study uses four state-of-the-art detoxification techniques: domain-adaptive pretraining (DAPT), plug-and-play language models (PPLM), GeDi, and output filtering with a toxicity classifier.
- All methods are applied to GPT-2 medium, fine-tuned on the Jigsaw Civil Comments dataset after filtering low-annotation-agreement examples.
- Perplexity is measured on prompts containing AAE or MIM versus White-Aligned English (WAE), with comparisons across detoxification strength levels.
- Human evaluations via crowdworkers assess fluency, style, and topic consistency in generated completions across WAE and AAE prompts.
- The analysis identifies that toxicity datasets contain spurious correlations between AAE/MIM and toxic labels due to annotation and sampling biases.
- The study varies hyperparameters (e.g., ω in GeDi) to show that increasing detoxification strength amplifies the performance drop on AAE and MIM.
Experimental results
Research questions
- RQ1Does detoxification of language models lead to a disproportionate increase in perplexity on African-American English (AAE) and minority identity mentions (MIM) compared to White-Aligned English (WAE)?
- RQ2To what extent does increasing the strength of detoxification exacerbate performance degradation on AAE and MIM?
- RQ3What role do spurious correlations in toxicity datasets play in causing detoxification methods to suppress AAE and MIM?
- RQ4How do detoxified models perform in human evaluations when generating text conditioned on AAE versus WAE prompts?
- RQ5What are the representational and societal harms of deploying detoxified models that marginalize minority linguistic identities?
Key findings
- Detoxification techniques significantly increase perplexity on AAE and MIM text, with the baseline model already showing approximately three times higher perplexity on AAE compared to WAE.
- When strongly detoxified (e.g., high ω in GeDi), perplexity on AAE increases to nearly 400 times that on WAE, indicating severe degradation in utility.
- Human evaluations show that detoxified models fail to maintain fluency, style, and topic consistency when generating text from AAE prompts, unlike with WAE prompts.
- The performance degradation is not limited to one detoxification method but is consistently observed across DAPT, PPLM, GeDi, and filtering, indicating a systemic issue rooted in biased data.
- Spurious correlations in toxicity datasets—caused by annotation bias (mislabeling AAE as toxic) and sampling bias (toxic comments often target marginalized groups)—lead detoxification models to avoid AAE and MIM.
- Increasing detoxification strength amplifies the bias, confirming that the problem is not a side effect but a structural flaw in current detoxification pipelines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.