SOTAVerified

Investigating the Frequency Distortion of Word Embeddings and Its Impact on Bias Metrics

2022-11-15Code Available0· sign in to hype

Francisco Valentini, Juan Cruz Sosa, Diego Fernandez Slezak, Edgar Altszyler

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Recent research has shown that static word embeddings can encode word frequency information. However, little has been studied about this phenomenon and its effects on downstream tasks. In the present work, we systematically study the association between frequency and semantic similarity in several static word embeddings. We find that Skip-gram, GloVe and FastText embeddings tend to produce higher semantic similarity between high-frequency words than between other frequency combinations. We show that the association between frequency and similarity also appears when words are randomly shuffled. This proves that the patterns found are not due to real semantic associations present in the texts, but are an artifact produced by the word embeddings. Finally, we provide an example of how word frequency can strongly impact the measurement of gender bias with embedding-based metrics. In particular, we carry out a controlled experiment that shows that biases can even change sign or reverse their order by manipulating word frequencies.

Tasks

Reproductions