mlsanityData to 14 Oct 2026

Fairness-Aware Structured Pruning in Transformers

arXiv 2312.15398 ↗First posted 24 Dec 2023cs.CL cs.CY cs.LGcited by 22

Not on the map. Why?

Abstract (arXiv)

The increasing size of large language models (LLMs) has introduced challenges in their training and inference. Removing model components is perceived as a solution to tackle the large model sizes, however, existing pruning methods solely focus on performance, without considering an essential aspect for the responsible use of LLMs: model fairness. It is crucial to address the fairness of LLMs towards diverse groups, such as women, Black people, LGBTQ+, Jewish communities, among others, as they are being deployed and available to a wide audience. In this work, first, we investigate how attention heads impact fairness and performance in pre-trained transformer-based language models. We then propose a novel method to prune the attention heads that negatively impact fairness while retaining the heads critical for performance, i.e. language modeling capabilities. Our approach is practical in terms of time and resources, as it does not require fine-tuning the final pruned, and fairer, model. Our findings demonstrate a reduction in gender bias by 19%, 19.5%, 39.5%, 34.7%, 23%, and 8% for DistilGPT-2, GPT-2, GPT-Neo of two different sizes, GPT-J, and Llama 2 models, respectively, in comparison to the biased model, with only a slight decrease in performance.

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

Builds on

35 of 47 references.

References · 35

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  6. 2016Pointer Sentinel Mixture Modelscited by 3,096
  7. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
  8. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
  9. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  10. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  11. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  12. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
23 more
  1. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
  2. 2016Semantics derived automatically from language corpora contain human-like biasescited by 901
  3. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  4. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
  5. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
  6. 2018Gender Bias in Coreference Resolutioncited by 442
  7. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
  8. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 412
  9. 2019Measuring Bias in Contextualized Word Representationscited by 276
  10. 2020Measuring and Reducing Gendered Correlations in Pre-trained Modelscited by 224
  11. 2019A Unified MRC Framework for Named Entity Recognitioncited by 199
  12. 2019Dice Loss for Data-imbalanced NLP Taskscited by 182
  13. 2020Detecting Emergent Intersectional Biases: Contextualized Word Embeddings Contain a Distribution of Human-like Biasescited by 167
  14. 2022"I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Datasetcited by 162
  15. 2020Named Entity Recognition as Dependency Parsingcited by 151
  16. 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
  17. 2020When BERT Plays the Lottery, All Tickets Are Winningcited by 114
  18. 2017Exploring Sparsity in Recurrent Neural Networkscited by 75
  19. 2021Collecting a Large-Scale Gender Bias Dataset for Coreference Resolution and Machine Translationcited by 62
  20. 2021The Stem Cell Hypothesis: Dilemma behind Multi-Task Learning with Transformer Encoderscited by 32
  21. 2021Layer-wise Model Pruning based on Mutual Informationcited by 19
  22. 2023Should We Attend More or Less? Modulating Attention for Fairnesscited by 11
  23. 2021Model Compression for Domain Adaptation through Causal Effect Estimationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 13; 2026: 5.

22 papers.

Sort:

By area:

  1. 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 40
  2. 2025GuidedQuant: Large Language Model Quantization via Exploiting End Loss Guidancecited by 32
  3. 2024Fairness and Bias in Multimodal AI: A Surveycited by 20
  4. 2024Programming with AI: Evaluating ChatGPT, Gemini, AlphaCode, and GitHub Copilot for Programmerscited by 5
  5. 2025Attention Pruning: Automated Fairness Repair of Language Models via Surrogate Simulated Annealingcited by 5
  6. 2025Evaluating and Improving Robustness in Large Language Models: A Survey and Future Directionscited by 5
  7. 2025CoBia: Constructed Conversations Can Trigger Otherwise Concealed Societal Biases in LLMscited by 5
  8. 2024Why Don't Prompt-Based Fairness Metrics Correlate?cited by 4
  9. 2024Debiasing surgeon: fantastic weights and how to find themcited by 2
  10. 2025Breaking Down Bias: On The Limits of Generalizable Pruning Strategiescited by 2
  11. 2025Fairness in Augmented Graph Learning: A Surveycited by 2
  12. 2025Less Is More? Examining Fairness in Pruned Large Language Models for Summarising Opinionscited by 2
10 more
  1. 2025REFER: Mitigating Bias in Opinion Summarisation via Frequency Framed Promptingcited by 2
  2. 2026It Takes a MAESTRO To Prune Bad Expertscited by 2
  3. 2026DeFrame: Debiasing Large Language Models Against Framing Effectscited by 1
  4. 2026Fairness Aware Reward Optimizationcited by 1
  5. 2025Auto-Search and Refinement: An Automated Framework for Gender Bias Mitigation in Large Language Modelscited by 0
  6. 2025A Close Reading Approach to Gender Narrative Biases in AI-Generated Storiescited by 0
  7. 2025HiCoLoRA: Addressing Context-Prompt Misalignment via Hierarchical Collaborative LoRA for Zero-Shot DSTcited by 0
  8. 2025Debiasing LLMs by Masking Unfairness-Driving Attention Headscited by 0
  9. 2026Bias In, Bias Out? Finding Unbiased Subnetworks in Vanilla Modelscited by 0
  10. 2026FORGE: Verification-Gated Behavioral Repair for Generative Language Modelscited by 0