Skip to content

Human judgment, preference, and annotation measurement · Human judgment, annotation, and latent measurement · HME007 · Model

MACE multi-annotator competence estimation

Estimate latent labels using a mixture between copying the latent correct label and drawing from an annotator-specific label distribution independent of that truth.

Runs in CodeSplash Complete calculation CodeSplash's run and the reference's record

In CodeSplash

A CodeSplash method runs this entry in Python and R. Set it up from the method's page.

Do it in CodeSplash Run it on your own data, in Python or R.

Availability
Runs in CodeSplash
Code example
Complete calculation
Who ran it
CodeSplash's run and the reference's record
CodeSplash's run
Verified in Python and R through agreement.dawid_skene. The reference's example ran in Python and R here, and they agree.
The reference's record
Python: Ran in the reference's review, on this exact code. R: Reviewed but not run: R wasn't available to the reference's authors.

Purpose

Estimate latent labels using a mixture between copying the latent correct label and drawing from an annotator-specific label distribution independent of that truth.

Question / hypotheses

Can observed labels be explained by a model of competence versus truth-independent responding? The mechanism is a useful statistical simplification, not a direct observation of motivation.

Architecture / computational structure

Each worker has a competence probability and a categorical distribution for the alternative response state. A latent state selects exact truth copying or an independent categorical draw. EM or variational inference estimates worker parameters and label posteriors.

Assumptions

The competent state is assumed to emit the correct label exactly, while the other state is independent of the true label. Workers share latent item truth and are conditionally independent. Systematic truth-dependent confusions, expertise by topic, and genuine multi-label ambiguity require richer models.

Formula / computational definition

P(yij=l∣zi=k)=cj1(l=k)+(1−cj)ξjl,0≤cj≤1,∑lξjl=1.P(y_{ij}=l\mid z_i=k)=c_j1(l=k)+(1-c_j)\xi_{jl},\qquad 0\le c_j\le1,\quad\sum_l\xi_{jl}=1.

Parameters and notation

Estimated: competence c_j and response distribution ξ_j, plus latent label posteriors. The original formulation uses a uniform truth prior; prior/variant choices must be identified. Settings: Beta/Dirichlet priors, initialization, restarts, inference iterations, confidence thresholds, and optional control items.

Fitting, fine-tuning, and adaptation

Use repeated starts and a stated prior; model selection on the same noisy annotations alone cannot establish label correctness. Add verified control items when permissible, with an independent adjudicated set reserved for evaluation. Reassess competence across guideline or domain changes.

How to use and calibrate

Inspect label confidence together with coverage when abstaining on uncertain items. Compare to majority vote and Dawid–Skene under matched data access. Official author code provides the full estimation route; the calculation below only exposes the response mixture.

Example application

Prioritize adjudication for crowdsourced text categories while estimating workers who tend to emit one default category regardless of item.

Interpretation / pitfalls

Watch out

A worker can emit the correct category by chance in the truth-independent state. The parameter is not simply observed accuracy. A worker with systematic class-specific confusion can be mischaracterized by this simpler mixture.

Python and R code examples

Scope: Exact conditional label distribution and implied correctness probability. Python NumPy; R base.

Validation: Python executed successfully; native R reviewed but not executed.

Python and R

The reference's own programs, shown as written. A component demo shows one central piece of the method; it doesn't train a full model.

Python

Complete calculation — Exact conditional label distribution and implied correctness probability. Python NumPy; R base. · needs numpy

import numpy as np
c=.7; xi=np.array([.6,.3,.1]); truth=1; p=(1-c)*xi; p[truth]+=c
assert np.isclose(p.sum(),1) and p[truth]>c
print(p)
R

Complete calculation — Exact conditional label distribution and implied correctness probability. Python NumPy; R base.

competence <- .7; xi <- c(.6,.3,.1); truth <- 2
p <- (1-competence)*xi; p[truth] <- p[truth]+competence
stopifnot(abs(sum(p)-1)<1e-12,p[truth]>competence);print(p)

Sources

From the CodeSplash reference, entry HME007.