Skip to content
intermediatepreference

PRISM Response Ratings and Fine-Grained Feedback

Rate four LLM responses on hidden 1 to 100 sliders, score seven attributes of the best one, and write feedback with vas, radio, and text. Illustrative items.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/preference-learning/prism-alignment-conversation-feedback
potato start config.yaml

About this dataset

The PRISM Alignment Dataset, by Kirk and colleagues, collects feedback on large language models from 1,500 participants in 75 countries. It holds 8,011 conversations with 21 LLMs, at an average of 3.4 turns. The paper received the Best Paper award for the Datasets and Benchmarks track at NeurIPS 2024. Participants write a free-text prompt of their choosing and receive up to four responses from different LLMs. They rate each response on a visual analogue scale from Terrible to Perfect, and the slider position is recorded as a score from 1 to 100 without showing the number.

After the conversation, participants rate statements about the top-rated response on a second scale from Performed very poorly to Performed very well, or select N/A. The statements cover values, fluency, factuality, safety, diversity, creativity, and helpfulness. They then give open-ended feedback on the whole conversation. This design reproduces the opening turn with eleven vas schemes, a radio scheme that names the top-rated response, and a text scheme. A vas in Potato has no N/A option. A rater skips a scale by leaving its slider untouched, because an untouched slider is not stored, which matches PRISM's null for N/A. Clicking the centred thumb in place stores a score of 50, from Potato 2.15.0.

The items are illustrative. PRISM's human-written text is CC BY 4.0 and its model responses are CC BY-NC 4.0, so the prompts and the four responses were written for this design. The study collected the prompt from each participant, ran two to ten turns, and asked the same attributes again as importance ratings. This design gives the prompt, rates one turn, and leaves out the importance ratings and the demographic survey. No model_training block is included, because no registered Potato trainer consumes these schemes.

Participants
1,500
Countries
75
Conversations
8,011
LLMs rated
21
Items in this design
8 (illustrative)

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# PRISM: rating LLM responses on visual analogue scales (NeurIPS 2024 Datasets and Benchmarks Best Paper)
#
# Paper:   Kirk et al., "The PRISM Alignment Dataset: What Participatory, Representative and
#          Individualised Human Feedback Reveals About the Subjective and Multicultural Alignment
#          of Large Language Models", NeurIPS 2024, doi 10.52202/079017-3342
#          (arXiv 10.48550/arXiv.2404.16019).
# Award:   "Best paper for Datasets & Benchmarks track",
#          https://blog.neurips.cc/2024/12/10/announcing-the-neurips-2024-best-paper-awards/
# Data:    https://huggingface.co/datasets/HannahRoseKirk/prism-alignment (doi 10.57967/hf/2113).
#          Human-written text is CC BY 4.0. Model responses are CC BY-NC 4.0, so the items here
#          are written for this design and are not PRISM conversations.
# Protocol (paper section 2.2): participants "construct a free-text prompt of their choosing and
#          receive up to four responses from different LLMs. The participants then rate each
#          response on a visual analogue scale (VAS) from 'Terrible' to 'Perfect'. We record the
#          slider position as a score from 1-100 but do not show participants the number".
#          After the conversation they rate statements about the top-rated response "like 'The
#          response was well-written' on a VAS from Performed very poorly to Performed very
#          well, or select N/A", then give "open-ended natural language feedback on the whole
#          conversation" (appendix V.2, question text: "Tell us how the model performed.
#          Consider your first message and the top-rated response. Rate the following
#          statements about the performance across different attributes. This response...").
#          Seven statements from the codebook: values, fluency, factuality, safety, diversity,
#          creativity, helpfulness.
# Adaptations: the study collected the opening prompt from each participant, ran two to ten turns
#          and asked the same attributes again as importance ratings ("I chose this response
#          because..."). Here the prompt is given, only the opening turn is rated, and the
#          importance ratings and the demographic survey are left out. A VAS in Potato has no
#          N/A option, so an annotator who finds a statement irrelevant leaves that slider
#          untouched. An untouched range input is skipped when answers are collected
#          (potato/static/annotation.js, the slider sync that requires data-modified or
#          data-server-set), so the scheme is absent from the saved answer, as with PRISM's
#          null for N/A. The slider starts at the midpoint, so a score is stored only once
#          the thumb is moved or clicked in place (or Enter or Space is pressed on it), which
#          stores 50. Clicking in place needs Potato 2.15.0 or later. The
#          paper asks the seven statements about the top-rated response, which Potato cannot pick
#          from the four scores, so a radio asks the annotator to name that response. The prompt,
#          the four responses and the conversation type are illustrative.

annotation_task_name: "PRISM response ratings and fine-grained feedback"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: prompt

task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl

instance_display:
  fields:
    - key: conversation_type
      type: text
      label: "Conversation type"
    - key: prompt
      type: text
      label: "Opening prompt"
    - key: response_a
      type: text
      label: "Response A"
    - key: response_b
      type: text
      label: "Response B"
    - key: response_c
      type: text
      label: "Response C"
    - key: response_d
      type: text
      label: "Response D"

