AI Interviews · Question

Explain inter-annotator agreement, and when you would trust an LLM judge rather than human judges.

Domain deep dive question reported at Apple (Aug 2025). Sources, confidence and an answer card.

Researched · updated

r2b-010 AI Engineer Evaluation Domain deep dive Low confidence
On this page

What they’re really asking

If you only remember one thing, say this in the first minute: “Inter-annotator agreement is how consistently two people label the same items without seeing each other’s labels. I measure it with Cohen’s kappa, which corrects for agreement that would happen by luck. Low agreement means the rubric is vague, so I fix the rubric before anything else. And it sets the ceiling for an LLM judge: I’d only let a judge replace people on a criterion where it agrees with them about as well as they agree with each other, on held-out examples, and keeps doing so.”

The rest of this page explains each part of that answer.

Words you need first

An annotator (or labeller) is a person who reads an item and gives it a label, such as “pass” or “fail”. The written rules they follow are the rubric.

Inter-annotator agreement is how consistently two or more annotators give the same label to the same item, working independently.

An LLM judge is a large language model (LLM) prompted to do the annotator’s job automatically: read an output, apply the rubric, return a label.

What makes this different

If you have worked on backend systems, you are used to ground truth being clear: the row is in the database or it isn’t. Labels made by people don’t work like that. Two careful experts can read the same chatbot answer and disagree about whether it is “faithful” to its source. Sometimes one of them is wrong. Often the rubric never said what to do in that case.

That matters twice. First, if your labels are inconsistent, everything trained or measured on them inherits the noise. Second, if you want an LLM judge to replace people, you need a fair bar. You can’t expect a judge to agree with people more than people agree with each other.

So the interviewer is checking two things. Can you define and compute agreement properly, corrected for chance rather than raw? And do you understand that human agreement is the ceiling for any automated judge?

The source is a 2025 PracHub listing tagged Apple Machine Learning Engineer, titled roughly “explain annotation agreement and LLM vs human judges”. Only the title is candidate-reported; the body is PracHub’s own write-up (PracHubaggregator).

Clarify first

  • How many annotators per item? “Two annotators use Cohen’s kappa. More than two, or gaps, need a different measure.”
  • What kind of labels? “Categories like pass/fail, ordered scores, or free text? Pass/fail is the easiest to agree on and to measure.”
  • What is being labelled? “Training data for a model, or model outputs for evaluation? The cost of a bad label is different.”
  • Does the task have a right answer? “Factual checks usually do. Style and tone are partly taste.”

Answer

The example we’ll use

A support chatbot answers customer questions using help articles. Two support leads, Ana and Ben, each label the same 30 answers for faithfulness: does the answer stick to the help article? (Illustrative numbers, the same ones the family walkthrough uses for its judge.)

Ben said failBen said pass
Ana said fail72
Ana said pass219

They agree on 7 + 19 = 26 of 30 items, 86.7%. Each of them says “pass” on 21 of 30, 70% of the time.

Step 1: correct raw agreement for luck

86.7% sounds high, but some of it is luck. If Ana and Ben each said “pass” 70% of the time without reading anything, they would still agree quite often, just by both happening to say “pass”.

Cohen’s kappa (κ) removes that luck. It compares the agreement you observed with the agreement you would expect by chance, given how often each person uses each label. Kappa is 1 for perfect agreement and 0 for no better than chance.

Here, chance alone would give 58% agreement. Ana and Ben reached 86.7%. That works out to κ = 0.68.

To see why the correction matters, imagine an annotator who always says “pass” without reading. They would agree with Ana 70% of the time, which sounds respectable, and score κ = 0.

Say it like this: “Raw agreement flatters you when one label dominates. Kappa tells you how much better than guessing the two raters are.”

With more than two annotators, or when some items have only some labels, Fleiss’ kappa or Krippendorff’s alpha do the same job.

The arithmetic behind the numbers (for a Staff-level follow-up)
Cohen's kappa (two annotators)
κ = (p_o − p_e) ÷ (1 − p_e)
p_o
observed agreement
p_e
agreement expected by chance from each annotator's label shares
Worked example

