You have pairs of answers where people marked one as better than the other. Which method trains on these pairs directly without a separate reward model?
- Exam domain
- Model Customization and Fine-Tuning Concepts14% of the exam
- Difficulty
- Hard
- In this mock
- 7 questions on this domainPractise this domain
Why the exam asks this
Model Customization and Fine-Tuning Concepts (14% of the exam)
Objective in the exam guide: Fine-tuning methods: SFT, PEFT, LoRA, QLoRA, RLHF, preference optimization (DPO, KTO, GRPO), distillation, and instruction tuning.
Preference optimization methods are named.
Why A is the answer
Direct Preference Optimization (DPO)
DPO optimizes the model on chosen-versus-rejected pairs directly. Classic RLHF trains a reward model first and then optimizes against it.
Remember: DPO learns from preference pairs without a reward model.
How it works
Preference optimization methods include RLHF, DPO, KTO and GRPO.
In detail
- DPO uses preference pairs directly.
- RLHF uses a reward model.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Direct Preference Optimization (DPO)Right
DPO learns from preference pairs without a reward model.
B. Supervised fine-tuning on only the rejected answers so the model learns what to avoidWrongMost tempting
Training on rejected answers teaches the wrong behaviour.
Why it tempts: Learning from mistakes sounds sensible.
C. Knowledge distillationWrong
Distillation copies a teacher model.
D. Continued pretraining on raw textWrong
Raw pretraining ignores preferences.
Use case
An illustrative scenario, not a real incident.
Illustrative: 10,000 preference pairs make a support model prefer concise, cited answers.
See it in different ways
sequenceDiagram participant P0 as Preference data participant P1 as Policy model participant P2 as Reference model P0->>P1: chosen and rejected P2-->>P1: keep close to reference P1-->>P0: higher chance of chosen
How to read this chart
- 1. Preference data sends "chosen and rejected" to Policy model.
- 2. Policy model gets a reply from Reference model: "keep close to reference".
- 3. Preference data gets a reply from Policy model: "higher chance of chosen".
flowchart TD
Q{"What data do you have?"}
Q -->|"Demonstrations"| A0["SFT"]
Q -->|"Preference pairs"| A1["DPO or RLHF"]
Q -->|"A strong teacher model"| A2["Distillation"]How to read this chart
- At "What data do you have?": if "Demonstrations", go to "SFT"; if "Preference pairs", go to "DPO or RLHF"; if "A strong teacher model", go to "Distillation".
Related questions
Learn more
- Our lesson: Customization, fine-tuning and RAG
- Practise Model Customization and Fine-Tuning Concepts questions in the mock exam
- Source: Direct Preference Optimization (arXiv)
- LoRA: Low-Rank Adaptation of Large Language Models (arXiv)
- QLoRA: Efficient Finetuning of Quantized LLMs (arXiv)
- Direct Preference Optimization (arXiv)
- What Is Retrieval-Augmented Generation (NVIDIA Blog)