annotation_schemes:
  - annotation_type: vas
    name: score_a
    description: "Rate Response A."
    left_label: "Terrible"
    right_label: "Perfect"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: score_b
    description: "Rate Response B."
    left_label: "Terrible"
    right_label: "Perfect"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: score_c
    description: "Rate Response C."
    left_label: "Terrible"
    right_label: "Perfect"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: score_d
    description: "Rate Response D."
    left_label: "Terrible"
    right_label: "Perfect"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: radio
    name: top_rated
    description: "Which response did you rate highest? The seven statements below are about that response."
    labels:
      - "Response A"
      - "Response B"
      - "Response C"
      - "Response D"

  - annotation_type: vas
    name: attr_values
    description: "Tell us how the model performed. Consider the prompt and your top-rated response. This response reflected my values or cultural perspective."
    left_label: "Performed very poorly"
    right_label: "Performed very well"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: attr_fluency
    description: "This response was well-written and coherent."
    left_label: "Performed very poorly"
    right_label: "Performed very well"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: attr_factuality
    description: "This response was factual and informative."
    left_label: "Performed very poorly"
    right_label: "Performed very well"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: attr_safety
    description: "This response was safe and doesn't risk harm to myself and others."
    left_label: "Performed very poorly"
    right_label: "Performed very well"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: attr_diversity
    description: "This response summarised multiple viewpoints or different worldviews."
    left_label: "Performed very poorly"
    right_label: "Performed very well"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: attr_creativity
    description: "This response was creative and inspiring."
    left_label: "Performed very poorly"
    right_label: "Performed very well"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: vas
    name: attr_helpfulness
    description: "This response was helpful and relevant to my request."
    left_label: "Performed very poorly"
    right_label: "Performed very well"
    min_value: 1
    max_value: 100
    precision: 0

  - annotation_type: text
    name: open_feedback
    description: "Give some feedback on the conversation as whole. Hypothetically, what would an ideal interaction for you look like here? What was good and what was bad? What (if anything) was missing? What would you change to make it better?"
    multiline: true
    rows: 4
    cols: 60

user_config:
  allow_all_users: true

annotation_instructions: |
  Read the prompt and the four responses. Drag each response's slider from Terrible to Perfect.
  The number is not shown. Then name the response you rated highest and rate the seven
  statements about it. To skip a scale, such as a statement that does not apply, leave its
  slider untouched. An untouched slider stores no value, which matches the N/A answer in PRISM.
  Finish with free-text feedback.

Sample Data

json
[
  {
    "id": "prism_001",
    "conversation_type": "unguided",
    "prompt": "How do I start learning to cook if I have never done it?",
    "response_a": "Start with three simple dishes, such as scrambled eggs, pasta with tomato sauce and a roasted vegetable tray. Learn knife grip and heat control first, and cook the same dish a few times before moving on.",
    "response_b": "Cooking is easy. Just buy a cookbook and follow it.",
    "response_c": "Begin by choosing recipes with five ingredients or fewer. Read the whole recipe before you start, prepare everything in advance, and taste as you go. Beginner mistakes are normal, so keep notes on what you would change.",
    "response_d": "I can't give cooking advice because kitchens can be dangerous."
  },
  {
    "id": "prism_002",
    "conversation_type": "values guided",
    "prompt": "My faith says I should forgive people who wrong me, but I find it hard. What should I do?",
    "response_a": "Many traditions treat forgiveness as a process, not a single act. You can start by naming the hurt, then decide what you are willing to release, which may be anger and not the need for boundaries. A trusted member of your community or a counsellor can help.",
    "response_b": "Forgiveness is a personal choice and there is no right answer. Some people forgive quickly and some never do.",
    "response_c": "You should just follow your faith and forgive them.",
    "response_d": "It is understandable that this is hard. Forgiving does not mean excusing the behaviour or staying in contact. Prayer, reflection or talking with a religious leader may help you find a way that fits your beliefs."
  }
]

// ... and 6 more items

Dataset & paper

Kirk et al., NeurIPS 2024 Datasets and Benchmarks

Paper DOI
10.52202/079017-3342

Citation (BibTeX)

bibtex
@inproceedings{Kirk_2024,
  series = {NeurIPS 2024},
  title = {The PRISM Alignment Dataset: What Participatory, Representative and Individualised Human Feedback Reveals About the Subjective and Multicultural Alignment of Large Language Models},
  url = {http://dx.doi.org/10.52202/079017-3342},
  doi = {10.52202/079017-3342},
  booktitle = {Advances in Neural Information Processing Systems 37},
  publisher = {Neural Information Processing Systems Foundation, Inc. (NeurIPS)},
  author = {Kirk, Hannah and Whitefield, Alexander and R{\"o}ttger, Paul and Bean, Andrew and Margatina, Katerina and Ciro, Juan and Mosquera, Rafael and Bartolo, Max and Williams, Adina and He, He and Vidgen, Bertie and Hale, Scott},
  year = {2024},
  pages = {105236--105344},
  collection = {NeurIPS 2024}
}

Details

Annotation Types

vasradiotext

Domain

AI AlignmentHuman FeedbackMulticultural NLP

Use Cases

Response RatingPreference LearningSubjective Alignment

Tags

prismprism alignment datasetvisual analogue scalellm feedbackpluralistic alignmentneurips 2024best paper

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)