26 of 30 agree, each says pass 70%: p_o = 0.867, p_e = 0.58, κ = 0.68; an annotator who always says pass agrees 70% with κ = 0

  • Chance agreement: both say pass with probability 0.7 × 0.7 = 0.49; both say fail with 0.3 × 0.3 = 0.09. p_e = 0.49 + 0.09 = 0.58.
  • Kappa: (0.867 − 0.58) ÷ (1 − 0.58) = 0.287 ÷ 0.42 ≈ 0.68.
  • Always-pass annotator: p_e = 1.0 × 0.7 + 0 × 0.3 = 0.7, and p_o = 0.7, so κ = 0 ÷ 0.3 = 0.

Step 2: use disagreement to fix the rubric

Low agreement is usually a rubric problem, not a people problem. Read the four items Ana and Ben disagreed on. Maybe one answer stated a true fact that wasn’t in the help article. Ana failed it (“not supported by the source”); Ben passed it (“it’s correct”). Neither is careless. The rubric never said which rule wins.

The fix, as Hamel Husain and Shreya Shankar’s evals FAQ describes: discuss the disagreements, sharpen the definitions with examples, relabel, and measure again. Repeat until agreement is consistently high.

Say it like this: “Every disagreement is a sentence missing from the rubric.”

Step 3: use human agreement as the bar for a judge

Now bring in an LLM judge. Run it on the same 30 items and compute kappa between the judge and the human consensus, exactly as you did between Ana and Ben.

That gives you a fair comparison. If Ana and Ben reach κ = 0.68 with each other, and the judge reaches about the same with them, the judge is doing roughly as well as one more support lead. If the judge is far below, it isn’t ready. And if the people themselves only reach a low kappa, no judge can be held to more than that; fix the rubric first.

Step 4: decide when the judge may replace people

Do it per failure mode (one specific way an output can go wrong, such as “claims something the source doesn’t say”), not in general. Trust the judge over people on a criterion when:

  • people agree well on that criterion, so the label means something;
  • the judge’s agreement with the human consensus, on held-out items it was never tuned on, is about as high as one annotator’s agreement with another;
  • its true-positive rate (the share of real failures it catches) is high enough for the decision it drives;
  • the volume or speed needed makes human grading impractical, such as grading every change or every conversation;
  • you re-check it on fresh labels regularly.

Keep people for new failure modes nobody has labelled yet, for high-stakes individual decisions, and for taste. Anthropic’s agent-evals guide reserves systematic human studies “for calibrating LLM graders or evaluating subjective outputs where human consensus serves as the reference standard” (Anthropic, 2026-01-09).

Say it like this: “The judge earns a criterion when it matches people as well as people match each other. People keep the new, the high-stakes and the subjective.”

Senior vs Staff

Agreement

Senior

  • Computes kappa correctly, explains chance correction, and uses agreement to fix the rubric.

Staff

  • Uses human-to-human agreement as the bar for replacing annotators, and decides per failure mode where people stay.

In plain words: a Senior answer computes agreement correctly and uses it to improve the labels. A Staff answer also turns it into a rule for where automation is allowed, one criterion at a time.

Small-team version

Most small teams have one domain expert who owns quality. The FAQ recommends that setup for most small and medium companies. It avoids inter-annotator disagreement rather than measuring it, which is fine until the expert’s calls are questioned.

Add a second annotator on 50 shared items and compute kappa when the domain is regulated or the expert’s calls are contested. That costs about 1.7 hours of the second person’s time, roughly $155. Use your own annotators, not a crowdsourcing vendor, for the core failure modes: they know the product, and the disagreements they surface are the ones you need to resolve.

The arithmetic behind the numbers (for a Staff-level follow-up)
  • 50 items at an assumed 2 minutes each = 100 minutes ≈ 1.7 hours.
  • At a loaded $93 an hour: 1.7 × $93 ≈ $155. The hourly figure is the BLS median developer pay of $135,980 (May 2025) ÷ 0.70 (wages are about 70% of total compensation) ÷ 2,080 working hours.

Pitfalls

  • Raw percentage agreement on imbalanced labels. When one label dominates, two raters agree often by luck.
  • Holding a judge to a standard the humans don’t meet. The human-to-human level is the ceiling.
  • Averaging away disagreements instead of reading them. The disagreements show where the rubric is vague.
  • Deciding “judge or people” once for everything. The answer differs per criterion.

Go deeper

Family

LLM-as-judge and human labels: when to trust automated grading

How to check an LLM that grades other LLM outputs: compare it with human labels, report how many failures it catches, correct agreement for chance, test its biases, and handle outputs people judge by taste.

Other questions in this family