Source-linked AI summary

Sociodemographic Prompting is Not Yet an Effective Approach for Simulating Subjective Judgments with LLMs

Huaman Sun, Jiaxin Pei, Minje Choi, David Jurgens

arXiv:2311.09730v2cs.CLcs.AIcs.CYcs.HCcs.LG

TL;DR

Evidence remains limited on whether LLMs reflect demographic differences across subjective judgment tasks, where language perception varies with social context and identity. Using POPQUORN, the paper evaluates nine LLMs on politeness and offensiveness. Predictions align more closely with White participants’ perceptions than with Asian or Black participants’, and demographic prompting does not consistently improve group-specific predictions.

  • Problem

    Whether LLMs show systematic alignment with particular social groups across subjective NLP tasks remains underexplored, even though social context and identity shape how language is perceived.

    Source: §1 · p. 1
  • Method

    Using POPQUORN, the study evaluates nine LLMs on politeness and offensiveness and compares identity-free predictions with ratings from demographic groups while testing demographic prompting.

    Source: §1 · p. 2, §2 · p. 2, §3 · p. 3
  • Results

    Across nine models, predictions are closer to White participants’ perceptions than to Asian or Black participants’ perceptions, and adding identity tokens does not consistently improve demographic-specific predictions.

    Source: §5 · p. 4, §6 · p. 5
  • Takeaways & Limitations

    Researchers and practitioners should be careful when using LLMs as judges on subjective tasks, and sociodemographic prompting is not yet an effective way to address the bias.

    Source: §6 · p. 5

    The study covers only selected gender and ethnicity categories and two tasks, so its findings may not generalize beyond the datasets and task settings examined.

    Source: §8 · p. 6

Abstract

from arXiv · show

Human judgments are inherently subjective and are actively affected by personal traits such as gender and ethnicity. While Large Language Models (LLMs) are widely used to simulate human responses across diverse contexts, their ability to account for demographic differences in subjective tasks remains uncertain. In this study, leveraging the POPQUORN dataset, we evaluate nine popular LLMs on their ability to understand demographic differences in two subjective judgment tasks: politeness and offensiveness. We find that in zero-shot settings, most models' predictions for both tasks align more closely with labels from White participants than those from Asian or Black participants, while only a minor gender bias favoring women appears in the politeness task. Furthermore, sociodemographic prompting does not consistently improve and, in some cases, worsens LLMs' ability to perceive language from specific sub-populations. These findings highlight potential demographic biases in LLMs when performing subjective judgment tasks and underscore the limitations of sociodemographic prompting as a strategy to achieve pluralistic alignment. Code and data are available at: https://github.com/Jiaxin-Pei/LLM-as-Subjective-Judge.

1 Introduction

Because subjective language can be perceived differently across social contexts and identities, this study asks whether LLMs reflect demographic differences in politeness and offensiveness judgments and whether sociodemographic prompting helps. It finds persistent bias and that prompting does not reliably support alignment with specific groups.

1 Introduction

  • Whether LLMs show systematic alignment with particular social groups across subjective NLP tasks remains underexplored, despite concerns that biased outputs may inadequately represent diverse experiences.Prior evidence cited in the introduction concerns value-based questions, leaving other subjective tasks in need of investigation.Source: §1 · p. 1
  • Social context and identity shape language perception, so the same text may be judged polite or inoffensive by one group and differently by another.The introduction frames faithful adjustment to specific perspectives as steerable pluralism and notes limitations in current steerability.Source: §1 · pp. 1–2
  • Sociodemographic prompting has shown potential, but its effectiveness is debated because prompt wording, structure, order, model, and task can affect outcomes.Prior work also suggests that this prompting can exacerbate stereotypes or reduce performance on some tasks.Source: §1 · p. 2
  • The study evaluates nine LLMs on demographic differences in politeness and offensiveness, two related but distinct judgments involving interpersonal status and distance versus violations of social norms.Offensiveness is narrower than impoliteness because language can vary in politeness while still being perceived as non-offensive.Source: §1 · p. 2
  • LLMs’ predictions align more closely with White participants’ judgments than with those of Asian or Black participants, and sociodemographic prompting risks reinforcing racial and gender biases.The authors report that intrinsic biases persist in these subjective judgment tasks.Source: §1 · p. 2

2 Methods

