Attention Pruning: Automated Fairness Repair of Language Models via Surrogate Simulated Annealing
Vishnu Asutosh Dasu, Md Rafi Ur Rashid, Vipul Gupta, Saeid Tizpaz-Niari, Gang Tan
摘要
This paper explores pruning attention heads as a post-processing bias mitigation method for large language models (LLMs). LLMs have been expanding into sensitive social contexts and socio-economic decision-making where fairness concerns become especially crucial. Since LLMs develop their decision-making patterns by training on massive datasets of human-generated content, they naturally encode and perpetuate societal biases. While modifying training datasets and algorithms is prohibitive, post-processing techniquessuch as pruning attention heads in pre-trained LLMs-can provide feasible and effective approaches to improve fairness. However, identifying the optimal subset of parameters to prune presents a combinatorial challenge within the immense parameter space of LLMs, requiring efficient solutions that balance competing objectives across the frontiers of model fairness and utility.
We explore a search-based program repair approach via simulated annealing to address the computational challenges. Given the prohibitive evaluation costs in billion-parameter LLMs, we develop surrogate deep neural networks that efficiently model the relationship between attention head states (active/inactive) and their corresponding fairness/utility metrics. This allows us to perform optimization over the surrogate models and efficiently identify optimal subsets of attention heads for pruning rather than directly searching through the LLM parameter space. This paper introduces Attention Pruning, a fairness-aware surrogate simulated annealing approach to prune attention heads in LLMs that disproportionately contribute to bias while minimally impacting overall model utility. Our experimental evaluation shows that Attention Pruning achieves a reduction of up to 40% in gender bias and outperforms state-of-the-art bias mitigation strategies.
Warning: This paper contains content that some readers may find offensive and harmful.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Fairness Invariants: A Relational Approach to Explaining and Mitigating Fairness Bugs 引用了 Fairway: a way to build fair ML software
- Fairness Invariants: A Relational Approach to Explaining and Mitigating Fairness Bugs 引用了 White-box fairness testing through adversarial sampling
- The WMDP Benchmark: Measuring and Reducing Malicious Use with Unlearning 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
引用它的顶会 Paper1
它引用的 Paper28
- RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language ModelsSamuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi 等EMNLP Findings 2020 · 692 次引用
- The WMDP Benchmark: Measuring and Reducing Malicious Use with UnlearningNathaniel Li, Alexander Pan, Anjali Gopal, Summer Yue 等ICML 2024 · 390 次引用
- Adversarial Filters of Dataset BiasesRonan Le Bras, Swabha Swayamdipta, Chandra Bhagavatula, Rowan Zellers 等ICML 2020 · 242 次引用
- Fairway: a way to build fair ML softwareJoymallya Chakraborty, Suvodeep Majumder, Zhe Yu, Tim MenziesFSE 2020 · 131 次引用
- White-box fairness testing through adversarial samplingPeixin Zhang, Jingyi Wang, Jun Sun, Guoliang Dong 等ICSE 2020 · 127 次引用
相关 Paper
- Modular and On-demand Bias Mitigation with Attribute-Removal SubnetworksLukas Hauzenberger, Shahed Masoudian, Deepak Kumar, Markus Schedl 等ACL Findings 2023 · 10 次引用
- Toward Inclusive Language Models: Sparsity-Driven Calibration for Systematic and Interpretable Mitigation of Social Biases in LLMsPrommy Sultana Hossain, Chahat Raj, Ziwei Zhu, Jessica Lin 等EMNLP Findings 2025
- Fairness Evaluation and Inference Level Mitigation in LLMsAfrozah Nadeem, Mark Dras, Usman NaseemACL Findings 2026 · 1 次引用
- Deciphering Stereotypes in Pre-Trained Language ModelsWeicheng Ma, Henry Scheible, Brian Wang, Goutham Veeramachaneni 等EMNLP 2023 · 7 次引用
- Fine-tuning LLMs with Cross-Attention-based Weight Decay for Bias MitigationFarsheed Haque, Zhe Fu, Depeng Xu, Shuhan Yuan 等EMNLP Findings 2025
