Discovering Differences in the Representation of People using Contextualized Semantic Axes

Li Lucy, Divya Tadimeti, David Bamman
10/21/2022
cs.CLcs.SI

Official code: lucy3/context_semantic_axes (17 stars, Jupyter Notebook, last commit 2025-01-21).

Abstract

A common paradigm for identifying semantic differences across social and temporal contexts is the use of static word embeddings and their distances. In particular, past work has compared embeddings against "semantic axes" that represent two opposing concepts.

Show full abstract

We extend this paradigm to BERT embeddings, and construct contextualized axes that mitigate the pitfall where antonyms have neighboring representations. We validate and demonstrate these axes on two people-centric datasets: occupations from Wikipedia, and multi-platform discussions in extremist, men's communities over fourteen years. In both studies, contextualized semantic axes can characterize differences among instances of the same word type. In the latter study, we show that references to women and the contexts around them have become more detestable over time.

View on arXivView PDF

Code Implementations(1)

173Jupyter Notebook, PythonApr 8, 20201 years ago

Similar Papers

Cite this paper

@article{lucy2022discovering,
  title  = {Discovering Differences in the Representation of People using Contextualized Semantic Axes},
  author = {Li Lucy and Divya Tadimeti and David Bamman},
  year   = {2022},
  eprint = {2210.12170},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.12170}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.12170.svg)](https://codeofpaper.com/paper/2210.12170)

Discussion