[Paper Review] Evaluating Metrics for Bias in Word Embeddings
This paper proposes SAME (Scoring Association Means of Word Embeddings), a new cosine-based bias metric for word embeddings that addresses theoretical flaws in existing metrics like WEAT, Direct Bias, and MAC. It formally defines desirable properties for bias metrics, proves SAME satisfies them, and demonstrates through experiments that SAME outperforms prior methods in detecting bias, especially under subset selection and skew/stereotype distinctions.
Over the last years, word and sentence embeddings have established as text preprocessing for all kinds of NLP tasks and improved the performances significantly. Unfortunately, it has also been shown that these embeddings inherit various kinds of biases from the training data and thereby pass on biases present in society to NLP solutions. Many papers attempted to quantify bias in word or sentence embeddings to evaluate debiasing methods or compare different embedding models, usually with cosine-based metrics. However, lately some works have raised doubts about these metrics showing that even though such metrics report low biases, other tests still show biases. In fact, there is a great variety of bias metrics or tests proposed in the literature without any consensus on the optimal solutions. Yet we lack works that evaluate bias metrics on a theoretical level or elaborate the advantages and disadvantages of different bias metrics. In this work, we will explore different cosine based bias metrics. We formalize a bias definition based on the ideas from previous works and derive conditions for bias metrics. Furthermore, we thoroughly investigate the existing cosine-based metrics and their limitations to show why these metrics can fail to report biases in some cases. Finally, we propose a new metric, SAME, to address the shortcomings of existing metrics and mathematically prove that SAME behaves appropriately.
Motivation & Objective
- To identify theoretical shortcomings in existing cosine-based bias metrics such as WEAT, Direct Bias, and MAC.
- To formalize a set of mathematical requirements for meaningful bias score functions in the context of word embeddings.
- To propose a new bias metric, SAME, that satisfies all formalized requirements and improves reliability and comparability.
- To empirically validate SAME against existing metrics using controlled experiments with BERT models trained on biased data.
- To distinguish and evaluate skew and stereotype biases separately, enhancing interpretability and detection accuracy.
Proposed method
- Formalize a bias definition based on geometric relations in vector space, focusing on cosine similarity as the core measure.
- Define four formal requirements for bias metrics: comparability, trustworthiness, sensitivity to bias, and invariance to permutation.
- Analyze existing metrics (WEAT, Direct Bias, MAC) against these requirements to expose theoretical flaws.
- Propose SAME as a reformulation of WEAT’s core idea, replacing group-based comparisons with mean-based association scoring.
- Extend SAME to handle multi-attribute bias, and introduce separate variants for skew (mean deviation) and stereotype (standard deviation).
- Conduct controlled experiments by retraining BERT on biased data to create ground-truth bias, then evaluate metrics on their ability to detect it.
Experimental results
Research questions
- RQ1What theoretical flaws exist in widely used cosine-based bias metrics like WEAT, Direct Bias, and MAC?
- RQ2How can a bias metric be formally defined to ensure it is both trustworthy and comparable across different embeddings?
- RQ3Can a new metric be constructed that satisfies all formal requirements while improving detection of both skew and stereotype bias?
- RQ4How does the proposed SAME metric perform in detecting bias under real-world conditions such as subset selection and data permutation?
- RQ5To what extent can skew and stereotype metrics complement each other in capturing different aspects of bias in word embeddings?
Key findings
- Existing metrics like WEAT, Direct Bias, and MAC fail to satisfy key theoretical requirements, particularly comparability and trustworthiness, due to structural flaws.
- SAME achieves a significant correlation (r = 0.21) with the ground-truth bias in the mean of word biases, outperforming all other metrics in this regard.
- SAME shows superior robustness to subset selection, with mean bias differences 10 times lower than WEAT, indicating greater stability under data sampling variation.
- The stereotype variant of SAME correlates significantly with unmasking bias (p < 0.05), outperforming WEAT and other metrics in detecting stereotypical associations.
- The skew variant of SAME is the only metric to show a significant correlation with the mean bias, highlighting its unique ability to detect systematic directional bias.
- No existing cosine-based metric fully captures all forms of bias, underscoring the need for complementary evaluation using downstream task fairness metrics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.