Preference Data for RLHF

After SFT, RLHF needs examples of what "better" means. A comparison record usually contains a prompt xx, a preferred answer y+y^+, a rejected answer y−y^-, a rubric version, rater metadata, and sometimes a short rationale.

The chosen answer should be better under the rubric, not merely longer, friendlier, or more confident. Good comparison data is what prevents the reward model or DPO objective from learning shallow shortcuts.

Different slices teach different lessons. Ordinary helpful prompts keep the model from becoming a refusal machine. Matched safe and unsafe prompts teach refusal appropriateness. Near ties teach calibration. Adversarial prompts teach robustness. Domain prompts teach that "good" depends on audience, expertise, and stakes.

A useful safety pair might compare a legal-access alternative against a procedural bypass answer. A useful honesty pair might compare "I do not know from the provided evidence" against a fluent hallucination. A useful brevity pair might make the concise answer the winner so the system does not confuse word count with value.

Preference dataset

Choose the training mix

A reward model can only learn distinctions that appear in the comparison data.

held-out accuracy

84%

calibration

82%

blind spot

Fewer cheap labels

Accuracy may look lower, but the model learns more useful margins.
Preference data should include ordinary requests, adversarial requests, near ties, and examples where values genuinely trade off.

Dataset curation

Fill the label cart

Toggle example types for a comparison dataset. A good cart is not just large; it covers hard cases and reveals disagreement.

Coverage52%
Disagreement signal56%
Safety coverage40%
Rater fatigue45%
High-quality comparison data is designed: randomized order, blind model identity, clear rubrics, gold checks, and uncertainty-aware follow-up.

Data quality habits

  • Mix easy wins, near ties, adversarial pairs, and domain-specific prompts
  • Randomize A/B order and blind raters to model identity
  • Include hard negatives that are semantically similar but wrong under the rubric
  • Collect short rationales on contentious pairs
  • Track rater reliability and keep held-out prompt families separate from training
⚠

Length Bias Is a Dataset Problem

If raters often choose longer answers because they look more complete, the learned reward can treat verbosity as quality. Include concise high-quality winners and long low-quality losers to break that shortcut.

Checkpoint

Why should preference datasets include near ties and adversarial examples?