Attention Speaks Volumes: Localizing and Mitigating Bias in Language Models
Rishabh Adiga, Besmira Nushi, Varun Chandrasekaran

TL;DR
This paper introduces ATLAS, a novel attention-based method to localize and mitigate bias in large language models by analyzing and scaling attention in specific layers, effectively reducing bias with minimal impact on performance.
Contribution
The paper presents a new metric for bias quantification and a layer-specific attention scaling technique, ATLAS, to address bias directly within LLMs' internal mechanisms.
Findings
Bias is concentrated in later layers of LLMs.
ATLAS reduces bias scores across multiple datasets.
Minimal perplexity increase indicates preserved performance.
Abstract
We explore the internal mechanisms of how bias emerges in large language models (LLMs) when provided with ambiguous comparative prompts: inputs that compare or enforce choosing between two or more entities without providing clear context for preference. Most approaches for bias mitigation focus on either post-hoc analysis or data augmentation. However, these are transient solutions, without addressing the root cause: the model itself. Numerous prior works show the influence of the attention module towards steering generations. We believe that analyzing attention is also crucial for understanding bias, as it provides insight into how the LLM distributes its focus across different entities and how this contributes to biased decisions. To this end, we first introduce a metric to quantify the LLM's preference for one entity over another. We then propose (Attention-based…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Text Readability and Simplification · Natural Language Processing Techniques
MethodsSoftmax · Attention Is All You Need · Focus
