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
Statistics & Math
Data Scientist
Turing
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

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
Inter-rater reliability
Cohen's kappa
Chance agreement
Preference data
Label noise
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample 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 pop_o with the agreement expected if both reviewers labeled independently using their own marginal rates, pep_e: κ=po−pe1−pe\kappa = \frac{p_o - p_e}{1 - p_e}....


Submit Your Answer
Markdown supported

Related Questions