Abstract
Text corpora are widely used resources for measuring societal biases and stereotypes. The common approach to measuring such biases using a corpus is by calculating the similarities between the embedding vector of a word (like nurse) and the vectors of the representative words of the concepts of interest (such as genders). In this study, we show that, depending on what one aims to quantify as bias, this commonly-used approach can introduce non-relevant concepts into bias measurement. We propose an alternative approach to bias measurement utilizing the smoothed first-order co-occurrence relations between the word and the representative concept words, which we derive by reconstructing the co-occurrence estimates inherent in word embedding models. We compare these approaches by conducting several experiments on the scenario of measuring gender bias of occupational words, according to an English Wikipedia corpus. Our experiments show higher correlations of the measured gender bias with the actual gender bias statistics of the U.S. job market – on two collections and with a variety of word embedding models – using the first-order approach in comparison with the vector similarity-based approaches. The first-order approach also suggests a more severe bias towards female in a few specific occupations than the other approaches.
Introduction
When researchers attempt to quantify societal bias in language models, they typically rely on word embeddings. If the vector for an occupation like "nurse" is mathematically closer to the vector for "she" than "he," the model is deemed to have a gender bias. However, this standard approach—using cosine similarity between vectors—measures "high-order" co-occurrence. This means two words are considered similar if they appear in similar contexts. While useful for general semantics, this can introduce "non-relevant concepts" into bias measurement, potentially masking the true level of direct association between a concept (like gender) and a target word.
Methodology: High-Order vs. First-Order Measurement
The authors propose a shift from high-order to first-order bias measurement.
- High-Order (Standard): Methods like WEAT or Centroid-based similarity look at how similar the "neighborhoods" of two words are. For example, "nurse" and "she" might both appear near "midwife" or "hospital."
- First-Order (Proposed): This measures the direct association between a target word (e.g., nurse) and representative concept words (e.g., she, woman).
To address the issue of data sparsity in raw text counts, the authors introduce a "smoothing" technique. They reconstruct explicit representations from trained embeddings (eSG and eGloVe) by using the internal weights of the models to estimate what the co-occurrence should be. By calculating the AVERAGE_FIRST association, they isolate the specific relationship between the occupation and gendered terms, filtering out the noise of shared context.
Key Results and Discussion
The first-order approach consistently outperformed standard high-order methods across several benchmarks, including U.S. Census and Department of Labor statistics. On Census Data, the proposed eSG with AVERAGE_FIRST achieved a Spearman correlation of 0.67, significantly higher than the standard Skip-Gram high-order methods (0.58–0.60).
As illustrated in the comparison above, the first-order method reveals a more severe female bias in specific occupations than previously detected. In the high-order plot (a), occupations like "nurse," "actress," and "beautician" are clustered closer to the neutral diagonal. In the first-order plot (b), these same occupations move significantly further toward the female association axis. This suggests that high-order methods were essentially "diluting" the bias signal with neutral shared contexts (like "hospital").
Conclusion
The study demonstrates that first-order co-occurrence is a more sensitive and accurate instrument for monitoring societal biases in text corpora. While high-order associations are not "wrong," they measure a broader semantic similarity that can obscure direct stereotypical links. The proposed smoothed first-order approach provides a clearer lens for researchers to quantify and eventually mitigate these biases in AI systems.
Summary updated