Judge Calibration and Meta-Evaluation › Measuring Agreement
Language AI HandbookAll chapters Raw agreement is the fraction of jointly rated items where the judge and reference match. Agreement under independent ratings depends on both label distributions. It can be substantial when both raters often use the same label, including a tie label. We use two chance-corrected statistics.
- Cohen's for two raters assigning nominal categories: where is observed agreement and is agreement expected under independent marginals. is easy to compute but assumes a fixed set of labels and treats each item symmetrically.
- Krippendorff's generalizes to multiple raters, missing data, and arbitrary difference functions. It is the right choice when the reference has multiple annotators per item or when items have varying rater counts.
Chance correction matters because a judge can achieve high raw agreement by exploiting label imbalance. If 80% of items the reference labels the same way, a judge that always outputs that majority label scores 80% raw agreement while carrying zero information. Chance-corrected statistics subtract the agreement expected from the marginals alone, so a judge that only reproduces the base rate scores rather than 0.80. Report label distributions alongside chance-corrected agreement. A change in class frequencies can still change either coefficient.
Kappa can use any prespecified nominal categories for two complete ratings. Here we use binary A/B kappa with explicit ties omitted and coverage tracked. Nominal alpha uses coincidence counts and can accommodate missing comparisons.
where and are the marginal label distributions of the two raters, and for Krippendorff's :
where is observed disagreement (over actual rater pairs) and is expected disagreement (over all pairs under the pooled distribution). We implement the nominal case: when two labels agree, else 1.
The panel’s alpha describes agreement among members. Agreement with a majority label uses an aggregated decision. Report both with their denominators. Low panel reliability can motivate further adjudication before using the reference for a gate.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!