Local Contrastive Editing of Gender Stereotypes
Preprint
Abstract
Stereotypical bias encoded in language models (LMs) poses a threat to safe language technology, yet our understanding of how bias manifests in the parameters of LMs remains incomplete. We introduce local contrastive editing that enables the localization and editing of a subset of weights in a target model in relation to a reference model. We deploy this approach to identify and modify subsets of weights that are associated with gender stereotypes in LMs. Through a series of experiments, we demonstrate that local contrastive editing can precisely localize and control a small subset (< 0.5%) of weights that encode gender bias. Our work (i) advances our understanding of how stereotypical biases can manifest in the parameter space of LMs and (ii) opens up new avenues for developing parameter-efficient strategies for controlling model properties in a contrastive manner.Keywords
All Related Versions
This publication has 25 references indexed in Scilit:
- Cross-Lingual Transfer with Language-Specific Subnetworks for Low-Resource Dependency ParsingComputational Linguistics, 2023
- Sustainable Modular Debiasing of Language Models2021
- StereoSet: Measuring stereotypical bias in pretrained language models2021
- RedditBias: A Real-World Resource for Bias Evaluation and Debiasing of Conversational Language Models2021
- Stereotyping Norwegian Salmon: An Inventory of Pitfalls in Fairness Benchmark Datasets2021
- A General Framework for Implicit and Explicit Debiasing of Distributional Word Vector SpacesProceedings of the AAAI Conference on Artificial Intelligence, 2020
- Transformers: State-of-the-Art Natural Language Processing2020
- When BERT Plays the Lottery, All Tickets Are Winning2020
- Language (Technology) is Power: A Critical Survey of “Bias” in NLP2020
- Semantics derived automatically from language corpora contain human-like biasesScience, 2017