A human preference dataset records which of two responses a reviewer prefers for the same prompt, under stated criteria. The comparison is useful only when the prompt, evidence and rubric make the reason for that preference clear.

Consider a customer asking whether a refund has been issued. Response A says yes; response B says the refund was requested but remains pending. If the available record says “pending,” B is preferable because it reflects the evidence. If the record changes to “issued,” the preferred response should change too. The example below follows a pair from prompt design through review and export, including cases where the right decision is a tie or neither response is acceptable.

What is a human preference dataset?

A preference example commonly includes a prompt and two candidate responses, marked as chosen and rejected. In a conversational format, the prompt and each response can be represented as message sequences. Hugging Face TRL documents these standard and conversational preference formats; teams should confirm the exact schema required by their training pipeline. See the TRL dataset format guide.

A training record is only part of a usable dataset. A reviewer also needs clear criteria, enough evidence to judge the responses, and a way to flag a tie, ambiguous prompt or unsupported answer. Keep that review information in a separate audit file when the trainer expects only prompt, chosen and rejected fields.

How is preference data used in RLHF and DPO?

Human comparisons can support different post-training workflows. In a traditional RLHF pipeline, preference labels can be used to train a reward model that scores candidate outputs, which may then be used in a reinforcement learning stage. Direct Preference Optimization (DPO) instead optimizes directly from preference comparisons under its training objective, without requiring a separately trained reward model in that formulation. The method and pipeline details matter; the preference pair itself does not specify the whole training recipe. The DPO paper describes its preference-based objective.

For an introduction to the broader human-feedback process, see What Is RLHF?. This article focuses on designing and reviewing the comparison data.

Start with a decision the reviewer can make

A preference task should tell reviewers what they are comparing and what counts as better. For the refund example, the objective is not “pick the nicer response.” It is:

Reviewer rubric

Given the customer’s question and the payment record available at the decision time, prefer the response that accurately describes the refund status, does not claim an action that has not occurred, and gives a useful next step when the status is unresolved.

That rubric gives the reviewer criteria to apply. It also exposes missing information: if the record does not show the refund status, the reviewer should not invent certainty just to choose a winner.

Define the evidence and time boundary

The prompt should contain the information available to the model at the point it must answer. If the source record changes during a scenario, represent the two versions as separate examples with clear timestamps. Do not leave future evidence in a prompt intended to represent an earlier decision.

For example:

Scenario version Record visible to the model Expected preference
A Refund request received; issuance pending Prefer the answer that says it has not yet been issued
B Refund issuance confirmed Prefer the answer that accurately says the refund was issued
C Refund status unavailable Prefer a response that acknowledges uncertainty and explains what to check

A model should be judged on the evidence it actually receives. This also makes it possible to review whether the preferred answer follows from the record rather than from information outside the prompt.

Create and label the response pair

For each prompt, prepare two plausible candidate responses. The pair should let reviewers apply the rubric. If one answer is obviously nonsensical and the other is sound, the example may provide little information about the distinction the team wants the model to learn. This is a design consideration, not a guarantee of training value.

Pair ID Prompt and evidence Response A Response B
REF-001 “Has my refund been issued?” Record: request received; issuance pending. “Yes, your refund has been issued.” “Your refund was requested, but it has not been issued yet. Check again after processing is complete.”

Under the stated rubric, Response B is preferred. A claims completion that the record does not show. The reviewer should cite the relevant record, select the criterion that decided the comparison and record a concise rationale.

The label should be connected to the prompt and the exact responses that were reviewed. If the responses change after review, the old decision should not silently carry forward: review the new pair or version it as a changed example.

Use a rubric that separates quality dimensions

A compact rubric can help reviewers make consistent comparisons without forcing every decision into one vague “better answer” judgment. For the refund example, criteria might include:

Criterion Reviewer question
Evidence accuracy Does the response match the status shown in the source record?
Unsupported claims Does it state that a refund was issued when the record only shows a request?
Instruction following Does it answer the customer’s question within the requested scope?
Useful next step If status is unresolved, does it explain what the customer can do or expect?
Clarity Can the reader understand the answer without unnecessary detail?

The rubric should explain which criteria are critical and how to handle tradeoffs. For instance, a fluent answer that falsely claims the refund is complete should not win merely because it sounds more confident. A reviewer should be able to state which criterion controlled the decision.

When to choose, tie or exclude a pair

Binary preference labels are useful when one response is meaningfully preferred under the rubric. Some comparisons do not support that label.

