mlsanityData to 14 Oct 2026

Identifying and Adapting Transformer-Components Responsible for Gender Bias in an English Language Model

arXiv 2310.12611 ↗First posted 19 Oct 2023cs.CL cs.AIcited by 22

Not on the map. Why?

Abstract (arXiv)

Language models (LMs) exhibit and amplify many types of undesirable biases learned from the training data, including gender bias. However, we lack tools for effectively and efficiently changing this behavior without hurting general language modeling performance. In this paper, we study three methods for identifying causal relations between LM components and particular output: causal mediation analysis, automated circuit discovery and our novel, efficient method called DiffMask+ based on differential masking. We apply the methods to GPT-2 small and the problem of gender bias, and use the discovered sets of components to perform parameter-efficient fine-tuning for bias mitigation. Our results show significant overlap in the identified components (despite huge differences in the computational requirements of the methods) as well as success in mitigating gender bias, with less damage to general language modeling compared to full model fine-tuning. However, our work also underscores the difficulty of defining and measuring bias, and the sensitivity of causal discovery procedures to dataset choice. We hope our work can contribute to more attention for dataset development, and lead to more effective mitigation strategies for other types of bias.

Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 46 of its 66 references that are in the map. First posted on arXiv 19 Oct 2023.

Builds on

46 of 66 references.

References · 46

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  3. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  4. 2016Pointer Sentinel Mixture Modelscited by 3,096
  5. 2017Decoupled Weight Decay Regularizationcited by 1,831
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  7. 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,312
  8. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  9. 2022Mass-Editing Memory in a Transformercited by 1,001
  10. 2021Ethical and social risks of harm from Language Modelscited by 966
  11. 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 956
  12. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
34 more
  1. 2016Semantics derived automatically from language corpora contain human-like biasescited by 901
  2. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
  3. 2018Mitigating Unwanted Biases with Adversarial Learningcited by 663
  4. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 659
  5. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
  6. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
  7. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
  8. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
  9. 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
  10. 2018Gender Bias in Coreference Resolutioncited by 442
  11. 2019On Measuring Social Biases in Sentence Encoderscited by 398
  12. 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 337
  13. 2023LEACE: Perfect linear concept erasure in closed formcited by 267
  14. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 243
  15. 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
  16. 2018Gender Bias in Neural Natural Language Processingcited by 211
  17. 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 202
  18. 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
  19. 2021Process for Adapting Language Models to Society (PALMS) with Values-Targeted Datasetscited by 181
  20. 2020Interpreting Graph Neural Networks for NLP With Differentiable Edge Maskingcited by 153
  21. 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 151
  22. 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 149
  23. 2019Interpretable Neural Predictions with Differentiable Binary Variablescited by 126
  24. 2018Identifying and Controlling Important Neurons in Neural Machine Translationcited by 111
  25. 2021Sustainable Modular Debiasing of Language Modelscited by 100
  26. 2019The emergence of number and syntax units in LSTM language modelscited by 94
  27. 2019Evaluating the Underlying Gender Bias in Contextualized Word Embeddingscited by 94
  28. 2021On Measures of Biases and Harms in NLPcited by 81
  29. 2021Collecting a Large-Scale Gender Bias Dataset for Coreference Resolution and Machine Translationcited by 62
  30. 2023Quantifying Context Mixing in Transformerscited by 43
  31. 2022The Birth of Bias: A case study on the evolution of gender bias in an English language modelcited by 16
  32. 2022Mitigating Gender Stereotypes in Hindi and Marathicited by 6
  33. 2022Undesirable Biases in NLP: Addressing Challenges of Measurementcited by 4
  34. 2023Comparing Humans and Models on a Similar Scale: Towards Cognitive Gender Bias Evaluation in Coreference Resolutioncited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 10; 2025: 7; 2026: 4.

22 papers.

Sort:

By area:

  1. 2024ReFT: Representation Finetuning for Language Modelscited by 197
  2. 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 149
  3. 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 118
  4. 2024LLM Circuit Analyses Are Consistent Across Training and Scalecited by 63
  5. 2024CausalGym: Benchmarking causal interpretability methods on linguistic taskscited by 46
  6. 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 27
  7. 2025EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identificationcited by 21
  8. 2025BiasEdit: Debiasing Stereotyped Language Models via Model Editingcited by 18
  9. 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspectivecited by 15
  10. 2023Bias A-head? Analyzing Bias in Transformer-Based Language Model Attention Headscited by 14
  11. 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Modelscited by 11
  12. 2025Are formal and functional linguistic mechanisms dissociated in language models?cited by 11
10 more
  1. 2025Elucidating Mechanisms of Demographic Bias in LLMs for Healthcarecited by 8
  2. 2025Unsupervised Concept Vector Extraction for Bias Control in LLMscited by 7
  3. 2024Interpretability of Language Models via Task Spacescited by 4
  4. 2024Interpreting Bias in Large Language Models: A Feature-Based Approachcited by 4
  5. 2024Perception of Phonological Assimilation by Neural Speech Recognition Modelscited by 3
  6. 2024Local Contrastive Editing of Gender Stereotypescited by 3
  7. 2026IBCircuit: Towards Holistic Circuit Discovery with Information Bottleneckcited by 3
  8. 2025Gender Encoding Patterns in Pretrained Language Model Representationscited by 1
  9. 2026GKnow: Measuring the Entanglement of Gender Bias and Factual Gendercited by 0
  10. 2026A Mechanistic Understanding of Pronoun Fidelity in LLMscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Disclosure and Mitigation of Gender Bias in LLMs
  2. 2025Activation Steering for Bias Mitigation: An Interpretable Approach to Safer LLMs
  3. 2026Alignment Reduces Expressed but Not Encoded Gender Bias: A Unified Framework and Study
  4. 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Models
  5. 2025Detection, Classification, and Mitigation of Gender Bias in Large Language Models
  6. 2022Mitigating Gender Bias in Distilled Language Models via Counterfactual Role Reversal
  7. 2025Bias Testing and Mitigation in Black Box LLMs using Metamorphic Relations
  8. 2024Decoding Biases: Automated Methods and LLM Judges for Gender Bias Detection in Language Models