Unmasking the Mask -- Evaluating Social Biases in Masked Language Models
Not on the map. Why?
Abstract (arXiv)
Masked Language Models (MLMs) have shown superior performances in numerous downstream NLP tasks when used as text encoders. Unfortunately, MLMs also demonstrate significantly worrying levels of social biases. We show that the previously proposed evaluation metrics for quantifying the social biases in MLMs are problematic due to following reasons: (1) prediction accuracy of the masked tokens itself tend to be low in some MLMs, which raises questions regarding the reliability of the evaluation metrics that use the (pseudo) likelihood of the predicted tokens, and (2) the correlation between the prediction accuracy of the mask and the performance in downstream NLP tasks is not taken into consideration, and (3) high frequency words in the training data are masked more often, introducing noise due to this selection bias in the test cases. To overcome the above-mentioned disfluencies, we propose All Unmasked Likelihood (AUL), a bias evaluation measure that predicts all tokens in a test case given the MLM embedding of the unmasked input. We find that AUL accurately detects different types of biases in MLMs. We also propose AUL with attention weights (AULA) to evaluate tokens based on their importance in a sentence. However, unlike AUL and AULA, previously proposed bias evaluation measures for MLMs systematically overestimate the measured biases, and are heavily influenced by the unmasked tokens in the context.
Key facts. Cited by 60 papers in the map (data through 13 Oct 2026). Builds on 32 of its 50 references that are in the map. First posted on arXiv 15 Apr 2021.
Builds on
32 of 50 references.
References · 32
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,360
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,910
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,779
- 2018Deep contextualized word representationscited by 2,286
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,309
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,042
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 918
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 895
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 705
20 more
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 658
- 2019Attention is not not Explanationcited by 633
- 2019On Measuring Social Biases in Sentence Encoderscited by 397
- 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 337
- 2019Measuring Bias in Contextualized Word Representationscited by 275
- 2019Gender Bias in Contextualized Word Embeddingscited by 203
- 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 185
- 2018Learning Gender-Neutral Word Embeddingscited by 169
- 2019Black is to Criminal as Caucasian is to Police: Detecting and Removing Multiclass Bias in Word Embeddingscited by 146
- 2019Assessing Social and Intersectional Biases in Contextualized Word Representationscited by 135
- 2019On Measuring and Mitigating Biased Inferences of Word Embeddingscited by 112
- 2021Debiasing Pre-trained Contextualised Embeddingscited by 107
- 2019Attention Interpretability Across NLP Taskscited by 71
- 2019Gender-preserving Debiasing for Pre-trained Word Embeddingscited by 61
- 2019Understanding Undesirable Word Embedding Associationscited by 59
- 2019Rare Words: A Major Problem for Contextualized Embeddings And How to Fix it by Attentive Mimickingcited by 40
- 2021Dictionary-based Debiasing of Pre-trained Word Embeddingscited by 24
- 2021Attention Can Reflect Syntactic Structure (If You Let It)cited by 22
- 2019Conceptor Debiasing of Word Representations Evaluated on WEATcited by 18
- 2020Autoencoding Improves Pre-trained Word Embeddingscited by 11
Built on by
Citing papers per year: 2021: 1; 2022: 10; 2023: 19; 2024: 17; 2025: 13.
60 papers.
Sort:
By area:
- 2023Bias and Fairness in Large Language Models: A Surveycited by 636
- 2023Having Beer after Prayer? Measuring Cultural Bias in Large Language Modelscited by 153
- 2022Probing Pre-Trained Language Models for Cross-Cultural Differences in Valuescited by 147
- 2023A Survey on Fairness in Large Language Modelscited by 93
- 2022Gender Bias in Masked Language Models for Multiple Languagescited by 60
- 2022Debiasing isn't enough! -- On the Effectiveness of Debiasing MLMs and their Social Biases in Downstream Taskscited by 48
- 2022BERTScore is Unfair: On Social Bias in Language Model-Based Metrics for Text Generationcited by 48
- 2023Social Bias Probing: Fairness Benchmarking for Language Modelscited by 29
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2022Debiasing Methods for Fairer Neural Models in Vision and Language Research: A Surveycited by 22
- 2024Advancing Social Intelligence in AI Agents: Technical Challenges and Open Questionscited by 22
- 2021Measuring Fairness with Biased Rulers: A Survey on Quantifying Biases in Pretrained Language Modelscited by 20
38 more
- 2023An Efficient Multilingual Language Model Compression through Vocabulary Trimmingcited by 19
- 2023Understanding the Effect of Model Compression on Social Bias in Large Language Modelscited by 19
- 2022Sense Embeddings are also Biased--Evaluating Social Biases in Static and Contextualised Sense Embeddingscited by 18
- 2024CEB: Compositional Evaluation Benchmark for Fairness in Large Language Modelscited by 18
- 2023Indian-BhED: A Dataset for Measuring India-Centric Biases in Large Language Modelscited by 17
- 2023Fairness in Language Models Beyond English: Gaps and Challengescited by 16
- 2023Evaluating Gender Bias of Pre-trained Language Models in Natural Language Inference by Considering All Labelscited by 16
- 2024Cross-Care: Assessing the Healthcare Implications of Pre-training Data on Language Model Biascited by 15
- 2023In-Contextual Gender Bias Suppression for Large Language Modelscited by 12
- 2023Tackling Bias in Pre-trained Language Models: Current Trends and Under-represented Societiescited by 11
- 2024Fairness Definitions in Language Models Explainedcited by 10
- 2024Understanding Intrinsic Socioeconomic Biases in Large Language Modelscited by 9
- 2022Towards an Enhanced Understanding of Bias in Pre-trained Neural Language Models: A Survey with Special Emphasis on Affective Biascited by 8
- 2022HERB: Measuring Hierarchical Regional Bias in Pre-trained Language Modelscited by 8
- 2023Comparing Intrinsic Gender Bias Evaluation Measures without using Human Annotated Examplescited by 8
- 2023The Impact of Debiasing on the Performance of Language Models in Downstream Tasks is Underestimatedcited by 7
- 2025Evaluating the Effect of Retrieval Augmentation on Social Biasescited by 7
- 2022Gender Bias in Meta-Embeddingscited by 6
- 2025Evaluate Bias without Manual Test Sets: A Concept Representation Perspective for LLMscited by 6
- 2023Solving Cosine Similarity Underestimation between High Frequency Words by L2 Norm Discountingcited by 5
- 2023Solving NLP Problems through Human-System Collaboration: A Discussion-based Approachcited by 5
- 2024Robust Evaluation Measures for Evaluating Social Biases in Masked Language Modelscited by 5
- 2024Large Language Models as Mirrors of Societal Moral Standardscited by 5
- 2023A Predictive Factor Analysis of Social Biases and Task-Performance in Pretrained Masked Language Modelscited by 4
- 2024Quantifying Stereotypes in Languagecited by 4
- 2024Eagle: Ethical Dataset Given from Real Interactionscited by 4
- 2024A Study of Nationality Bias in Names and Perplexity using Off-the-Shelf Affect-related Tweet Classifierscited by 4
- 2025Dutch CrowS-Pairs: Adapting a Challenge Dataset for Measuring Social Biases in Language Models for Dutchcited by 4
- 2025LLM Bias Detection and Mitigation through the Lens of Desired Distributionscited by 4
- 2023Cross-Modal Attribute Insertions for Assessing the Robustness of Vision-and-Language Learningcited by 3
- 2024Evaluating Short-Term Temporal Fluctuations of Social Biases in Social Media Data and Masked Language Modelscited by 3
- 2025McBE: A Multi-task Chinese Bias Evaluation Benchmark for Large Language Modelscited by 3
- 2025Mechanistic Interpretability with SAEs: Probing Religion, Violence, and Geography in Large Language Modelscited by 3
- 2022Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adaptationcited by 2
- 2024Measuring Social Biases in Masked Language Models by Proxy of Prediction Qualitycited by 2
- 2024What is Your Favorite Gender, MLM? Gender Bias Evaluation in Multilingual Masked Language Modelscited by 2
- 2024REFINE-LM: Mitigating Language Model Stereotypes via Reinforcement Learningcited by 2
- 2024A Note on Bias to Completecited by 1
50 most cited of 60 All 60 (JSON)
- 2025LLM Bias Detection and Mitigation through the Lens of Desired Distributions7 Oct 2025
- 2025Mechanistic Interpretability with SAEs: Probing Religion, Violence, and Geography in Large Language Models22 Sep 2025
- 2025Augmenting Bias Detection in LLMs Using Topological Data Analysis11 Aug 2025
- 2025FairLangProc: A Python package for fairness in NLP5 Aug 2025
- 2025Dutch CrowS-Pairs: Adapting a Challenge Dataset for Measuring Social Biases in Language Models for Dutch22 Jul 2025
- 2025McBE: A Multi-task Chinese Bias Evaluation Benchmark for Large Language Models2 Jul 2025
- 2025Towards Fair Rankings: Leveraging LLMs for Gender Bias Detection and Measurement27 Jun 2025
- 2025Beyond Bias Scores: Unmasking Vacuous Neutrality in Small Language Models10 Jun 2025
- 2025Evaluate Bias without Manual Test Sets: A Concept Representation Perspective for LLMs21 May 2025
- 2025Language Models That Walk the Talk: A Framework for Formal Fairness Certificates19 May 2025
- 2025CASE -- Condition-Aware Sentence Embeddings for Conditional Semantic Textual Similarity Measurement21 Mar 2025
- 2025Evaluating the Effect of Retrieval Augmentation on Social Biases24 Feb 2025
38 more
- 2025Robust Bias Detection in MLMs and its Application to Human Trait Ratings21 Feb 2025
- 2024Large Language Models as Mirrors of Societal Moral Standards1 Dec 2024
- 2024REFINE-LM: Mitigating Language Model Stereotypes via Reinforcement Learning18 Aug 2024
- 2024Fairness Definitions in Language Models Explained26 Jul 2024
- 2024Who is better at math, Jenny or Jingzhen? Uncovering Stereotypes in Large Language Models9 Jul 2024
- 2024CEB: Compositional Evaluation Benchmark for Fairness in Large Language Models2 Jul 2024
- 2024A Study of Nationality Bias in Names and Perplexity using Off-the-Shelf Affect-related Tweet Classifiers1 Jul 2024
- 2024Evaluating Short-Term Temporal Fluctuations of Social Biases in Social Media Data and Masked Language Models19 Jun 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024Understanding Intrinsic Socioeconomic Biases in Large Language Models28 May 2024
- 2024Cross-Care: Assessing the Healthcare Implications of Pre-training Data on Language Model Bias9 May 2024
- 2024Advancing Social Intelligence in AI Agents: Technical Challenges and Open Questions17 Apr 2024
- 2024What is Your Favorite Gender, MLM? Gender Bias Evaluation in Multilingual Masked Language Models9 Apr 2024
- 2024Eagle: Ethical Dataset Given from Real Interactions22 Feb 2024
- 2024Measuring Social Biases in Masked Language Models by Proxy of Prediction Quality21 Feb 2024
- 2024A Note on Bias to Complete18 Feb 2024
- 2024Quantifying Stereotypes in Language28 Jan 2024
- 2024Robust Evaluation Measures for Evaluating Social Biases in Masked Language Models21 Jan 2024
- 2023Understanding the Effect of Model Compression on Social Bias in Large Language Models9 Dec 2023
- 2023Tackling Bias in Pre-trained Language Models: Current Trends and Under-represented Societies3 Dec 2023
- 2023Social Bias Probing: Fairness Benchmarking for Language Models15 Nov 2023
- 2023A Predictive Factor Analysis of Social Biases and Task-Performance in Pretrained Masked Language Models19 Oct 2023
- 2023Evaluating Gender Bias of Pre-trained Language Models in Natural Language Inference by Considering All Labels18 Sep 2023
- 2023The Impact of Debiasing on the Performance of Language Models in Downstream Tasks is Underestimated16 Sep 2023
- 2023Indian-BhED: A Dataset for Measuring India-Centric Biases in Large Language Models15 Sep 2023
- 2023In-Contextual Gender Bias Suppression for Large Language Models13 Sep 2023
- 2023Bias and Fairness in Large Language Models: A Survey2 Sep 2023
- 2023A Survey on Fairness in Large Language Models20 Aug 2023
- 2023Cross-Modal Attribute Insertions for Assessing the Robustness of Vision-and-Language Learning19 Jun 2023
- 2023An Efficient Multilingual Language Model Compression through Vocabulary Trimming24 May 2023
- 2023Having Beer after Prayer? Measuring Cultural Bias in Large Language Models23 May 2023
- 2023Solving NLP Problems through Human-System Collaboration: A Discussion-based Approach19 May 2023
- 2023Solving Cosine Similarity Underestimation between High Frequency Words by L2 Norm Discounting17 May 2023
- 2023Constructing Holistic Measures for Social Biases in Masked Language Models12 May 2023
- 2023Fairness in Language Models Beyond English: Gaps and Challenges24 Feb 2023
- 2023Comparing Intrinsic Gender Bias Evaluation Measures without using Human Annotated Examples28 Jan 2023
- 2023Blacks is to Anger as Whites is to Joy? Understanding Latent Affective Bias in Large Pre-trained Neural Language Models21 Jan 2023
- 2022Debiasing Methods for Fairer Neural Models in Vision and Language Research: A Survey10 Nov 2022
50 newest of 60 All 60 (JSON)
- 2023Bias and Fairness in Large Language Models: A Surveycited by 636
- 2023Having Beer after Prayer? Measuring Cultural Bias in Large Language Modelscited by 153
- 2022Probing Pre-Trained Language Models for Cross-Cultural Differences in Valuescited by 147
- 2023A Survey on Fairness in Large Language Modelscited by 93
- 2022Gender Bias in Masked Language Models for Multiple Languagescited by 60
- 2022Debiasing isn't enough! -- On the Effectiveness of Debiasing MLMs and their Social Biases in Downstream Taskscited by 48
- 2022BERTScore is Unfair: On Social Bias in Language Model-Based Metrics for Text Generationcited by 48
- 2023Social Bias Probing: Fairness Benchmarking for Language Modelscited by 29
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2022Debiasing Methods for Fairer Neural Models in Vision and Language Research: A Surveycited by 22
- 2024Advancing Social Intelligence in AI Agents: Technical Challenges and Open Questionscited by 22
- 2021Measuring Fairness with Biased Rulers: A Survey on Quantifying Biases in Pretrained Language Modelscited by 20
12 most cited of 57 All 57 (JSON)
- 2025LLM Bias Detection and Mitigation through the Lens of Desired Distributions7 Oct 2025
- 2025Augmenting Bias Detection in LLMs Using Topological Data Analysis11 Aug 2025
- 2025FairLangProc: A Python package for fairness in NLP5 Aug 2025
- 2025Dutch CrowS-Pairs: Adapting a Challenge Dataset for Measuring Social Biases in Language Models for Dutch22 Jul 2025
- 2025McBE: A Multi-task Chinese Bias Evaluation Benchmark for Large Language Models2 Jul 2025
- 2025Towards Fair Rankings: Leveraging LLMs for Gender Bias Detection and Measurement27 Jun 2025
- 2025Beyond Bias Scores: Unmasking Vacuous Neutrality in Small Language Models10 Jun 2025
- 2025Language Models That Walk the Talk: A Framework for Formal Fairness Certificates19 May 2025
- 2025CASE -- Condition-Aware Sentence Embeddings for Conditional Semantic Textual Similarity Measurement21 Mar 2025
- 2025Robust Bias Detection in MLMs and its Application to Human Trait Ratings21 Feb 2025
- 2024Large Language Models as Mirrors of Societal Moral Standards1 Dec 2024
- 2024REFINE-LM: Mitigating Language Model Stereotypes via Reinforcement Learning18 Aug 2024
12 newest of 57 All 57 (JSON)