Should We Attend More or Less? Modulating Attention for Fairness
Not on the map. Why?
Abstract (arXiv)
The advances in natural language processing (NLP) pose both opportunities and challenges. While recent progress enables the development of high-performing models for a variety of tasks, it also poses the risk of models learning harmful biases from the data, such as gender stereotypes. In this work, we investigate the role of attention, a widely-used technique in current state-of-the-art NLP models, in the propagation of social biases. Specifically, we study the relationship between the entropy of the attention distribution and the model's performance and fairness. We then propose a novel method for modulating attention weights to improve model fairness after training. Since our method is only applied post-training and pre-inference, it is an intra-processing method and is, therefore, less computationally expensive than existing in-processing and pre-processing approaches. Our results show an increase in fairness and minimal performance loss on different text classification and generation tasks using language models of varying sizes. WARNING: This work uses language that is offensive.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 57 of its 76 references that are in the map. First posted on arXiv 22 May 2023.
Builds on
57 of 76 references.
References · 57
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2016Pointer Sentinel Mixture Modelscited by 3,096
38 more
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2016Equality of Opportunity in Supervised Learningcited by 2,007
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
- 2019Attention is not Explanationcited by 929
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2019Attention is not not Explanationcited by 636
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
- 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 412
- 2019Is Attention Interpretable?cited by 389
- 2019Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Settingcited by 349
- 2019Mitigating Gender Bias in Natural Language Processing: Literature Reviewcited by 287
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 277
- 2018Examining Gender and Race Bias in Two Hundred Sentiment Analysis Systemscited by 234
- 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
- 2018Stress Test Evaluation for Natural Language Inferencecited by 213
- 2018Gender Bias in Neural Natural Language Processingcited by 211
- 2019A Unified MRC Framework for Named Entity Recognitioncited by 199
- 2019Dice Loss for Data-imbalanced NLP Taskscited by 182
- 2017Data Decisions and Theoretical Implications when Adversarially Learning Fair Representationscited by 165
- 2022BRIO: Bringing Order to Abstractive Summarizationcited by 161
- 2018Reducing Gender Bias in Abusive Language Detectioncited by 152
- 2018Counterfactual Fairness in Text Classification through Robustnesscited by 151
- 2019It's All in the Name: Mitigating Gender Bias with Name-Based Counterfactual Data Substitutioncited by 103
- 2021An Empirical Survey of the Effectiveness of Debiasing Techniques for Pre-trained Language Modelscited by 97
- 2020Contextualizing Hate Speech Classifiers with Post-hoc Explanationcited by 84
- 2019Jointly Learning to Align and Translate with Transformer Modelscited by 75
- 2022Entropy-based Attention Regularization Frees Unintended Bias Mitigation from Listscited by 55
- 2020Towards Transparent and Explainable Attention Modelscited by 47
- 2020Demographics Should Not Be the Reason of Toxicity: Mitigating Discrimination in Text Classifications with Instance Weightingcited by 41
- 2016How Grammatical is Character-level Neural Machine Translation? Assessing MT Quality with Contrastive Translation Pairscited by 39
- 2017A Challenge Set Approach to Evaluating Machine Translationcited by 37
- 2022MABEL: Attenuating Gender Bias using Textual Entailment Datacited by 31
- 2020Intra-Processing Methods for Debiasing Neural Networkscited by 27
- 2020Improving BERT with Syntax-aware Local Attentioncited by 26
- 2022HIBRIDS: Attention with Hierarchical Biases for Structure-aware Long Document Summarizationcited by 23
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2023: 3; 2024: 4; 2025: 4.
11 papers.
- 2023Bias and Fairness in Large Language Models: A Surveycited by 639
- 2024Fairness in Large Language Models: A Taxonomic Surveycited by 58
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2023Fairness-Aware Structured Pruning in Transformerscited by 22
- 2023Tackling Bias in Pre-trained Language Models: Current Trends and Under-represented Societiescited by 11
- 2024Towards Understanding Task-agnostic Debiasing Through the Lenses of Intrinsic Bias and Forgetfulnesscited by 2
- 2024Exploring Accuracy-Fairness Trade-off in Large Language Modelscited by 1
- 2025Do Biased Models Have Biased Thoughts?cited by 1
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
- 2025Token-Level Entropy Reveals Demographic Disparities in Large Language Modelscited by 0
- 2025FairLangProc: A Python package for fairness in NLPcited by 0
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformer24 Nov 2025
- 2025Do Biased Models Have Biased Thoughts?8 Aug 2025
- 2025FairLangProc: A Python package for fairness in NLP5 Aug 2025
- 2025Token-Level Entropy Reveals Demographic Disparities in Large Language Models31 Jan 2025
- 2024Exploring Accuracy-Fairness Trade-off in Large Language Models21 Nov 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024Towards Understanding Task-agnostic Debiasing Through the Lenses of Intrinsic Bias and Forgetfulness6 Jun 2024
- 2024Fairness in Large Language Models: A Taxonomic Survey31 Mar 2024
- 2023Fairness-Aware Structured Pruning in Transformers24 Dec 2023
- 2023Tackling Bias in Pre-trained Language Models: Current Trends and Under-represented Societies3 Dec 2023
- 2023Bias and Fairness in Large Language Models: A Survey2 Sep 2023