Compute and Interpret Cohen's Kappa for Pairwise Preference Labels
Last updated: November 29, 2026
Quick Overview
Two reviewers labeled the same 100 model response pairs as preferring A or B. They agreed on 70 pairs; reviewer 1 chose A 65 times and reviewer 2 chose A 55 times. Compute Cohen's kappa and explain what it says about the labeling guidelines.
Turing
November 29, 20260
0
0 solved
Two reviewers labeled the same 100 model response pairs as preferring A or B. They agreed on 70 pairs; reviewer 1 chose A 65 times and reviewer 2 chose A 55 times. Compute Cohen's kappa and explain what it says about the labeling guidelines.
Turing produces RLHF preference pairs at large scale, and labs judge vendors partly on label consistency. The interviewer wants to see that the candidate knows why raw agreement overstates reliability and can turn a statistic into a recommendation about guidelines or task design.
What the Interviewer Expects
- Defines observed and chance agreement correctly
- Computes kappa from marginals
- Interprets the value in plain terms
- Explains the prevalence and bias effects on kappa
- Suggests concrete next steps for the guideline or task design
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How would you measure agreement with five raters per item and missing labels?
- Why might kappa be low even when raw agreement is 95%?
- Would you add a tie option, and how does that change the statistic and the downstream reward model?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Each of the 100 items has exactly one label from each reviewer, only two categories, and no ties allowed. Agreement counts: 70 matches. Marginals: reviewer 1 has A = 0.65, reviewer 2 has A = 0.55....
Approach
Kappa compares observed agreement with the agreement expected if both reviewers labeled independently using their own marginal rates, : ....