ACL Findings2026
Debiasing LLMs by Masking Unfairness-Driving Attention Heads
Tingxu Han, Wei Song, Ziqi Ding, Ziming Li, Chunrong Fang, Yuekang Li, Dongfang Liu, Zhenyu Chen, Zhenting Wang
Abstract
Large language models (LLMs) increasingly mediate decisions in domains where unfair treatment of demographic groups is unacceptable. Existing work probes when biased outputs appear, but gives little insight into the mechanisms that generate them, leaving existing mitigations largely fragile. In this paper, we conduct a systematic investigation of LLM unfairness and propose DIFFHEADS, a lightweight debiasing framework for LLMs. We first compare Direct-Answer (DA) prompting to Chain-of-Thought (CoT) prompting across eight representative open-and closedsource LLMs. DA will trigger the nature-bias component of the LLM and reduce measured unfairness by 391.9% -534.5% in both oneturn and two-turn dialogues. Next, we define a token-to-head contribution score that traces each token's influence back to individual attention heads. This reveals a small cluster of bias heads that activate under DA but stay largely dormant with CoT, providing the first causal link between prompting strategy and bias emergence. Finally, building on this, we propose DIFFHEADS that identifies bias heads through differential activation analysis between DA and CoT, and selectively masks only those heads. DIFFHEADS reduces unfairness by 49.4%, and 40.3% under DA and CoT, respectively, without harming model utility. Our code is available at https://github. com/GeniusHTX/DIFFHEADS.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Token-Budget-Aware LLM Reasoning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- On Second Thought, Let's Not Think Step by Step! Bias and Toxicity in Zero-Shot Reasoning cites BBQ: A hand-built bias benchmark for question answering
- On Second Thought, Let's Not Think Step by Step! Bias and Toxicity in Zero-Shot Reasoning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Builds on11
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- BBQ: A hand-built bias benchmark for question answeringAlicia Parrish, Angelica Chen, Nikita Nangia, Vishakh Padmakumar et al.ACL Findings 2022 · 186 citations
- On Second Thought, Let's Not Think Step by Step! Bias and Toxicity in Zero-Shot ReasoningOmar Shaikh, Hongxin Zhang, William Barr Held, Michael S. Bernstein et al.ACL 2023 · 61 citations
- MMLU-CF: A Contamination-free Multi-task Language Understanding BenchmarkQihao Zhao, Yangyu Huang, Tengchao Lv, Lei Cui et al.ACL 2025 · 33 citations
- Token-Budget-Aware LLM ReasoningTingxu Han, Zhenting Wang, Chunrong Fang, Shiyu Zhao et al.ACL Findings 2025 · 31 citations
Related papers
- Mitigating Bias in Large Language Model Based Question Answering through Causal Front Door PromptingYaqi Yang, Ziqi Xu, Jie Li, Chenglong Ma et al.SIGIR 2026
- Causal Prompting: Debiasing Large Language Model Prompting Based on Front-Door AdjustmentCongzhi Zhang, Linhai Zhang, Jialong Wu, Yulan He et al.AAAI 2025 · 42 citations
- Prompting Fairness: Integrating Causality to Debias Large Language ModelsJingling Li, Zeyu Tang, Xiaoyu Liu, Peter Spirtes et al.ICLR 2025
- Bi-directional Bias Attribution: Debiasing Large Language Models without Modifying PromptsYujie Lin, Kunquan Li, Yixuan Liao, Xiaoxin Chen et al.ICLR 2026 · 6 citations
- Bias after Prompting: Persistent Discrimination in Large Language ModelsNivedha Sivakumar, Natalie Mackraz, Samira Khorshidi, Krishna Patel et al.EMNLP Findings 2025 · 1 citation
