mlsanityData to 14 Oct 2026

Interpreting Bias in Large Language Models: A Feature-Based Approach

arXiv 2406.12347 ↗First posted 18 Jun 2024cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) such as Mistral and LLaMA have showcased remarkable performance across various natural language processing (NLP) tasks. Despite their success, these models inherit social biases from the diverse datasets on which they are trained. This paper investigates the propagation of biases within LLMs through a novel feature-based analytical approach. Drawing inspiration from causal mediation analysis, we hypothesize the evolution of bias-related features and validate them using interpretability techniques like activation and attribution patching. Our contributions are threefold: (1) We introduce and empirically validate a feature-based method for bias analysis in LLMs, applied to LLaMA-2-7B, LLaMA-3-8B, and Mistral-7B-v0.3 with templates from a professions dataset. (2) We extend our method to another form of gender bias, demonstrating its generalizability. (3) We differentiate the roles of MLPs and attention heads in bias propagation and implement targeted debiasing using a counterfactual dataset. Our findings reveal the complex nature of bias in LLMs and emphasize the necessity for tailored debiasing strategies, offering a deeper understanding of bias mechanisms and pathways for effective mitigation.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 19 of its 29 references that are in the map. First posted on arXiv 18 Jun 2024.

Builds on

19 of 29 references.

References · 19

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  2. 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,312
  3. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  4. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
  5. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
  6. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
  7. 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 541
  8. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
  9. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 412
  10. 2019On Measuring Social Biases in Sentence Encoderscited by 398
  11. 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 149
  12. 2021Bias Out-of-the-Box: An Empirical Analysis of Intersectional Occupational Biases in Popular Generative Language Modelscited by 141
7 more
  1. 2020UnQovering Stereotyping Biases via Underspecified Questionscited by 126
  2. 2018Identifying and Controlling Important Neurons in Neural Machine Translationcited by 111
  3. 2024AtP*: An efficient and scalable method for localizing LLM behaviour to componentscited by 111
  4. 2021Sparse Interventions in Language Models with Differentiable Maskingcited by 34
  5. 2023A Trip Towards Fairness: Bias and De-Biasing in Large Language Modelscited by 32
  6. 2022Causally Testing Gender Bias in LLMs: A Case Study on Occupational Biascited by 28
  7. 2023Identifying and Adapting Transformer-Components Responsible for Gender Bias in an English Language Modelcited by 22

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspective
  2. 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Models
  3. 2024Decoding Biases: Automated Methods and LLM Judges for Gender Bias Detection in Language Models
  4. 2025Unsupervised Concept Vector Extraction for Bias Control in LLMs
  5. 2026CogBias: Measuring and Mitigating Cognitive Bias in Large Language Models
  6. 2023Gender bias and stereotypes in Large Language Models
  7. 2024A Multi-LLM Debiasing Framework
  8. 2026Biases in the Blind Spot: Detecting What LLMs Fail to Mention