Situation Review disposition Example
One answer is better supported Choose it Record says pending; one answer falsely says issued, the other correctly explains pending status
Both answers meet the criteria equally well Tie / no meaningful preference Two accurate, concise answers explain the same pending status
Both answers fail a critical criterion Neither acceptable; exclude from binary export Both claim issuance when the record does not confirm it
Prompt or evidence is ambiguous Flag for adjudication or exclude The record is missing, contradictory or lacks a decision timestamp

A tie differs from “neither acceptable.” In a tie, both responses may be acceptable, but the reviewer cannot justify preferring one. In an exclusion, the pair is unsuitable for a binary comparison because the prompt, evidence or responses do not support a reliable choice. Preserve the reason in the review record so the team can improve the task or the candidates.

When reviewers disagree, first check whether they applied the same rubric to the same evidence. If disagreement exposes an unclear rule, revise the instructions and inspect other examples affected by that ambiguity. Research on annotation disagreement resolution describes how disagreement can reveal problems in task design or task descriptions when a common answer is intended. Read the ACL paper on systematic disagreement resolution.

What fields should the dataset contain?

Separate the training export from the review record. The trainer-facing file should contain only fields required by the chosen training pipeline. The review file should keep the information needed to audit the decision and investigate issues.

Illustrative trainer-facing JSONL row (synthetic):

{"prompt":"Has my refund been issued? Record: request received; issuance pending.","chosen":"Your refund was requested, but it has not been issued yet. Check again after processing is complete.","rejected":"Yes, your refund has been issued."}

Illustrative review record (kept separate from the training input):

Field Example value Purpose
pair_id REF-001 Trace the comparison across files
scenario_family_id REFUND-STATUS-01 Keep related variants together when splitting
rubric_version 1.0 Identify the instructions used
preferred_response B Record the reviewer choice
decisive_criterion Evidence accuracy Explain what determined the choice
evidence_reference PAYMENT-STATUS-01 Point to the source used in the fictional exercise
rationale Record says issuance pending; A claims it was issued Human-readable reason
disposition accepted_pair Distinguish accepted pairs from ties, exclusions and escalations
reviewer_id SYNTHETIC-REVIEWER-01 Placeholder only; not a real person

The sample is synthetic, and the identifiers are fictional. In a real workflow, data source, permission and privacy fields must reflect the actual project. Do not copy the example’s placeholder rights or consent values into real records without confirming the relevant terms.

How should preference data be split and quality-checked?

Keep closely related variants of the same scenario in the same train, validation or test partition. If one version appears in training and a near-identical one appears in testing, results may reflect familiarity with that scenario rather than performance on a distinct case. A scenario-family identifier can help the team review split assignments.

Before accepting a batch, check:

  • Schema validity: Required fields are present and formats match the training pipeline.
  • Pair integrity: Chosen and rejected responses answer the same prompt and use the same evidence.
  • Rubric traceability: A sampled preference has a criterion and rationale.
  • Disposition control: Ties, exclusions and unresolved cases are identified and absent from a binary export unless the training design explicitly supports them.
  • Duplicate and split review: Exact and near-duplicate examples are checked, with scenario families kept together.
  • Version history: Changes to prompts, responses or rubrics can be traced to the reviewed version.
  • Rights and privacy: Source material is permitted for the intended use and sensitive information is handled according to project requirements.

For broader context on expert-produced examples and dataset acceptance, see How Expert-Generated AI Training Data Is Produced and Validated. Dataset documentation should also describe motivation, composition, collection process and intended uses; Datasheets for Datasets proposes this as a transparency practice.

What should buyers inspect before accepting preference data?

Ask for a small, representative review package before approving a full delivery:

Buyer check What to inspect
Example pairs Can a reviewer understand the prompt, evidence, chosen response and rejected response?
Reviewer rubric Are important criteria defined, with examples for ties and exclusions?
Disagreement handling Is there a path for resolving unclear instructions separately from an individual reviewer error?
Training export and schema Does the file match the intended trainer’s format, while audit-only fields remain separate?
Split and duplicate notes Can related scenarios be kept together and duplicate checks explained?
Delivery dispositions Do accepted, tied, excluded and unresolved counts reconcile with the files delivered?

Agreement statistics may be useful if the project measures and defines them, but a single agreement figure does not, by itself, establish that judgments are correct or that the dataset will improve a model. Agree on what will be measured and how exceptions are handled before collecting at scale.

A preference dataset is ready for discussion when the task, rubric, examples and delivery requirements are concrete enough for both sides to review. To scope those requirements for your use case, discuss preference dataset specifications with Netpace.ai.

Discuss Preference Dataset Specifications