Bi-directional Bias Attribution: Debiasing Large Language Models without Modifying Prompts

Yujie Lin, Kunquan Li, Yixuan Liao, Xiaoxin Chen, Jinsong Su
2/4/2026
cs.CLcs.AI

Official code: XMUDeepLIT/Bi-directional-Bias-Attribution (2 stars, last commit 2026-02-04).

Abstract

Large language models (LLMs) have demonstrated impressive capabilities across a wide range of natural language processing tasks. However, their outputs often exhibit social biases, raising fairness concerns. Existing debiasing methods, such as fine-tuning on additional datasets or prompt engineering, face scalability issues or compromise user experience in multi-turn interactions. To address these challenges, we propose a framework for detecting stereotype-inducing words and attributing neuron-level bias in LLMs, without the need for fine-tuning or prompt modification. Our framework first identifies stereotype-inducing adjectives and nouns via comparative analysis across demographic groups. We then attribute biased behavior to specific neurons using two attribution strategies based on integrated gradients. Finally, we mitigate bias by directly intervening on their activations at the projection layer. Experiments on three widely used LLMs demonstrate that our method effectively reduces bias while preserving overall model performance. Code is available at the github link: https://github.com/XMUDeepLIT/Bi-directional-Bias-Attribution.

View on arXivView PDF

Code Implementations(1)

The code implementation for Bi-directional Bias Attribution: Debiasing Large Language Models without Modifying Prompts (ICLR 2026).

20PythonFeb 4, 20268 months ago

Similar Papers

Cite this paper

@article{lin2026bidirectional,
  title  = {Bi-directional Bias Attribution: Debiasing Large Language Models without Modifying Prompts},
  author = {Yujie Lin and Kunquan Li and Yixuan Liao and Xiaoxin Chen and Jinsong Su},
  year   = {2026},
  eprint = {2602.04398},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.04398v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.04398.svg)](https://codeofpaper.com/paper/2602.04398)

Discussion