Reproduce “Fairness Pruning: Locating Demographic Bias in GLU-MLP Layers via Differential Activations” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Pere Martra, Eugenio Martínez Cámara, Alfonso Ureña López

Fairness Pruning localizes demographic bias within Large Language Model GLU-MLP layers by analyzing differential activations from minimally contrastive prompt pairs. The method identifies bias-sensitive circuits largely dissociable from general model capabilities, enabling targeted interventions with minimal impact on overall performance, though current interventions lead to bias destabilization rather than controlled reduction.

Key insights

  • Demographic bias is concentrated in specific, identifiable neurons within the final GLU-MLP layers of LLMs, operating through distinct, largely separable circuits for different demographic categories.
  • Processing of demographic attributes and general model capabilities are dissociable, allowing targeted bias interventions with minimal degradation to core LLM functions (mean 99.49% capability retention).
  • Interventions based on an unsigned differential activation score result in bidirectional bias destabilization (reduction, amplification, or shifting) rather than monotonic reduction, indicating identified neurons regulate demographic expression within a redundant system.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.