← Questions

Annotator agreement and LLM judges versus human judges

0
AppleAI/ML designLast asked Aug 2025

An AI/ML design interview question asked in Apple's technical phone screen, last asked Aug 2025. It tests evaluation, llm-as-judge and annotation.

A conversation about evaluation and labeling. Define annotator agreement, explain how it is measured and where the measures mislead, compare human judges with LLM judges, and say how you would make an LLM judge trustworthy.

Topics

  1. Agreement rate. What it means for labeling and for model evaluation, and why raw percent agreement is not enough.
  2. Metrics. Cohen's kappa for two raters, Fleiss' kappa for many, Krippendorff's alpha for missing ratings and other scales; what each corrects for.
  3. Limits. Class imbalance and prevalence (high agreement with low kappa), ordinal versus nominal labels, multi-label tasks, rater bias and expertise, unclear guidelines.
  4. Humans versus LLMs as judges. Cost, speed, consistency, bias, domain expertise, privacy and transparency.
  5. Making an LLM judge reliable. Concrete methods, and how you check it against people.

Example

Two raters label 100 items. They agree on 90. Rater A says "positive" for 80 items and rater B for 82. Expected agreement by chance is 0.80 × 0.82 + 0.20 × 0.18 = 0.692, so kappa = (0.90 − 0.692) / (1 − 0.692) ≈ 0.68: 90% agreement, but only substantial agreement after chance.

What a strong answer covers

  • Kappa is (observed − expected) / (1 − expected), and why prevalence pushes expected agreement up.
  • Weighted kappa or alpha for ordinal scales; per-label agreement for multi-label tasks.
  • Using disagreement as a signal: it often points at an unclear guideline or truly ambiguous items, not bad raters.
  • LLM judge failure modes: position bias, preference for longer answers, favoring its own model family, sensitivity to prompt wording, confident errors outside its expertise.
  • Fixes: a clear rubric and scale, few-shot examples and reference answers, structured output, low temperature, several samples or several judges with adjudication, swapping answer order, gold items, flagging disagreements for humans, regular human audits.
  • Validating the judge: agreement with expert labels on a held-out set reported with confidence intervals, tracked over time.

Follow-ups

  • Human raters agree only 60% of the time on your task. What do you do before training on the labels?
  • The LLM judge agrees with humans on average but not on one slice. How do you find and fix it?
  • When would you refuse to use an LLM judge at all?

Where it's asked

  • Apple · Technical phone screen · Last asked Aug 2025

What it tests

evaluation · llm-as-judge · annotation

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing