Fine-tuning, RLHF & Alignment·Question 32 of 61Intermediate

Walk me through actually collecting preference data. What are the logistics, and where does it go wrong?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

The engineering is maybe 20% of the work. Annotation design is the rest.

Full worked answer

The engineering is maybe 20% of the work. Annotation design is the rest.

Sampling responses. Generate on-policy from the model you are about to train, not from a grab-bag of different models, or the reward model learns to identify models rather than judge quality. Sample at temperature ~0.8-1.0 so the two responses genuinely differ; near-identical pairs produce coin-flip labels that are pure noise. Some teams sample 4-8 and take best/worst by a judge to get a clean margin, trading off-policy-ness for signal.

Format. Pairwise comparison beats absolute 1-5 ratings, because annotators are not calibrated against each other and one person's 3 is another's 4. Comparative judgments cancel that out. Include a "tie / both bad" option, and require a free-text reason: it is a quality check on the annotator and useful training data later.

Rubric. Define what "better" means, per dimension (correctness, instruction following, safety, tone) with a stated tie-break priority. Without a rubric, annotators default to length and confident tone, and you have just built a length-bias dataset.

Quality control. Overlap ~5-10% of items across annotators and track agreement. Expect Krippendorff's alpha around 0.6-0.75 for genuinely subjective preference and do not panic, disagreement is real signal, not just noise. Aim higher (0.8+) on objective dimensions. Seed gold items with known answers to catch drift, run per-annotator dashboards, and hold calibration sessions. Use domain experts for domain data: a generalist crowd cannot judge medical or code correctness and will pick the prettier answer.

Known biases: position (randomise which response is shown first), length (measure the fraction of pairs where chosen is longer, and if it is above ~65% you will see it in the trained model), and annotator-population values becoming the model's values.

Budget: tens of thousands of pairs for a general RM, low thousands for a narrow one. Have your own team label the first 500 before you pay anyone.

What a good answer covers

  • The engineering is maybe 20% of the work
  • Generate on-policy from the model you are about to train, not from a grab-bag of different models, or…
  • Sample at temperature ~0.8-1.0 so the two responses genuinely differ; near-identical pairs produce…
  • Some teams sample 4-8 and take best/worst by a judge to get a clean margin, trading off-policy-ness for…
  • Pairwise comparison beats absolute 1-5 ratings, because annotators are not calibrated against each other…

Key terms: Sampling responses · Format · Rubric · Quality control · Known biases · Budget

Interviewer follow-ups to expect

  1. Your vendor delivers 50k pairs with alpha of 0.45. What do you do?

  2. How would you design the collection differently if the task is code review rather than open-ended chat?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep