Profiling Bias in LLMs: Stereotype Dimensions in Contextual Word Embeddings

Carolin M. Schuster, Maria-Alexandra Dinisor, Shashwat Ghatiwala, Georg Groh
11/25/2024
cs.CL

No official code found. Best implementation: carolinmschuster/profiling-bias-in-llms (1 star, last commit 2025-02-21).

Abstract

Large language models (LLMs) are the foundation of the current successes of artificial intelligence (AI), however, they are unavoidably biased. To effectively communicate the risks and encourage mitigation efforts these models need adequate and intuitive descriptions of their discriminatory properties, appropriate for all audiences of AI. We suggest bias profiles with respect to stereotype dimensions based on dictionaries from social psychology research. Along these dimensions we investigate gender bias in contextual embeddings, across contexts and layers, and generate stereotype profiles for twelve different LLMs, demonstrating their intuition and use case for exposing and visualizing bias.

View on arXivView PDF

Code Implementations(1)

10Python, Jupyter NotebookJan 11, 20251 years ago

Similar Papers

Cite this paper

@article{schuster2024profiling,
  title  = {Profiling Bias in LLMs: Stereotype Dimensions in Contextual Word Embeddings},
  author = {Carolin M. Schuster and Maria-Alexandra Dinisor and Shashwat Ghatiwala and Georg Groh},
  year   = {2024},
  eprint = {2411.16527},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.16527v2}
}

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/2411.16527.svg)](https://codeofpaper.com/paper/2411.16527)

Discussion