Sensitivity, Performance, Robustness: Deconstructing the Effect of Sociodemographic Prompting

Tilman Beck, Hendrik Schuff, Anne Lauscher, Iryna Gurevych
9/13/2023
cs.CLcs.AI

No official code found. Best implementation: UKPLab/eacl2024-sociodemographic-prompting (4 stars, Apache-2.0, last commit 2024-05-02).

Abstract

Annotators' sociodemographic backgrounds (i.e., the individual compositions of their gender, age, educational background, etc.) have a strong impact on their decisions when working on subjective NLP tasks, such as toxic language detection. Often, heterogeneous backgrounds result in high disagreements. To model this variation, recent work has explored sociodemographic prompting, a technique, which steers the output of prompt-based models towards answers that humans with specific sociodemographic profiles would give. However, the available NLP literature disagrees on the efficacy of this technique - it remains unclear for which tasks and scenarios it can help, and the role of the individual factors in sociodemographic prompting is still unexplored. We address this research gap by presenting the largest and most comprehensive study of sociodemographic prompting today. We analyze its influence on model sensitivity, performance and robustness across seven datasets and six instruction-tuned model families. We show that sociodemographic information affects model predictions and can be beneficial for improving zero-shot learning in subjective NLP tasks. However, its outcomes largely vary for different model types, sizes, and datasets, and are subject to large variance with regards to prompt formulations. Most importantly, our results show that sociodemographic prompting should be used with care for sensitive applications, such as toxicity annotation or when studying LLM alignment. Code and data: https://github.com/UKPLab/arxiv2023-sociodemographic-prompting

View on arXivView PDF

Code Implementations(1)

Apache-2.0

README

40Python, Jupyter NotebookSep 3, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{beck2023sensitivity,
  title  = {Sensitivity, Performance, Robustness: Deconstructing the Effect of Sociodemographic Prompting},
  author = {Tilman Beck and Hendrik Schuff and Anne Lauscher and Iryna Gurevych},
  year   = {2023},
  eprint = {2309.07034},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.07034v2}
}

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

Discussion