The study uses POPQUORN ratings to compare LLM judgments with demographic-group perceptions across politeness and offensiveness, testing nine models with prompts designed for those tasks.

2 Methods

  • POPQUORN supplies 45,000 annotations from a demographically representative U.S. sample; the analysis focuses on men and women and Asian, Black, and White annotators because those groups have sufficient annotations.The study analyzes offensiveness and politeness ratings on a 5-point Likert scale and computes average scores for each identity group.Source: §2 · p. 2
  • Overall mean scores are 1.88 for offensiveness and 3.31 for politeness, while Black and Asian annotators have diverging means and higher variance than the overall distribution.Men, women, and White annotators’ scores closely mirror the overall distribution.Source: §2 · p. 2
  • The study tests nine open- and closed-source LLMs, including FLAN, Tulu2, GPT, Llama, Mistral, and Qwen models.The evaluated set includes models of different sizes and families.Source: §2 · p. 2
  • Prompts ask models to predict politeness and offensiveness scores; preliminary tests check response validity, and robustness checks vary templates and answer-option order.The authors report minor performance differences across templates and option orders.Source: §2 · pp. 2–3

3 Are Model Predictions Closer to Certain Demographic Groups?

The section compares identity-free LLM predictions with demographic-group ratings and finds consistent alignment toward White annotators across both tasks. Gender differences are more limited and vary by task and model.

3 Are Model Predictions Closer to Certain Demographic Groups?

  • Baseline prediction error is the absolute difference between an identity-free LLM prediction and a specific demographic group’s human rating.Separate linear mixed-effects models compare target-group error with a reference group while controlling for instance-level variation.Source: §3 · p. 3
  • A positive regression coefficient means target-group prediction errors are larger than reference-group errors, so predictions are closer to the reference group.The models use instance ID as a random effect; aggregated results appear in Figure 1 and detailed regressions in Appendix D, Table 5.Source: §3 · p. 3
  • For offensiveness, baseline prediction errors show no significant gender differences except for FLAN-UL2; for politeness, predictions tend to align more closely with women’s ratings except for GPT-3.5 and Tulu2-7B.The authors also report greater politeness bias in larger Tulu2 and GPT models, suggesting that scaling alone may not reduce bias.Source: §3 · p. 3
  • LLMs’ predictions for both politeness and offensiveness are consistently closer to White annotators’ ratings than to Black or Asian annotators’ ratings.The section interprets this pattern as evidence that models align more with some demographic groups than others on subjective perception tasks.Source: §3 · p. 3

4 Does Sociodemographic Prompting Improve Alignment with Demographic Groups?

The study tests whether demographic identity tokens help LLMs predict group-specific politeness and offensiveness ratings. The tokens sometimes help, but their effects vary across tasks, groups, and models, and can increase prediction errors.

  • The analysis compares prediction errors with and without demographic tokens, controlling for instance-level variation; points above zero indicate increased errors and points below zero indicate improvement.Source: §4 · p. 3
  • Adding an ethnicity token improves GPT-3.5 and FLAN-UL2 predictions of Asian participants’ offensiveness ratings, but effects vary by model and task.Source: §4 · p. 3
  • Identity tokens do not consistently improve group-specific ratings and can increase errors, including for Black participants’ politeness ratings with GPT-3.5 and GPT-4.Source: §4 · pp. 3–4, Figure 2 · p. 4

5 Discussion

Across both subjective tasks, the tested LLMs’ predictions align more closely with White annotators than with other demographic groups. The discussion notes that this pattern and the unreliable effects of demographic prompting warrant caution in subjective applications.

  • Across both tasks, all tested LLMs’ answers are closer to White annotators’ labels than to those of other demographic groups.Source: §5 · p. 4
  • The authors caution that LLMs may be unsuitable for large-scale annotation without care because their subjective judgments align unevenly across groups.Source: §5 · pp. 4–5
  • Newer models’ reduced alignment under identity prompts may partly reflect guardrails that increase refusals on sensitive language, limiting prompting functionality.Source: §5 · p. 5

6 Conclusion

The conclusion reports demographic alignment differences across nine models and two subjective tasks, and finds that adding identity tokens does not consistently improve group-specific predictions. It concludes that sociodemographic prompting is not yet an effective bias remedy and urges caution when using LLMs as subjective judges.

  • Across nine models and both tasks, predictions are closer to White people’s perceptions than to Asian and Black people’s perceptions.Source: §6 · p. 5
  • Adding identity tokens does not consistently improve models’ prediction of demographic-specific ratings.Source: §6 · p. 5
  • The authors advise caution when using LLMs as judges on subjective tasks.Source: §6 · p. 5

7 Ethics

The ethics discussion notes that the study’s gender labels reflect the limits of POPQUORN and do not represent non-binary identities. It also raises concerns about simulating group perspectives and reports that most experiments required inference rather than model training.

  • Research simulating group perspectives should avoid introducing problems such as AI-generated impersonation.Source: §7 · p. 5
  • The study uses only men and women labels because POPQUORN contains no additional gender identities, leaving non-binary representation outside its evaluation.Source: §7 · p. 5
  • The experiments used inference without fine-tuning or training; all but GPT-3.5 and GPT-4 ran on one A5000 GPU in about six hours per setting.Source: §7 · p. 5

8 Limitations

The study’s scope is constrained by limited model and demographic coverage, two subjective tasks, and refusals that may affect findings.

8 Limitations

  • The study evaluates only a limited number of models because of computational cost.The authors plan to release scripts for future evaluation of other models.Source: §8 · p. 5
  • Sparse labels exclude several identity groups, and the two tasks use Reddit comments and polite emails, limiting generalization to other datasets and settings.The analysis also excludes intersectional identities and compares ordinal model predictions with fractional average annotations.Source: §8 · p. 6
  • Some models, particularly GPT3.5 and Tulu2, have relatively high refusal rates, especially for offensiveness ratings and prompts involving Black people.The authors note that guardrails may affect findings when models decline to respond over privacy or ethical concerns.Source: §8 · p. 6

A Data

The data section presents demographic-group descriptives for the two judgment tasks, while the prompt section describes the rating instructions and a template robustness check.

A Data

  • Tables 1 and 2 report descriptive statistics for offensiveness and politeness ratings by demographic group.Figure 3 visualizes annotation distributions for both tasks across demographic groups.Source: Table 1 · p. 8, Table 2 · p. 8, A Data · p. 8

B Prompts

  • The example prompt asks for an offensiveness rating on a 1-to-5 scale and requests an answer without an explanation.Table 3 provides an example prompt, while Table 4 lists the templates used in the study.Source: B Prompts · p. 8, Table 3 · p. 8, Table 4 · p. 8
  • Prompt templates have limited influence on correlations between baseline predictions and aggregated U.S.-population annotations.The robustness check tests four open-source models and uses the overall correlation as a reference point.Source: B Prompts · p. 8

C Experimentation details

The experiments use developer-recommended model defaults, set temperature to zero, and report the computational resources, licensing checks, and software packages used.

C Experimentation details

  • The experiments generally follow developer-recommended defaults and set temperature to 0 for more deterministic generation.This setting is intended to examine the most likely answer for a question and group association.Source: C Experimentation details · p. 8
  • The experiments use three NVIDIA RTX A5000 GPUs, and a full run takes around six hours of GPU time.Source: C Experimentation details · p. 8
  • The authors checked compliance with the corresponding data and model licenses and used accelerate, datasets, numpy, pandas, seaborn, statsmodels, and transformers.Source: C Experimentation details · p. 8

D Regression Results

The regression-results section describes estimated effects and significance notation, shows demographic annotation distributions, and reports invalid-response percentages across models and prompting conditions.

D Regression Results

  • Figure 3 presents annotation distributions from demographic groups for offensiveness and politeness.Source: Figure 3 · p. 9
  • Figure 4 indicates that model performance changes little across different prompt templates.Source: Figure 4 · p. 9
  • Table 5 reports regression results for gaps between zero-shot predictions and demographic-group labels; Tables 5 and 6 include estimated fixed effects, standard errors, and significance stars.One, two, and three stars mark p-values below 0.05, 0.01, and 0.001, respectively.Source: D Regression Results · p. 8, Table 5 · p. 9

E LLM Guardrails

  • Tables 7 and 8 summarize invalid-response percentages across nine models with and without demographic information in prompts.The section notes that implicit guardrails may lead models to refuse potentially harmful queries.Source: E LLM Guardrails · p. 9
Loading 2311.09730v2…