QueerBench: Quantifying Discrimination in Language Models Toward Queer Identities

Mae Sosto, Alberto Barrón-Cedeño
6/18/2024
cs.CLcs.AIcs.CY

No official code found. Best implementation: MaeSosto/QueerBench (1 star, last commit 2025-04-24).

Abstract

With the increasing role of Natural Language Processing (NLP) in various applications, challenges concerning bias and stereotype perpetuation are accentuated, which often leads to hate speech and harm. Despite existing studies on sexism and misogyny, issues like homophobia and transphobia remain underexplored and often adopt binary perspectives, putting the safety of LGBTQIA+ individuals at high risk in online spaces. In this paper, we assess the potential harm caused by sentence completions generated by English large language models (LLMs) concerning LGBTQIA+ individuals. This is achieved using QueerBench, our new assessment framework, which employs a template-based approach and a Masked Language Modeling (MLM) task. The analysis indicates that large language models tend to exhibit discriminatory behaviour more frequently towards individuals within the LGBTQIA+ community, reaching a difference gap of 7.2% in the QueerBench score of harmfulness.

View on arXivView PDF

Code Implementations(1)

MaeSosto/QueerBenchCommunity100%
10Jupyter NotebookJul 23, 20231 years ago

Similar Papers

Cite this paper

@article{sosto2024queerbench,
  title  = {QueerBench: Quantifying Discrimination in Language Models Toward Queer Identities},
  author = {Mae Sosto and Alberto Barrón-Cedeño},
  year   = {2024},
  eprint = {2406.12399},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.12399v1}
}

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

Discussion