mlsanityData to 14 Oct 2026

BiasGym: A Simple and Generalizable Framework for Analyzing and Removing Biases through Injection

arXiv 2508.08855 ↗First posted 12 Aug 2025cs.CL cs.AI cs.LGcited by 1

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

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  6. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  7. 2024A Survey on LLM-as-a-Judgecited by 1,423
  8. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
  9. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  10. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
  11. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  12. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
16 more
  1. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
  2. 2023Bias Runs Deep: Implicit Reasoning Biases in Persona-Assigned LLMscited by 199
  3. 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonablecited by 122
  4. 2024Bias in Large Language Models: Origin, Evaluation, and Mitigationcited by 77
  5. 2024Refuse Whenever You Feel Unsafe: Improving Safety in LLMs via Decoupled Refusal Trainingcited by 69
  6. 2024Self-Debiasing Large Language Models: Zero-Shot Recognition and Reduction of Stereotypescited by 59
  7. 2023Characterizing Mechanisms for Factual Recall in Language Modelscited by 48
  8. 2025Improving LLM Safety Alignment with Dual-Objective Optimizationcited by 43
  9. 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 40
  10. 2024Benchmarking Linguistic Diversity of Large Language Modelscited by 38
  11. 2023Social Bias Probing: Fairness Benchmarking for Language Modelscited by 32
  12. 2024UniBias: Unveiling and Mitigating LLM Bias through Internal Attention and FFN Manipulationcited by 31
  13. 2025BiasEdit: Debiasing Stereotyped Language Models via Model Editingcited by 18
  14. 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspectivecited by 15
  15. 2024Potential and Challenges of Model Editing for Social Debiasingcited by 10
  16. 2024Attention Speaks Volumes: Localizing and Mitigating Bias in Language Modelscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.