Reproduce “Frequency-based Distortions in Contextualized Word Embeddings” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Kaitlyn Zhou, Kawin Ethayarajh, Dan Jurafsky

Contextualized word embeddings, particularly in BERT, exhibit frequency-based geometric distortions where high-frequency words possess larger, more diverse embedding spaces but are less identifiable than low-frequency words. These distortions lead to systematic discrepancies between cosine similarity and human judgments of semantic similarity and manifest as Anglo- and Euro-centric biases in geographic representations.

Key insights

  • High-frequency words exhibit greater representational diversity (larger bounding spheres) but are less identifiable, while low-frequency words are more identifiable with tighter representations.
  • The size of a word's bounding sphere consistently correlates with discrepancies between BERT's cosine similarity and human semantic judgments, indicating systematic distortions.
  • Contextualized embeddings display significant Anglo- and Euro-centric biases in geographic representations that are robust to context variation and not substantially mitigated by multilingual pre-training.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.