paper-with-me

홈 › Papers

Toward Localizing and Repairing Bias in Transformer Attention Heads

2026-07-14 · Sigma Jahan arxiv

Transformer language models are increasingly used as software components, yet biased outputs remain difficult to localize and repair inside the model. Existing fairness testing and repair methods largely operate at the input-output or retraining level, while recent work suggests that bias-related behavior can concentrate in a small set of attention heads. This paper studies whether attention heads can be localized and repaired through a targeted inference-time intervention. We introduce ROBIN, a white-box head-level fairness debugging method that ranks attention heads using sensitivity to fairness probes and removes a small bias subspace from selected head outputs. In a four-model pilot study, ROBIN reduces the measured WinoBias gap across all models while preserving language-modeling quality better than whole-head zeroing. These preliminary results suggest that head-level bias repair should consider not only which heads are selected, but also how selected heads are modified.

📄 PDF Abstract BibTeX arXiv:2607.12863

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Bias A-head? Analyzing Bias in Transformer-Based Language Model Attention Heads

2023-11-17 · Yi Yang, Hanyu Duan, Ahmed Abbasi, John P. Lalor 외

Transformer-based pretrained large language models (PLM) such as BERT and GPT have achieved remarkable success in NLP tasks. However, PLMs are prone to encoding stereotypical biases. Although a burgeoning literature has …

DecoderFairnessLanguage ModelingLanguage Modelling

MaiT: Leverage Attention Masks for More Efficient Image Transformers

2022-07-06 · Ling Li, Ali Shafiee Ardestani, Joseph Hassoun

Though image transformers have shown competitive results with convolutional neural networks in computer vision tasks, lacking inductive biases such as locality still poses problems in terms of model efficiency especially…

Emergence of Episodic Memory in Transformers: Characterizing Changes in Temporal Structure of Attention Scores During Training

2025-02-09 · Deven Mahesh Mistry, Anooshka Bajaj, Yash Aggarwal, Sahaj Singh Maini 외

We investigate in-context temporal biases in attention heads and transformer outputs. Using cognitive science methodologies, we analyze attention scores and outputs of the GPT-2 models of varying sizes. Across attention …

In-Context Learning

MaiT: integrating spatial locality into image transformers with attention masks

2021-09-29 · Ling Li, Ali Shafiee, Joseph H Hassoun

Though image transformers have shown competitive results with convolutional neural networks in computer vision tasks, lacking inductive biases such as locality still poses problems in terms of model efficiency especially…

On the Importance of Local Information in Transformer Based Models

2020-08-13 · Madhura Pande, Aakriti Budhraja, Preksha Nema, Pratyush Kumar 외

The self-attention module is a key component of Transformer-based models, wherein each token pays attention to every other token. Recent studies have shown that these heads exhibit syntactic, semantic, or local behaviour…

de-enMRPCQNLIQQP+1