KatInterview

Rater Reliability Metrics and Validating an LLM Grader

Machine LearningModel answer
HardModel answerMachine Learninginter-annotator-agreementcohens-kappakrippendorff-alpha

Last updated

Explain how to quantify labeler reliability beyond raw agreement, when each metric fails, and how to decide whether an LLM can stand in for human graders.

You are building an evaluation pipeline for a model whose outputs are scored by people, and your team wants to replace some of those people with an LLM grader. Before that happens, you are asked to explain the reliability story behind the labels.

Answer the following in a structured way.

  1. Definition. What does it mean for annotators to "agree" on a labeling task? How does reliability differ from validity, and why is raw percent agreement not enough?
  2. Metrics. Describe Cohen's kappa, Fleiss' kappa and Krippendorff's alpha. For each one, state when you would use it, what kind of chance agreement it adjusts for, and what it assumes about the raters and the label scale.
  3. Failure modes. Discuss how agreement numbers can mislead you in these situations:
    • heavily skewed class distributions and prevalence effects
    • raters with different label biases
    • ordinal versus nominal labels
    • multi-label items
    • annotator expertise differences
    • vague or underspecified guidelines
  4. Humans versus LLM graders. Compare the two along cost, speed, consistency, bias and fairness, domain expertise, privacy and security, and transparency.
  5. Making an LLM grader trustworthy. Propose concrete techniques for improving it and for monitoring it over time, including how you would report its reliability.

Include a small numeric example where appropriate, and be clear about the trade-offs behind your recommendations.

Hints

Hint 1

All chance-corrected metrics share the form (observed - expected) / (1 - expected). The difference between them lies in how the expected term is computed and which data shapes they support.

Hint 2

Try a 2x2 table where 90 percent of the items fall in one class and the raters mostly agree on that class. Compute raw agreement and kappa and see why they diverge sharply.

Hint 3

Treat the LLM as one more rater: compare LLM-vs-human agreement with human-vs-human agreement on the same items, and think about which known LLM biases (position, verbosity, self-preference) you would test for.