Evaluation lab · San Francisco · London · Zürich
Reinforced Labs Request a briefing
Glossary

Cohen's kappa

Also called: κ, kappa statistic, Cohen's κ

Cohen's kappa measures agreement between two raters on categorical labels after subtracting the agreement you would expect by chance alone.

Cohen's kappa () is an agreement statistic for two raters assigning items to categories. It reports how far observed agreement exceeds chance agreement, scaled so that 1 means perfect agreement and 0 means no better than chance.

Formula

Here is the fraction of items on which the two raters agree, is the agreement expected if both labelled at random with their own marginal rates, and and are the shares of items each rater put in category . The denominator is the most agreement that could possibly be gained above chance, so is the fraction of that headroom actually achieved.

Worked example

Illustrative numbers: two annotators label 100 model responses as safe or unsafe. Both say unsafe on 40, both say safe on 30, and they split on the other 30. Raw agreement is , which sounds decent. Annotator A called 50 responses unsafe and annotator B called 60 unsafe, so chance agreement is . Then : the raters captured only 40% of the possible above-chance agreement.

Reading the number

  • Common rules of thumb treat values above roughly 0.8 as strong and 0.6 to 0.8 as substantial, but these cut-offs are conventions, not tests.
  • Kappa depends on prevalence. When one category is rare, is high and kappa can be low even with 95% raw agreement. Always report raw agreement and class balance alongside it.
  • For ordinal scales, weighted kappa gives partial credit for near misses. For more than two raters or missing labels, use Krippendorff's alpha or Fleiss' kappa.

Why it matters

Kappa is the standard check that a labelling policy is clear enough to produce consistent data. In AI evaluation it is used twice: between human annotators building a safety dataset, and between a human gold label and an automated grader such as an LLM judge. A judge whose kappa against experts is well below the human to human kappa should not be trusted to score that category on its own. Low kappa usually points to an ambiguous rubric rather than careless raters, so the fix is to rewrite the guideline and relabel.

Sources

  1. Jacob Cohen. A Coefficient of Agreement for Nominal Scales, 1960. doi.org

Know the number before you ship.

A 45-minute working session with an evaluation engineer. Bring one use case; leave with a threat model, a draft eval plan with sample sizes, and an honest read on where you stand.