SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2210.06812 · 2022

CROWDLAB: Supervised learning to infer consensus labels and quality scores for data with multiple annotators

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2210.06812.json · badge: /api/ran/2210.06812.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
cleanlab/multiannotator-benchmarks canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
FunctionStatusWhere it lives
add_new_annotator Ran
ran on a synthesized input
cleanlab/multiannotator-benchmarks/active_learning_benchmarks/extra-benchmarks/single-vs-multiannotator/utils/active_learning.py
code served (permissive licence) · get_code("99b009a70defaf35")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd

# Set random seed for reproducibility
np.random.seed(0)

# Create multiannotator_labels as a DataFrame with multiple annotators
# Each row represents an example, each column represents an annotator
multiannotator_labels = pd.DataFrame({
    0: [1.0, 2.0, np.nan, 1.0],
    1: [2.0, np.nan, 3.0, 1.0],
    2: [np.nan, 2.0, 3.0, 2.0]
})

# Create extra_labels with shape (4, 3) - 4 examples, 3 possible labels per example
extra_labels = np.array([
    [1.0, 2.0, 3.0],
    [1.0, 2.0, 3.0],
    [1.0, 2.0, 3.0],
    [1.0, 2.0, 3.0]
])

# Define relabel_idx - indices of examples to get new labels for
relabel_idx = np.array([0, 2])

ARGS = {
    "multiannotator_labels": multiannotator_labels,
    "extra_labels": extra_labels,
    "relabel_idx": relabel_idx
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_long_to_wide_dataset Ran
ran on a synthesized input
cleanlab/multiannotator-benchmarks/cleanlab/cleanlab/multiannotator.py
code served (permissive licence) · get_code("7241e5406cf81c73")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd

# Create a sample long-format DataFrame with the required columns:
# 'task', 'annotator', and 'label'
data = {
    'task': [0, 0, 0, 1, 1, 1, 2, 2, 2],
    'annotator': ['annotator_1', 'annotator_2', 'annotator_3', 
                  'annotator_1', 'annotator_2', 'annotator_3',
                  'annotator_1', 'annotator_2', 'annotator_3'],
    'label': [1, 1, 0, 0, 0, 1, 1, 1, 1]
}

labels_multiannotator_long = pd.DataFrame(data)

ARGS = {
    'labels_multiannotator_long': labels_multiannotator_long
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_consensus_label Ran
ran on a synthesized input
cleanlab/multiannotator-benchmarks/cleanlab/cleanlab/multiannotator.py
code served (permissive licence) · get_code("39feeaa68d76c9f6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family int, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd

# Create a small multiannotator labels dataset
# Shape: (N=4 examples, M=3 annotators)
labels_multiannotator = pd.DataFrame({
    0: [0, 1, 2, 0],
    1: [0, 1, 2, 1],
    2: [1, 1, 2, 0]
})

# Create predicted probabilities
# Shape: (N=4 examples, K=3 classes)
pred_probs = np.array([
    [0.7, 0.2, 0.1],
    [0.1, 0.8, 0.1],
    [0.1, 0.1, 0.8],
    [0.6, 0.3, 0.1]
], dtype=np.float32)

ARGS = {
    "labels_multiannotator": labels_multiannotator,
    "pred_probs": pred_probs,
    "consensus_method": "majority"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family int, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
setup_next_iter_data_single Ran
ran on a synthesized input
cleanlab/multiannotator-benchmarks/active_learning_benchmarks/extra-benchmarks/single-vs-multiannotator/utils/active_learning.py
code served (permissive licence) · get_code("3409914a7dc265e1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small synthetic data for the function
np.random.seed(0)

# Parameters for data dimensions
n_labeled = 3
n_unlabeled = 5
n_features = 4
n_classes = 2
n_annotators = 2

# relabel_idx: indices in the labeled set to relabel
relabel_idx = np.array([0, 1]).astype(int)

# relabel_idx_unlabeled: indices in the unlabeled set to move to labeled
relabel_idx_unlabeled = np.array([1, 3]).astype(int)

# X: labeled feature data (n_labeled x n_features)
X = np.random.randn(n_labeled, n_features)

# X_unlabeled: unlabeled feature data (n_unlabeled x n_features)
X_unlabeled = np.random.randn(n_unlabeled, n_features)

# pred_probs: prediction probabilities for labeled data (n_labeled x n_classes)
pred_probs = np.random.rand(n_labeled, n_classes)
pred_probs = pred_probs / pred_probs.sum(axis=1, keepdims=True)

# pred_probs_unlabeled: prediction probabilities for unlabeled data (n_unlabeled x n_classes)
pred_probs_unlabeled = np.random.rand(n_unlabeled, n_classes)
pred_probs_unlabeled = pred_probs_unlabeled / pred_probs_unlabeled.sum(axis=1, keepdims=True)

# extra_labels_single: extra labels from annotators (n_unlabeled x n_annotators)
extra_labels_single = np.random.randint(0, n_classes, size=(n_unlabeled, n_annotators))

ARGS = {
    'relabel_idx': relabel_idx,
    'relabel_idx_unlabeled': relabel_idx_unlabeled,
    'X': X,
    'X_unlabeled': X_unlabeled,
    'pred_probs': pred_probs,
    'pred_probs_unlabeled': pred_probs_unlabeled,
    'extra_labels_single': extra_labels_single,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
setup_next_iter_data Not yet run
unverified (harvested, no recorded run)
cleanlab/multiannotator-benchmarks/active_learning_benchmarks/extra-benchmarks/single-vs-multiannotator/utils/active_learning.py
code served (permissive licence) · get_code("dff282e739a467b7")
How it ran

no invocation recorded.

sum_xval_folds Not yet run
unverified (harvested, no recorded run)
cleanlab/multiannotator-benchmarks/active_learning_benchmarks/cifar-10h/utils/model_training.py
code served (permissive licence) · get_code("40573427c196c6d0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
add_new_annotator 1 other paper
1 dated earlier
1911.00068 (2019-11)
Confident Learning: Estimating Uncertainty in Dataset Labels
setup_next_iter_data 1 other paper
1 dated earlier
1911.00068 (2019-11)
Confident Learning: Estimating Uncertainty in Dataset Labels
sum_xval_folds 1 other paper
1 dated earlier
1911.00068 (2019-11)
Confident Learning: Estimating Uncertainty in Dataset Labels

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Real-world data for classification is often labeled by multiple annotators. For analyzing such data, we introduce CROWDLAB, a straightforward approach to utilize any trained classifier to estimate: (1) A consensus label for each example that aggregates the available annotations; (2) A confidence score for how likely each consensus label is correct; (3) A rating for each annotator quantifying the overall correctness of their labels. Existing algorithms to estimate related quantities in crowdsourcing often rely on sophisticated generative models with iterative inference. CROWDLAB instead uses a straightforward weighted ensemble. Existing algorithms often rely solely on annotator statistics, ignoring the features of the examples from which the annotations derive. CROWDLAB utilizes any classifier model trained on these features, and can thus better generalize between examples with similar features. On real-world multi-annotator image data, our proposed method provides superior estimates for (1)-(3) than existing algorithms like Dawid-Skene/GLAD.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2210.06812")
get_code_for_paper("2210.06812")
have("2210.06812")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2210.06812.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2210.06812.svg)](https://syntology.ai/paper/2210.06812)

Connect an agent — have() is free.