Preference Data & Direct Preference Optimization
Preference training uses examples where one output is preferred over another for the same input. Direct Preference Optimization (DPO) trains the model toward preferred outputs relative to a reference behavior without requiring the classic explicit reward-model + RL loop.
type PreferenceExample = {
prompt: string;
chosen: string;
rejected: string;
rubricVersion: string;
};
Data quality
Preference labels can encode annotator bias, style preferences or flawed rubrics. Collect disagreement and calibrate annotators instead of treating every pair as unquestionable ground truth.
Practice
- What information does a preference pair contain that SFT does not?
- Why can low-quality preferences harm alignment?
- How is DPO conceptually different from classical RLHF?
- What metadata should be stored with preference examples?