Overview

11 Preference Data

Preference data is the central signal that powers RLHF, because human values and model behavior are too complex to compress into a single hand-designed reward function. Instead of trying to define perfect rewards, RLHF relies on labeled comparisons that reveal which outputs people consider better, safer, clearer, or more helpful. The key intuition is that it is usually much easier for humans to judge between two candidate answers than to produce an ideal answer from scratch, making preference labels a practical proxy for aligning models.

Collecting this data is expensive and operationally difficult, often requiring large budgets, careful instructions, iterative refinement, and either specialized vendors or in-house annotators. A major assumption is that the most useful data is on-policy, meaning it comes from generations produced by the current family of models rather than unrelated model outputs. The chapter also describes how preference can be gathered through different interfaces, from pairwise comparisons and rating scales to thumbs-up/thumbs-down feedback, multi-turn conversations, and structured or synthetic examples where correctness can be checked automatically.

At the same time, the chapter emphasizes that preference data is noisy and vulnerable to subtle biases such as prefix bias, sycophancy, verbosity, and formatting effects. These issues can be hard to detect but can strongly shape the resulting model if left unaddressed. The chapter closes by highlighting open questions about who collects the data, what kind of feedback is best, how demographic and workplace context influence preferences, and whether the preferences written into the data are truly the ones reflected in the final models.

An example of one of the earliest preference data collection interface, from Anthropic’s research. Bai et al. 2022. The actual conversation is a toy conversation around what is a good example conversation for data collection. License CC-BY.
figure
Example preference data collection interface from when I was served two completions from different ChatGPT beta models. The actual completions are very close in content, showing how collecting preference data can be noisy and difficult to get exactly right.
figure
Example preference data collection interface from an early version of the popular Arena benchmark.
figure
Example preference data collection interface with thumbs up or thumbs down icons from the Allen Institute of AI’s research demos.
figure
Example user interface of text-to-image models.
figure
Overview of the multi-batch cycle for obtaining human preference data from a vendor. The ramp up period allows a narrowing of goals and methodology in order to create the best possible data. It is expected that a larger proportion of the data from the earlier batches will have to be thrown out due to quality issues. This is one timeline example for a smaller data contract (~$500K) and much larger data contracts can vary substantially.
figure

Summary

  • Preference data is the primary engine of RLHF improving models – because we cannot write precise reward functions for human values, pairwise comparisons between model completions serve as the proxy signal for training.
  • Effective preference data should be on-policy: collected on completions from the model being trained (or a closely related checkpoint), so the training signal covers the token distributions the model actually generates.
  • Collecting human preference data is operationally complex and expensive, involving expensive, multi-week vendor contracts, iterative calibration of annotation guidelines, and careful integration with training pipelines – which is why many teams opt for synthetic preference data instead.
  • Preference data is prone to subtle biases – including verboseness bias, sycophancy, prefix bias, and formatting preferences – that can transfer directly to the trained model if not detected and mitigated.
  • Core open questions remain around data collection contexts, whether pairwise comparisons are the right format for capturing preferences, population demographics of annotators, and whether the behaviors specified in annotation guidelines actually manifest in the final models.
  • Chapter 12 covers how synthetic data and AI feedback complement and extend human preference data across the pipeline.

FAQ

Why is preference data considered the core engine of RLHF?Preference data acts as the proxy signal for human values when we cannot write an exact reward function. It lets models learn which outputs are better, safer, clearer, or more helpful than alternatives.
Why is it so hard to replace preference data with a hand-written reward function?Human preferences are complex, context-dependent, and difficult to reduce to a single precise objective. The chapter emphasizes that fully capturing human values in one reward function is effectively impossible.
What does it mean for preference data to be “on-policy”?On-policy preference data is collected from the current family of models or a recent checkpoint of the model being trained. This matters because data from a closely related model better matches the model’s actual generation patterns.
Why is collecting human preference data operationally difficult and expensive?It often requires iterative training, detailed instructions, annotator management, vendor coordination, and substantial spending. The process can take weeks or months and may cost hundreds of thousands or even millions of dollars.
What kinds of interfaces are used to collect preference data?Common interfaces include side-by-side comparisons, rating systems, thumbs up/down feedback, and model evaluation arenas. The exact interface can influence how users judge responses and what data gets collected.
What is the difference between rankings and ratings in preference data?Rankings compare multiple outputs relative to one another, while ratings assign a score to each output independently. The chapter notes that rankings are most commonly used for training, while ratings are often used as metadata or for related evaluation work.
How is multi-turn preference data handled during training?Preference can be collected only on the final turn, or on every response in a conversation. When training, earlier turns are often unrolled into separate prompts, and previous turns are masked from the loss.
What is structured preference data?Structured preference data is preference information that can be created automatically from domain rules or correctness checks. Examples include math problems, instruction-following tasks, or any setting where one response clearly satisfies a constraint better than another.
Why are data sourcing and contracts such an important part of preference data collection?Because human labeling is supply-limited, teams often depend on vendors, schedules, and detailed contracts. The chapter highlights issues like vendor reliability, delivery timing, and the need to align data collection with training infrastructure.
What are some major biases and open questions in preference data?Important concerns include prefix bias, sycophancy, verbosity, formatting bias, and uncertainty about whether professional annotators reflect true user preferences. Open questions also include who should label the data, what kind of feedback is best, and how diverse the annotator population should be.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Reinforcement Learning from Human Feedback ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Reinforcement Learning from Human Feedback ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Reinforcement Learning from Human Feedback ebook for free