Fairness Pruning: Locating Demographic Bias in GLU-MLP Layers via Differential Activations
Abstract
This work presents Fairness Pruning, a lightweight structural intervention method designed for the management and future mitigation of demographic bias in large language models (LLMs). As a foundational empirical validation of this method, this work focuses on causal bias localization. Using minimally contrastive prompt pairs and inference-time activation capture, the method identifies neurons that react differentially when processing demographic attributes in GLU architectures, evaluating the signal at the downproj input. Empirical evaluation was conducted on models of up to 3 billion parameters (Llama-3.2 family and Salamandra-2B), combining standardized benchmark evaluation with qualitative text generation experiments. Results demonstrate that zeroing the identified neurons alters how the model responds to associated demographic variables. However, rather than producing flat mitigation, the intervention causes bidirectional bias destabilization: because BiasScore is unsigned, candidate sets mix neurons that push toward and against the stereotype, and the net effect on aggregate bias depends on which sign dominates. The intervention is extremely surgical: zeroing at most 40 neurons in Llama-3.2-1B (less than 0.031% of total MLP width) achieves a mean retention of 99.49% in reasoning and general knowledge capabilities. These findings empirically confirm that demographic bias processing and model capabilities operate on dissociable circuits, establishing the methodological foundations for transitioning from blind zeroing toward directional behavior modulation.
Create a lesson
Metadata
- Categories
- cs.CL, cs.CY, cs.LG
- Comments
- 15 pages, 3 figures, 9 tables. Code and datasets publicly available
Related papers
GradMAP: Faster Layer Pruning with Gradient Metric and Projection Compensation
Shared title terminologycs.CLHao Liu, Guangyan Li, Wensheng Zhang et al.
Where Does the Asymmetry Enter? Staging a Fairness Audit Across a Fused Multimodal Moderation Pipeline
Shared title terminologycs.CLKardelen Subasi, Jarosław A. Chudziak
Rethinking Sequential Locate-Then-Edit: Optimality and Stability
Shared title terminologycs.CLBingqing Liu, Wei Liu, Zhiying Deng et al.
Refusal Is Not Scored: A Coverage Limit in Content-Based Bias Evaluation
Shared title terminologycs.CLAfifah Kashif, Malak Sadek, Jin Huang et al.
Sparse-to-Sparse Feature Learning for Cross-Layer Analysis and Steering
Shared title terminologycs.CLMasahiro Kaneko, Ayana Niwa, Timothy Baldwin
Social Bias Neurons in Multilingual Language Models: A Mechanistic Interpretability Analysis
Shared title terminologycs.CLLance Calvin Lim Gamboa, Yue Feng, Mark Lee