BiasGym: A Simple and Generalizable Framework for Analyzing and Removing Biases through Injection
Not on the map. Why?
Abstract (arXiv)
Understanding biases and stereotypes encoded in the weights of Large Language Models (LLMs) is crucial for developing effective mitigation strategies. However, biased behavior is often subtle and non-trivial to isolate, even when deliberately elicited, making systematic analysis and debiasing particularly challenging. To address this, we introduce a simple, cost-effective, and generalizable framework textttBiasGym for reliably injecting, analyzing, and mitigating conceptual associations of biases within LLMs. textttBiasGym consists of two modules: textttInject, which injects specific biases into the model via token-based fine-tuning while keeping the model frozen, followed by two debiasing methods that leverage these injected signals to identify and reliably suppress (textttScope) or textttSteer the components responsible for biased behavior. Our framework enables consistent bias elicitation for better localization of bias conceptual association in the model space, supports targeted debiasing without degrading performance on downstream tasks, and generalizes to biases unseen during fine-tuning. We demonstrate the effectiveness of our proposed framework in reducing real-world stereotypes (e.g., people from Italy being `reckless drivers'), showing its utility for both safety interventions and interpretability research.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 28 of its 45 references that are in the map. First posted on arXiv 12 Aug 2025.
Builds on
28 of 45 references.
References · 28
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024A Survey on LLM-as-a-Judgecited by 1,423
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
16 more
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
- 2023Bias Runs Deep: Implicit Reasoning Biases in Persona-Assigned LLMscited by 199
- 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonablecited by 122
- 2024Bias in Large Language Models: Origin, Evaluation, and Mitigationcited by 77
- 2024Refuse Whenever You Feel Unsafe: Improving Safety in LLMs via Decoupled Refusal Trainingcited by 69
- 2024Self-Debiasing Large Language Models: Zero-Shot Recognition and Reduction of Stereotypescited by 59
- 2023Characterizing Mechanisms for Factual Recall in Language Modelscited by 48
- 2025Improving LLM Safety Alignment with Dual-Objective Optimizationcited by 43
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 40
- 2024Benchmarking Linguistic Diversity of Large Language Modelscited by 38
- 2023Social Bias Probing: Fairness Benchmarking for Language Modelscited by 32
- 2024UniBias: Unveiling and Mitigating LLM Bias through Internal Attention and FFN Manipulationcited by 31
- 2025BiasEdit: Debiasing Stereotyped Language Models via Model Editingcited by 18
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspectivecited by 15
- 2024Potential and Challenges of Model Editing for Social Debiasingcited by 10
- 2024Attention Speaks Volumes: Localizing and Mitigating Bias in Language Modelscited by 6
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Cultural Binding Heads in Language Modelscited by 0
- 2026Cultural Binding Heads in Language Models27 May 2026