Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Many voices, one answer
Ask ten people what an unusual cloud looks like and you get several answers. Some people look carefully, some guess, and some always confuse two shapes. If you simply count votes, the careless people count as much as the careful ones. A better approach learns, from the pattern of agreements, who tends to be right about what, and trusts them accordingly. That is the idea behind modern label aggregation, and it matters most when the labels are used to judge a model.
Bars: the accuracy a 0.957-accurate reference model appears to have when each labelled set is used as the test set.
N1-4, seed 0: 3,000 crowd labels (an expert label costs 5) from 18 annotators of mixed quality. Training a linear classifier tolerates noisy labels fairly well; evaluating with them does not.
In Exercise 2, a model that was truly 95.7% accurate appeared to be 65.5% accurate when measured against single crowd labels, and 95.0% against expert labels.
- 1. Asking several people to label the same item helps because…
- 2. A careless annotator's vote should count…
- 3. Labels used to measure a model need to be…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.By hand
- Annotation guidelines and gold questions: clear instructions, plus items with known answers to train and screen annotators.
- Redundancy: several labels per item, aggregated by majority vote or by a model of annotator quality.
- Dawid-Skene model: each annotator has a confusion matrix (probability of each given label for each true class); EM estimates them and the true classes together.
- Agreement: Cohen’s kappa for two raters and Fleiss’ kappa for many measure agreement beyond chance.
- Active learning: choosing which items to label next, for example the ones the current model is least sure about.
- Weak supervision: labelling functions and heuristics combined by a label model (Snorkel).
- Label errors in test sets: even benchmark test sets contain wrong labels, which distort measured accuracy.
- 1. The Dawid-Skene model describes each annotator by…
- 2. Kappa measures…
- 3. Uncertainty sampling labels next the items…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.Simulating and aggregating a crowd
Exercise 1.
- Items with 10 features in three classes; 18 annotators described by confusion matrices: 2 experts (98% right), 8 novices (70% to 85%), 6 careless (35% to 50%), and 2 who label most mergers as spirals.
- Majority vote with random tie-breaking, Dawid-Skene EM with smoothing, Cohen’s and Fleiss’ kappa.
- Softmax regression that accepts hard or soft (posterior) targets.
Practice.
- Write and test guidelines first; most disagreement comes from unclear instructions.
- Mix in gold items to train, monitor and screen annotators.
- Collect redundant labels where they matter most (evaluation sets, ambiguous items) and aggregate with a model of annotator quality.
- Keep every raw label, annotator id and guideline version, not only the aggregate.
- Route uncertain items to experts and spend expert time where the crowd disagrees.
- Audit test sets: measured accuracy is only as good as the test labels.
def dawid_skene_step(T, ann): # T: item x class posteriors
prior = T.mean(0)
C[w] = normalize(sum of T[i] * onehot(label) for (i, w, label) in ann)
logpost = log(prior) + sum of log C[w][:, label] for each item's labels
return softmax(logpost) # repeat until stable- 1. Most annotator disagreement usually comes from…
- 2. Raw labels should be…
- 3. Expert time is best spent on…
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
Dawid-Skene. Annotator j gives label l to an item of true class k with probability Cⱼ[k, l], independently of other annotators given k. By Bayes’ rule the posterior of an item’s class is proportional to πₖ ∏ Cⱼ[k, lⱼ] over its labels. EM alternates this posterior (E-step) with re-estimating π and every Cⱼ from expected counts (M-step). It needs several labels per item to separate annotator error from class uncertainty; with one label per item the model is not identifiable.
Majority vote. With three independent annotators each right with probability p, at least two are right with probability p³ + 3p²(1 − p), which exceeds p when p is above 1/2 (0.896 for p = 0.8). Careless annotators near chance add noise without information, and systematic confusions do not average out.
Noisy evaluation labels. If a test label is right with probability q and otherwise one of the K − 1 wrong classes at random, independently of the model’s errors, a model with accuracy a measures m = aq + (1 − a)(1 − q)/(K − 1). For q = 0.68 and a = 0.95 this gives about 0.66: measured accuracy is capped near q. Solving for a corrects it, but the answer is sensitive to the estimate of q.
Kappa. κ = (pₒ − pₑ)/(1 − pₑ), with pₒ the observed agreement and pₑ the agreement expected by chance from the label frequencies; κ = 1 is perfect agreement and κ ≈ 0 is chance.
- 1. The Dawid-Skene posterior is proportional to…
- 2. With noisy test labels, measured accuracy is capped near…
- 3. κ near 0 means…
Level 4: Expert
★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.With a fixed budget of crowd labels, how should they be spent, and does the answer differ between training a model and measuring one?
History.
- J. Cohen (1960) and J. Fleiss (1971) introduced kappa statistics; A. P. Dawid and A. M. Skene (1979) modelled observer error rates with EM.
- Galaxy Zoo (C. Lintott and colleagues, 2008) had volunteers classify a million galaxies; R. Snow and colleagues (2008) showed that crowd labels from Mechanical Turk could match experts for language tasks; V. Sheng, F. Provost and P. Ipeirotis (2008) asked when to “get another label”.
- D. Lewis and W. Gale (1994) proposed uncertainty sampling; B. Settles (2009) surveyed active learning; Snorkel (A. Ratner and colleagues, 2017) brought weak supervision to practice.
- C. Northcutt, A. Athalye and J. Mueller (2021) found label errors in the test sets of ten common benchmarks.
Exercise 2.
- A pool of 5,000 items and 3,000 crowd labels; an expert label costs 5 crowd labels. Each strategy’s labelled set trains a softmax classifier (tested on 2,000 items with true labels) and serves as an evaluation set for a reference model trained elsewhere on true labels.
Seed 0 (the reference model’s true accuracy on the pool is 0.9570):
| strategy | items | label accuracy | classifier test accuracy | reference accuracy measured with these labels |
|---|---|---|---|---|
| 1 label per item | 3,000 | 0.677 | 0.9430 | 0.6547 |
| 3 labels, majority vote | 1,000 | 0.776 | 0.9435 | 0.7490 |
| 3 labels, Dawid-Skene | 1,000 | 0.837 | 0.9490 | 0.7990 |
| 2 or 3 labels, Dawid-Skene | 1,211 | 0.864 | 0.9520 | 0.8282 |
| experts only | 600 | 0.977 | 0.9515 | 0.9500 |
| true labels | 3,000 | 1.000 | 0.9545 | 0.9530 |
Seeds 1 and 2 (true accuracy 0.9306 and 0.9288): measured with single labels 0.6123 and 0.6357, majority vote 0.7290 and 0.7370, Dawid-Skene 0.7880 and 0.7960, experts 0.9117 and 0.8967. Classifier test accuracy with single labels 0.9020 and 0.8555, with experts 0.9210 and 0.9180, with true labels 0.9275 and 0.9240.
Findings.
- As evaluation labels, single crowd labels made a 93% to 96% model look 61% to 65% accurate; Dawid-Skene on three labels reached 0.79 to 0.80, and expert labels came within 0.7 to 3.2 points of the truth.
- For training, the differences were smaller: single noisy labels cost this linear classifier 1 to 7 points against true labels, and 600 expert labels were within 1 point of 3,000 true ones.
- In Exercise 1, Dawid-Skene beat majority vote by 6.7 to 7.2 points of label accuracy (seeds 0 to 2), recovering every annotator’s accuracy within about 0.1 without an answer key.
Labelling in practice
- Platforms (Label Studio, Labelbox, Scale, Amazon SageMaker Ground Truth, Zooniverse for citizen science) handle guidelines, gold items, redundancy and review.
- Model-assisted labelling pre-fills labels for people to correct; weak supervision and large models generate labels that people audit.
- Astronomy and Earth science rely on volunteers and experts together: Galaxy Zoo’s vote fractions became training targets for neural networks, and disputed objects go to experts.
References
- A. P. Dawid and A. M. Skene (1979). “Maximum likelihood estimation of observer error-rates using the EM algorithm.” Journal of the Royal Statistical Society, Series C.
- J. L. Fleiss (1971). “Measuring nominal scale agreement among many raters.” Psychological Bulletin.
- C. Lintott and colleagues (2008). “Galaxy Zoo: morphologies derived from visual inspection of galaxies from the Sloan Digital Sky Survey.” Monthly Notices of the Royal Astronomical Society.
- V. S. Sheng, F. Provost and P. G. Ipeirotis (2008). “Get another label? Improving data quality and data mining using multiple, noisy labelers.” KDD.
- B. Settles (2009). “Active learning literature survey.” University of Wisconsin–Madison Computer Sciences Technical Report 1648.
- A. Ratner and colleagues (2017). “Snorkel: rapid training data creation with weak supervision.” VLDB.
- C. G. Northcutt, A. Athalye and J. Mueller (2021). “Pervasive label errors in test sets destabilize machine learning benchmarks.” NeurIPS Datasets and Benchmarks.