Semantic Properties of cosine based bias scores for word embeddings
Sarah Schröder, Alexander Schulz, Fabian Hinder, Barbara Hammer
TL;DR
This work formalizes the semantic requirements for cosine-based bias scores and investigates two prominent measures, WEAT and Direct Bias, both theoretically and empirically. It shows that WEAT’s individual bias is not magnitude-comparable and its effect size can be unreliable for cross-model quantification, while Direct Bias is magnitude-comparable but not unbiased-trustworthy. Through experiments on multiple pretrained models, the paper demonstrates practical limitations in bias quantification and highlights the influence of attribute embeddings and biased directions on these scores. The results advocate for rigorous applicability checks, co-reporting of significance, and development of more robust bias quantification tools for fair evaluation in embedding spaces.
Abstract
Plenty of works have brought social biases in language models to attention and proposed methods to detect such biases. As a result, the literature contains a great deal of different bias tests and scores, each introduced with the premise to uncover yet more biases that other scores fail to detect. What severely lacks in the literature, however, are comparative studies that analyse such bias scores and help researchers to understand the benefits or limitations of the existing methods. In this work, we aim to close this gap for cosine based bias scores. By building on a geometric definition of bias, we propose requirements for bias scores to be considered meaningful for quantifying biases. Furthermore, we formally analyze cosine based scores from the literature with regard to these requirements. We underline these findings with experiments to show that the bias scores' limitations have an impact in the application case.
