{"id":101,"date":"2026-11-02T16:15:36","date_gmt":"2026-11-02T16:15:36","guid":{"rendered":"http:\/\/44.194.151.57\/blog\/blog\/how-to-build-high-quality-human-preference-datasets-for\/"},"modified":"2026-11-02T16:15:36","modified_gmt":"2026-11-02T16:15:36","slug":"how-to-build-high-quality-human-preference-datasets-for","status":"publish","type":"post","link":"https:\/\/netpace.ai\/blog\/how-to-build-high-quality-human-preference-datasets-for\/","title":{"rendered":"How to Build Human Preference Datasets for RLHF and DPO"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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 \u201cpending,\u201d B is preferable because it reflects the evidence. If the record changes to \u201cissued,\u201d 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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-a-human-preference-dataset\">What is a human preference dataset?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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. <a href=\"https:\/\/huggingface.co\/docs\/trl\/dataset_formats\" rel=\"noopener\" target=\"_blank\">See the TRL dataset format guide<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-is-preference-data-used-in-rlhf-and-dpo\">How is preference data used in RLHF and DPO?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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. <a href=\"https:\/\/arxiv.org\/abs\/2305.18290\" rel=\"noopener\" target=\"_blank\">The DPO paper describes its preference-based objective<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For an introduction to the broader human-feedback process, see <a href=\"http:\/\/44.194.151.57\/blog\/blog\/what-is-rlhf\/\">What Is RLHF?<\/a>. This article focuses on designing and reviewing the comparison data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"start-with-a-decision-the-reviewer-can-make\">Start with a decision the reviewer can make<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A preference task should tell reviewers what they are comparing and what counts as better. For the refund example, the objective is not \u201cpick the nicer response.\u201d It is:<\/p>\n\n\n\n<blockquote class=\"np-quote np-quote-reference\"><span class=\"np-quote-label\">Reviewer rubric<\/span>\n<p>Given the customer\u2019s 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.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"define-the-evidence-and-time-boundary\">Define the evidence and time boundary<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<figure class=\"wp-block-table np-table\"><table>\n<thead>\n<tr>\n<th>Scenario version<\/th>\n<th>Record visible to the model<\/th>\n<th>Expected preference<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>A<\/td>\n<td>Refund request received; issuance pending<\/td>\n<td>Prefer the answer that says it has not yet been issued<\/td>\n<\/tr>\n<tr>\n<td>B<\/td>\n<td>Refund issuance confirmed<\/td>\n<td>Prefer the answer that accurately says the refund was issued<\/td>\n<\/tr>\n<tr>\n<td>C<\/td>\n<td>Refund status unavailable<\/td>\n<td>Prefer a response that acknowledges uncertainty and explains what to check<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-and-label-the-response-pair\">Create and label the response pair<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<figure class=\"wp-block-table np-table\"><table>\n<thead>\n<tr>\n<th>Pair ID<\/th>\n<th>Prompt and evidence<\/th>\n<th>Response A<\/th>\n<th>Response B<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>REF-001<\/td>\n<td>\u201cHas my refund been issued?\u201d Record: request received; issuance pending.<\/td>\n<td>\u201cYes, your refund has been issued.\u201d<\/td>\n<td>\u201cYour refund was requested, but it has not been issued yet. Check again after processing is complete.\u201d<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Under the stated rubric, <strong>Response B is preferred<\/strong>. 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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"use-a-rubric-that-separates-quality-dimensions\">Use a rubric that separates quality dimensions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A compact rubric can help reviewers make consistent comparisons without forcing every decision into one vague \u201cbetter answer\u201d judgment. For the refund example, criteria might include:<\/p>\n\n\n\n<figure class=\"wp-block-table np-table\"><table>\n<thead>\n<tr>\n<th>Criterion<\/th>\n<th>Reviewer question<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Evidence accuracy<\/td>\n<td>Does the response match the status shown in the source record?<\/td>\n<\/tr>\n<tr>\n<td>Unsupported claims<\/td>\n<td>Does it state that a refund was issued when the record only shows a request?<\/td>\n<\/tr>\n<tr>\n<td>Instruction following<\/td>\n<td>Does it answer the customer\u2019s question within the requested scope?<\/td>\n<\/tr>\n<tr>\n<td>Useful next step<\/td>\n<td>If status is unresolved, does it explain what the customer can do or expect?<\/td>\n<\/tr>\n<tr>\n<td>Clarity<\/td>\n<td>Can the reader understand the answer without unnecessary detail?<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"when-to-choose-tie-or-exclude-a-pair\">When to choose, tie or exclude a pair<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Binary preference labels are useful when one response is meaningfully preferred under the rubric. Some comparisons do not support that label.<\/p>\n\n\n\n<figure class=\"wp-block-table np-table\"><table>\n<thead>\n<tr>\n<th>Situation<\/th>\n<th>Review disposition<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>One answer is better supported<\/td>\n<td>Choose it<\/td>\n<td>Record says pending; one answer falsely says issued, the other correctly explains pending status<\/td>\n<\/tr>\n<tr>\n<td>Both answers meet the criteria equally well<\/td>\n<td>Tie \/ no meaningful preference<\/td>\n<td>Two accurate, concise answers explain the same pending status<\/td>\n<\/tr>\n<tr>\n<td>Both answers fail a critical criterion<\/td>\n<td>Neither acceptable; exclude from binary export<\/td>\n<td>Both claim issuance when the record does not confirm it<\/td>\n<\/tr>\n<tr>\n<td>Prompt or evidence is ambiguous<\/td>\n<td>Flag for adjudication or exclude<\/td>\n<td>The record is missing, contradictory or lacks a decision timestamp<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A tie differs from \u201cneither acceptable.\u201d 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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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. <a href=\"https:\/\/aclanthology.org\/2021.humeval-1.15\/\" rel=\"noopener\" target=\"_blank\">Read the ACL paper on systematic disagreement resolution<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-fields-should-the-dataset-contain\">What fields should the dataset contain?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Illustrative trainer-facing JSONL row<\/strong> (synthetic):<\/p>\n\n\n\n<pre><code>{\"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.\"}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Illustrative review record<\/strong> (kept separate from the training input):<\/p>\n\n\n\n<figure class=\"wp-block-table np-table\"><table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Example value<\/th>\n<th>Purpose<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>pair_id<\/td>\n<td>REF-001<\/td>\n<td>Trace the comparison across files<\/td>\n<\/tr>\n<tr>\n<td>scenario_family_id<\/td>\n<td>REFUND-STATUS-01<\/td>\n<td>Keep related variants together when splitting<\/td>\n<\/tr>\n<tr>\n<td>rubric_version<\/td>\n<td>1.0<\/td>\n<td>Identify the instructions used<\/td>\n<\/tr>\n<tr>\n<td>preferred_response<\/td>\n<td>B<\/td>\n<td>Record the reviewer choice<\/td>\n<\/tr>\n<tr>\n<td>decisive_criterion<\/td>\n<td>Evidence accuracy<\/td>\n<td>Explain what determined the choice<\/td>\n<\/tr>\n<tr>\n<td>evidence_reference<\/td>\n<td>PAYMENT-STATUS-01<\/td>\n<td>Point to the source used in the fictional exercise<\/td>\n<\/tr>\n<tr>\n<td>rationale<\/td>\n<td>Record says issuance pending; A claims it was issued<\/td>\n<td>Human-readable reason<\/td>\n<\/tr>\n<tr>\n<td>disposition<\/td>\n<td>accepted_pair<\/td>\n<td>Distinguish accepted pairs from ties, exclusions and escalations<\/td>\n<\/tr>\n<tr>\n<td>reviewer_id<\/td>\n<td>SYNTHETIC-REVIEWER-01<\/td>\n<td>Placeholder only; not a real person<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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\u2019s placeholder rights or consent values into real records without confirming the relevant terms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-should-preference-data-be-split-and-quality-checked\">How should preference data be split and quality-checked?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before accepting a batch, check:<\/p>\n\n\n\n<ul>\n<li><strong>Schema validity:<\/strong> Required fields are present and formats match the training pipeline.<\/li>\n<li><strong>Pair integrity:<\/strong> Chosen and rejected responses answer the same prompt and use the same evidence.<\/li>\n<li><strong>Rubric traceability:<\/strong> A sampled preference has a criterion and rationale.<\/li>\n<li><strong>Disposition control:<\/strong> Ties, exclusions and unresolved cases are identified and absent from a binary export unless the training design explicitly supports them.<\/li>\n<li><strong>Duplicate and split review:<\/strong> Exact and near-duplicate examples are checked, with scenario families kept together.<\/li>\n<li><strong>Version history:<\/strong> Changes to prompts, responses or rubrics can be traced to the reviewed version.<\/li>\n<li><strong>Rights and privacy:<\/strong> Source material is permitted for the intended use and sensitive information is handled according to project requirements.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For broader context on expert-produced examples and dataset acceptance, see <a href=\"http:\/\/44.194.151.57\/blog\/blog\/expert-generated-ai-training-data\/\">How Expert-Generated AI Training Data Is Produced and Validated<\/a>. Dataset documentation should also describe motivation, composition, collection process and intended uses; <a href=\"https:\/\/arxiv.org\/abs\/1803.09010\" rel=\"noopener\" target=\"_blank\">Datasheets for Datasets<\/a> proposes this as a transparency practice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-should-buyers-inspect-before-accepting-preference-data\">What should buyers inspect before accepting preference data?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ask for a small, representative review package before approving a full delivery:<\/p>\n\n\n\n<figure class=\"wp-block-table np-table\"><table>\n<thead>\n<tr>\n<th>Buyer check<\/th>\n<th>What to inspect<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Example pairs<\/td>\n<td>Can a reviewer understand the prompt, evidence, chosen response and rejected response?<\/td>\n<\/tr>\n<tr>\n<td>Reviewer rubric<\/td>\n<td>Are important criteria defined, with examples for ties and exclusions?<\/td>\n<\/tr>\n<tr>\n<td>Disagreement handling<\/td>\n<td>Is there a path for resolving unclear instructions separately from an individual reviewer error?<\/td>\n<\/tr>\n<tr>\n<td>Training export and schema<\/td>\n<td>Does the file match the intended trainer\u2019s format, while audit-only fields remain separate?<\/td>\n<\/tr>\n<tr>\n<td>Split and duplicate notes<\/td>\n<td>Can related scenarios be kept together and duplicate checks explained?<\/td>\n<\/tr>\n<tr>\n<td>Delivery dispositions<\/td>\n<td>Do accepted, tied, excluded and unresolved counts reconcile with the files delivered?<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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, <a href=\"http:\/\/44.194.151.57\/blog\/contact?topic=build\">discuss preference dataset specifications with Netpace.ai<\/a>.<\/p>\n\n\n\n<p class=\"np-cta-row\"><a class=\"np-cta-btn\" href=\"http:\/\/44.194.151.57\/blog\/contact?topic=build\">Discuss Preference Dataset Specifications<\/a><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Learn how to build human preference datasets for RLHF and DPO, with a synthetic example, reviewer rubric, quality checks and acceptance checklist.<\/p>\n","protected":false},"author":3,"featured_media":102,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[12,27,17,28,11],"class_list":["post-101","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-training-evaluation","category-human-feedback","tag-dpo","tag-pairwise-annotation","tag-preference-data","tag-reviewer-disagreement","tag-rlhf"],"_links":{"self":[{"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/posts\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":0,"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/media\/102"}],"wp:attachment":[{"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netpace.ai\/blog\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}