Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP

About

When trained on large, unfiltered crawls from the internet, language models pick up and reproduce all kinds of undesirable biases that can be found in the data: they often generate racist, sexist, violent or otherwise toxic language. As large models require millions of training examples to achieve good performance, it is difficult to completely prevent them from being exposed to such content. In this paper, we first demonstrate a surprising finding: pretrained language models recognize, to a considerable degree, their undesirable biases and the toxicity of the content they produce. We refer to this capability as self-diagnosis. Based on this finding, we then propose a decoding algorithm that, given only a textual description of the undesired behavior, reduces the probability of a language model producing problematic text. We refer to this approach as self-debiasing. Self-debiasing does not rely on manually curated word lists, nor does it require any training data or changes to the model's parameters. While we by no means eliminate the issue of language models generating biased text, we believe our approach to be an important step in this direction.

Timo Schick, Sahana Udupa, Hinrich Sch\"utze• 2021

Related benchmarks

TaskDatasetResultRank
Memory-based Bias ReductionBias Reduction Benchmark Memory
Bias Reduction Performance43.2
35
Evaluation-based Bias ReductionBias Reduction Benchmark (Evaluation)
Bias Reduction Performance69.8
35
Memory Fidelity EvaluationMemory-based Experiment Seen Features
P-Diff0.1
32
Bias MeasurementStereoSet
Overall SS59.34
25
Bias EvaluationCrowS-Pairs
CS Score52.29
13
Value AlignmentMoral Stories (test)
Align Score3.08
10
Value AlignmentMIC (test)
Align Score2.9
10
Value AlignmentEthics (test)
Align Score2.66
10
Showing 8 of 8 rows

Other info

Follow for update