Skip to content
Part IA Lent Term

Fleiss' Kappa for Multiple Annotators

When Cohen’s Kappa Is Not Enough

Cohen’s κ\kappa works for exactly two annotators. When you have three or more annotators (e.g., a crowd of workers each labelling items), you need Fleiss’ κ\kappa, which generalises the chance-corrected agreement measure to an arbitrary number of raters.

Notation

  • NN: number of items
  • kk: number of annotators per item (can vary per item in the generalised version)
  • CC: number of categories (classes)
  • nijn_{ij}: number of annotators who assigned category jj to item ii

Formula

Observed agreement per item:

Pa,i=j=1Cnij(nij1)k(k1)P_{a,i} = \frac{\sum_{j=1}^{C} n_{ij}(n_{ij} - 1)}{k(k - 1)}

The numerator counts agreeing pairs for item ii (summed over categories). The denominator is the total number of annotator pairs for that item. The factor of 2 in the combination formula cancels between numerator and denominator.

Overall observed agreement:

Pa=1Ni=1NPa,iP_a = \frac{1}{N} \sum_{i=1}^{N} P_{a,i}

Expected chance agreement:

For each category jj, compute the overall proportion of all annotations assigned to that class:

pj=i=1NnijN×kp_j = \frac{\sum_{i=1}^{N} n_{ij}}{N \times k}

Then:

Pe=j=1Cpj2P_e = \sum_{j=1}^{C} p_j^2

Fleiss’ κ\kappa:

κ=PaPe1Pe\kappa = \frac{P_a - P_e}{1 - P_e}

Interpretation follows the same scale as Cohen’s κ\kappa.

Full Worked Example

Three annotators (A, B, C) label 3 items as POS or NEG:

ItemAnnotator AAnnotator BAnnotator C
1POSPOSNEG
2POSNEGNEG
3POSPOSPOS

Here N=3N=3, k=3k=3, C=2C=2.

Step 1 — nijn_{ij} counts:

ItemnPOSn_{\text{POS}}nNEGn_{\text{NEG}}
121
212
330

Step 2 — Pa,iP_{a,i} per item:

Item 1: Pa,1=[2(21)+1(11)]/[3(31)]=[2+0]/6=0.333P_{a,1} = [2(2-1) + 1(1-1)] / [3(3-1)] = [2 + 0] / 6 = 0.333

Item 2: Pa,2=[1(11)+2(21)]/6=[0+2]/6=0.333P_{a,2} = [1(1-1) + 2(2-1)] / 6 = [0 + 2] / 6 = 0.333

Item 3: Pa,3=[3(31)+0(01)]/6=[6+0]/6=1.0P_{a,3} = [3(3-1) + 0(0-1)] / 6 = [6 + 0] / 6 = 1.0

Step 3 — Overall PaP_a:

Pa=(0.333+0.333+1.0)/3=1.667/3=0.556P_a = (0.333 + 0.333 + 1.0) / 3 = 1.667 / 3 = 0.556

Step 4 — Category proportions pjp_j:

Total annotations = 3×3=93 \times 3 = 9. POS annotations = 2+1+3=62 + 1 + 3 = 6, so pPOS=6/9=0.667p_{\text{POS}} = 6/9 = 0.667. NEG annotations = 1+2+0=31 + 2 + 0 = 3, so pNEG=3/9=0.333p_{\text{NEG}} = 3/9 = 0.333.

Step 5 — Expected chance agreement PeP_e:

Pe=0.6672+0.3332=0.444+0.111=0.556P_e = 0.667^2 + 0.333^2 = 0.444 + 0.111 = 0.556

Step 6 — Fleiss’ κ\kappa:

κ=0.5560.55610.556=00.444=0.0\kappa = \frac{0.556 - 0.556}{1 - 0.556} = \frac{0}{0.444} = 0.0

Interpretation: agreement is no better than chance. Despite Pa=0.556P_a = 0.556 looking modestly above 50%, the chance correction reveals that the observed agreement is exactly what random guessing with the observed label proportions would produce.

Summary

ComponentMeaningThis example
PaP_aMean pairwise agreement per item0.556
PeP_eChance agreement from marginal proportions0.556
κ\kappaFleiss’ kappa0.0 (chance-level)

Past paper questions: y2023p3q7(b), y2021p3q9(c)