BiasEdit: Debiasing Stereotyped Language Models via Model Editing
Abstract
Previous studies have established that language models manifest stereotyped biases. Existing debiasing strategies, such as retraining a model with counterfactual data, representation projection, and prompting often fail to efficiently eliminate bias or directly alter the models' biased internal representations. To address these issues, we propose BiasEdit, an efficient model editing method to remove stereotypical bias from language models through lightweight networks that act as editors to generate parameter updates. BiasEdit employs a debiasing loss guiding editor networks to conduct local edits on partial parameters of a language model for debiasing while preserving the language modeling abilities during editing through a retention loss. Experiments on StereoSet and Crows-Pairs demonstrate the effectiveness, efficiency, and robustness of BiasEdit in eliminating bias compared to tangental debiasing baselines and little to no impact on the language models' general capabilities. In addition, we conduct bias tracing to probe bias in various modules and explore bias editing impacts on different components of language models.
Community
We propose BiasEdit, an efficient and robust debiasing method based on model editing to mitigate stereotypes in language models.
Code and data: https://github.com/zjunlp/BiasEdit
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Understanding and Mitigating Gender Bias in LLMs via Interpretable Neuron Editing (2025)
- Gender Encoding Patterns in Pretrained Language Model Representations (2025)
- Auto-Search and Refinement: An Automated Framework for Gender Bias Mitigation in Large Language Models (2025)
- Dual Debiasing: Remove Stereotypes and Keep Factual Gender for Fair Language Modeling and Translation (2025)
- Mitigating Bias in RAG: Controlling the Embedder (2025)
- Beneath the Surface: How Large Language Models Reflect Hidden Bias (2025)
- DR.GAP: Mitigating Bias in Large Language Models using Gender-Aware Prompting with Demonstration and Reasoning (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper