Annotation alignment: Comparing LLM and human annotations of conversational safety

Rajiv Movva, Pang Wei Koh, Emma Pierson

TL;DR

Large Language Models (LLMs) like GPT-4 and Llama 3.1 have become surprisingly adept at mimicking the "average" human consensus on conversational safety, often outperforming individual human annotators. However, these models fail to capture the nuanced diversity of human perspectives, showing no ability to predict when or why different demographic groups might disagree on what makes a conversation unsafe.

What Problem Does This Paper Address?

As LLMs are increasingly used to train, evaluate, and moderate other AI systems, we face a critical question: whose values are these models reflecting? Safety is not a objective binary; it is a subjective judgment influenced by cultural, racial, and gendered perspectives.

Previous research has shown that human annotators from different backgrounds often disagree on whether a chatbot's response is harmful. If an LLM is used as a "judge" for safety, it might inadvertently align with the majority view while ignoring the concerns of marginalized groups. This paper investigates "annotation alignment"—the degree to which LLM safety ratings correlate with those of diverse human groups—to see if current models can handle the pluralistic nature of human safety perceptions.

Methods

The researchers evaluated five leading LLMs: GPT-3.5, GPT-4, GPT-4o, Gemini 1.5 Pro, and Llama 3.1 405B. They employed two primary prompting strategies:

  1. Rating Only: The model provides a direct safety score.
  2. Analyze-Rate: A chain-of-thought approach where the model analyzes the conversation against specific safety criteria (harm, bias, misinformation, etc.) before providing a final Likert rating (1-5).

To measure alignment, they calculated Pearson correlations between LLM ratings and the average human ratings. They also used a "paired design" to test if GPT-4 could predict which of two demographic groups would find a specific conversation more unsafe.

Datasets

The study leverages the DICES-350 dataset (Aroyo et al., 2023). This unique benchmark contains 350 user-chatbot conversations, each rated by a massive pool of 112 human annotators. These annotators represent 10 distinct race-gender subgroups (e.g., Black female, White male, etc.), providing a rich map of human disagreement. The researchers also used the companion DICES-990 dataset as a validation set for prompt engineering.

Key Insights and Ideas

  • The "Wisdom of the Model": Top-tier LLMs are now better at predicting the human consensus than the median individual human is. This suggests that for "average" safety tasks, LLMs are highly reliable annotators.
  • Normative Disconnects: Qualitative analysis revealed systematic differences in how humans and LLMs perceive safety. Humans are generally less permissive of a chatbot giving any sensitive advice (legal, medical, or interpersonal), even if the advice is benign. Conversely, GPT-4 is often more stringent than humans regarding subtle biases, such as "positive stereotyping."
  • The Limits of Demographics: While race and gender are important, they don't tell the whole story. The study found massive "idiosyncratic variation" within demographic groups, suggesting that individual life experiences or contexts beyond basic categories are driving much of the disagreement.
  • A Failure of Pluralism: Perhaps the most striking finding is that GPT-4 cannot predict demographic disagreements. It lacks the "social intelligence" to recognize that a specific conversation might be perceived as more harmful by one racial group than another.

Key Results

The researchers structured their findings around three Research Questions (RQs):

  • RQ1 (Average Alignment): GPT-4 (using the Analyze-Rate prompt) achieved a correlation of $r=0.61$ with the human average, and Llama 3.1 achieved $r=0.60$. Both significantly outperformed the median human annotator ($r=0.51$).
Table 1: Pearson correlations between LLM safety rat- ings and the average of the 112 annotators’ safety rat- ings, across the 350 conversations. Rating Only prompts only for a rating, while Analyze-Rate prompts for an explanation prior to rating. For Binary, we threshold the 1–5 Likert ratings at ≥3. The median human annotator achieves rmedian = 0.51. Italicized values are largest (column-wise), with a * if larger than the second-best model in over 95% of bootstrap resamples. Gemini is Gemini 1.5 Pro, and Llama is Llama 3.1 405B Instruct.
  • RQ2 (Demographic Alignment): The study found no statistically significant evidence that GPT-4 aligns more closely with one race-gender group over another. As shown in Figure 2, all group correlations fell within the expected "null" range.
Figure 2: GPT-4 does not align significantly more or less with different race-gender groups. Green: True Pearson correlations between GPT-4 ratings and the average ratings for a group. Grey: Null correlation distributions (means and 99% CIs), computed over 5,000 permutations of rater demographics. All green points lie within their null CIs.
  • RQ3 (Predicting Disagreements): When asked to identify which group (e.g., Black vs. White annotators) would find a conversation more unsafe, GPT-4's performance was near zero. It essentially could not identify the "marginalized" perspective when it differed from the majority.

Limitations and Future Work

The authors acknowledge that the DICES-350 dataset, while high-quality, may be underpowered (too small) to detect subtle demographic disparities in alignment. The demographic categories used (race and gender) are also relatively coarse and U.S.-centric.

Future work should focus on:

  1. Larger Datasets: Scaling up human-annotated safety datasets to provide more statistical power.
  2. Granular Annotator Traits: Looking at factors like country of origin or personal experience with online harm, which may be more predictive of safety perceptions than race or gender alone.
  3. Improving Pluralistic Alignment: Developing methods that allow LLMs to explicitly represent and reason about the diverse viewpoints of different communities rather than just targeting a single "average" human.

Summary updated

BibTeX
@inproceedings{movva2024annotation,
  author = {Rajiv Movva and Pang Wei Koh and Emma Pierson},
  title = {{Annotation alignment: Comparing LLM and human annotations of conversational safety}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.511},
}
Figure