Identifying and Adapting Transformer-Components Responsible for Gender Bias in an English Language Model
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
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2017Decoupled Weight Decay Regularizationcited by 1,831
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,312
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2022Mass-Editing Memory in a Transformercited by 1,001
- 2021Ethical and social risks of harm from Language Modelscited by 966
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 956
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
34 more
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 901
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
- 2018Mitigating Unwanted Biases with Adversarial Learningcited by 663
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 659
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
- 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
- 2018Gender Bias in Coreference Resolutioncited by 442
- 2019On Measuring Social Biases in Sentence Encoderscited by 398
- 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 337
- 2023LEACE: Perfect linear concept erasure in closed formcited by 267
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 243
- 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
- 2018Gender Bias in Neural Natural Language Processingcited by 211
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 202
- 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
- 2021Process for Adapting Language Models to Society (PALMS) with Values-Targeted Datasetscited by 181
- 2020Interpreting Graph Neural Networks for NLP With Differentiable Edge Maskingcited by 153
- 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 151
- 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 149
- 2019Interpretable Neural Predictions with Differentiable Binary Variablescited by 126
- 2018Identifying and Controlling Important Neurons in Neural Machine Translationcited by 111
- 2021Sustainable Modular Debiasing of Language Modelscited by 100
- 2019The emergence of number and syntax units in LSTM language modelscited by 94
- 2019Evaluating the Underlying Gender Bias in Contextualized Word Embeddingscited by 94
- 2021On Measures of Biases and Harms in NLPcited by 81
- 2021Collecting a Large-Scale Gender Bias Dataset for Coreference Resolution and Machine Translationcited by 62
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2022The Birth of Bias: A case study on the evolution of gender bias in an English language modelcited by 16
- 2022Mitigating Gender Stereotypes in Hindi and Marathicited by 6
- 2022Undesirable Biases in NLP: Addressing Challenges of Measurementcited by 4
- 2023Comparing Humans and Models on a Similar Scale: Towards Cognitive Gender Bias Evaluation in Coreference Resolutioncited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 10; 2025: 7; 2026: 4.
22 papers.
Sort:
By area:
- 2024ReFT: Representation Finetuning for Language Modelscited by 197
- 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 149
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 118
- 2024LLM Circuit Analyses Are Consistent Across Training and Scalecited by 63
- 2024CausalGym: Benchmarking causal interpretability methods on linguistic taskscited by 46
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 27
- 2025EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identificationcited by 21
- 2025BiasEdit: Debiasing Stereotyped Language Models via Model Editingcited by 18
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspectivecited by 15
- 2023Bias A-head? Analyzing Bias in Transformer-Based Language Model Attention Headscited by 14
- 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Modelscited by 11
- 2025Are formal and functional linguistic mechanisms dissociated in language models?cited by 11
10 more
- 2025Elucidating Mechanisms of Demographic Bias in LLMs for Healthcarecited by 8
- 2025Unsupervised Concept Vector Extraction for Bias Control in LLMscited by 7
- 2024Interpretability of Language Models via Task Spacescited by 4
- 2024Interpreting Bias in Large Language Models: A Feature-Based Approachcited by 4
- 2024Perception of Phonological Assimilation by Neural Speech Recognition Modelscited by 3
- 2024Local Contrastive Editing of Gender Stereotypescited by 3
- 2026IBCircuit: Towards Holistic Circuit Discovery with Information Bottleneckcited by 3
- 2025Gender Encoding Patterns in Pretrained Language Model Representationscited by 1
- 2026GKnow: Measuring the Entanglement of Gender Bias and Factual Gendercited by 0
- 2026A Mechanistic Understanding of Pronoun Fidelity in LLMscited by 0
- 2026A Mechanistic Understanding of Pronoun Fidelity in LLMs15 Jun 2026
- 2026GKnow: Measuring the Entanglement of Gender Bias and Factual Gender12 May 2026
- 2026IBCircuit: Towards Holistic Circuit Discovery with Information Bottleneck26 Feb 2026
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Models20 Jan 2026
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspective5 Jun 2025
- 2025Are formal and functional linguistic mechanisms dissociated in language models?14 Mar 2025
- 2025BiasEdit: Debiasing Stereotyped Language Models via Model Editing11 Mar 2025
- 2025Gender Encoding Patterns in Pretrained Language Model Representations9 Mar 2025
- 2025Unsupervised Concept Vector Extraction for Bias Control in LLMs27 Feb 2025
- 2025Elucidating Mechanisms of Demographic Bias in LLMs for Healthcare18 Feb 2025
- 2025EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identification7 Feb 2025
- 2024Local Contrastive Editing of Gender Stereotypes23 Oct 2024
10 more
- 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models2 Oct 2024
- 2024LLM Circuit Analyses Are Consistent Across Training and Scale15 Jul 2024
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models2 Jul 2024
- 2024Perception of Phonological Assimilation by Neural Speech Recognition Models21 Jun 2024
- 2024Interpreting Bias in Large Language Models: A Feature-Based Approach18 Jun 2024
- 2024Interpretability of Language Models via Task Spaces10 Jun 2024
- 2024ReFT: Representation Finetuning for Language Models4 Apr 2024
- 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanisms26 Mar 2024
- 2024CausalGym: Benchmarking causal interpretability methods on linguistic tasks19 Feb 2024
- 2023Bias A-head? Analyzing Bias in Transformer-Based Language Model Attention Heads17 Nov 2023
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 118
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 27
- 2025EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identificationcited by 21
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspectivecited by 15
- 2025Elucidating Mechanisms of Demographic Bias in LLMs for Healthcarecited by 8
- 2025Unsupervised Concept Vector Extraction for Bias Control in LLMscited by 7
- 2024Interpretability of Language Models via Task Spacescited by 4
- 2026IBCircuit: Towards Holistic Circuit Discovery with Information Bottleneckcited by 3
- 2026IBCircuit: Towards Holistic Circuit Discovery with Information Bottleneck26 Feb 2026
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Models20 Jan 2026
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspective5 Jun 2025
- 2025Unsupervised Concept Vector Extraction for Bias Control in LLMs27 Feb 2025
- 2025Elucidating Mechanisms of Demographic Bias in LLMs for Healthcare18 Feb 2025
- 2025EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identification7 Feb 2025
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models2 Jul 2024
- 2024Interpretability of Language Models via Task Spaces10 Jun 2024
- 2024ReFT: Representation Finetuning for Language Modelscited by 197
- 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 149
- 2024LLM Circuit Analyses Are Consistent Across Training and Scalecited by 63
- 2024CausalGym: Benchmarking causal interpretability methods on linguistic taskscited by 46
- 2025BiasEdit: Debiasing Stereotyped Language Models via Model Editingcited by 18
- 2023Bias A-head? Analyzing Bias in Transformer-Based Language Model Attention Headscited by 14
- 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Modelscited by 11
- 2025Are formal and functional linguistic mechanisms dissociated in language models?cited by 11
- 2024Interpreting Bias in Large Language Models: A Feature-Based Approachcited by 4
- 2024Perception of Phonological Assimilation by Neural Speech Recognition Modelscited by 3
- 2024Local Contrastive Editing of Gender Stereotypescited by 3
- 2025Gender Encoding Patterns in Pretrained Language Model Representationscited by 1
12 most cited of 14 All 14 (JSON)
- 2026A Mechanistic Understanding of Pronoun Fidelity in LLMs15 Jun 2026
- 2026GKnow: Measuring the Entanglement of Gender Bias and Factual Gender12 May 2026
- 2025Are formal and functional linguistic mechanisms dissociated in language models?14 Mar 2025
- 2025BiasEdit: Debiasing Stereotyped Language Models via Model Editing11 Mar 2025
- 2025Gender Encoding Patterns in Pretrained Language Model Representations9 Mar 2025
- 2024Local Contrastive Editing of Gender Stereotypes23 Oct 2024
- 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models2 Oct 2024
- 2024LLM Circuit Analyses Are Consistent Across Training and Scale15 Jul 2024
- 2024Perception of Phonological Assimilation by Neural Speech Recognition Models21 Jun 2024
- 2024Interpreting Bias in Large Language Models: A Feature-Based Approach18 Jun 2024
- 2024ReFT: Representation Finetuning for Language Models4 Apr 2024
- 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanisms26 Mar 2024
12 newest of 14 All 14 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Disclosure and Mitigation of Gender Bias in LLMs
- 2025Activation Steering for Bias Mitigation: An Interpretable Approach to Safer LLMs
- 2026Alignment Reduces Expressed but Not Encoded Gender Bias: A Unified Framework and Study
- 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Models
- 2025Detection, Classification, and Mitigation of Gender Bias in Large Language Models
- 2022Mitigating Gender Bias in Distilled Language Models via Counterfactual Role Reversal
- 2025Bias Testing and Mitigation in Black Box LLMs using Metamorphic Relations
- 2024Decoding Biases: Automated Methods and LLM Judges for Gender Bias Detection in Language Models