SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.10045 · 2026

Finding the Signal in the Spam: Jointly Learning Rewards and Worker Reliability from Pairwise Comparisons

Avishek Ghosh, Arpit Agarwal, Kaustubh Shivshankar Shejole, Tanish Agarwal

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 2 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2608.10045.json · badge: /api/ran/2608.10045.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
lucasmaystre/choix canonical (classifier label)
classifier basis: census
3 ran · 1 no recorded run
Toloka/crowd-kit community
Papers with Code archive
3 ran · 1 no recorded run
KaustubhShejole/BoRa_EM community
Papers with Code archive
1 ran · 0 no recorded run
Ambress92/Bias-Aware-Ranker-from-Pairwise-comparisons community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
NoisyBradleyTerry Ran
ran on a synthesized input · constructed an object; no result was computed
Toloka/crowd-kit/crowdkit/aggregation/pairwise/noisy_bt.py
pointer only (licence: NOASSERTION) · get_code("e5fdbac7f5e08264")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Toloka/crowd-kit (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PolyaGamma_EM Ran
ran on a synthesized input · constructed an object; no result was computed
KaustubhShejole/BoRa_EM/pgem_initialize_beta_1.py
code served (permissive licence) · get_code("7132c5b32f06f529")
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 an instance of its own class, PolyaGamma_EM: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch
import numpy as np

torch.manual_seed(0)
np.random.seed(0)

ARGS = {
    'num_items': 4,
    'num_workers': 3,
    'max_iter': 500,
    'epsilon': 1e-06,
    'device': 'cpu',
    'random_seed': 45,
    'verbose': True,
    'init_beta': 0.8,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PolyaGamma_EM — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PolyaGamma_EM output the recorded ndim 0 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
_alternate_optim Ran
ran; our contract draft was wrong, not the code
Ambress92/Bias-Aware-Ranker-from-Pairwise-comparisons/src/opt_fair.py
pointer only (licence: NONE) · get_code("20ff2745f5e1341e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ambress92/Bias-Aware-Ranker-from-Pairwise-comparisons when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exp_transform Ran
ran, violated the contract we drafted
lucasmaystre/choix/choix/utils.py
code served (permissive licence) · get_code("d1929afdad213f64")
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 float, 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

# The function exp_transform takes params as ArrayLike input
# It converts to numpy array, computes exponential transform, and returns normalized weights
# We need to provide a valid ArrayLike parameter

# Create a small array of parameters
params = np.array([1.0, 2.0, 3.0, 4.0])

ARGS = {
    "params": params
}
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 ndarray, ndim 1, dtype family float, 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
factorize Ran
ran; our contract draft was wrong, not the code
Toloka/crowd-kit/crowdkit/aggregation/pairwise/noisy_bt.py
pointer only (licence: NOASSERTION) · get_code("5fe2a1f3d39dfda4")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Toloka/crowd-kit (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

log_transform Ran
ran, violated the contract we drafted
lucasmaystre/choix/choix/utils.py
code served (permissive licence) · get_code("377421ed6ea117a3")
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 float, shape (5,) 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

# The function takes weights as ArrayLike and performs log transform
# We need to provide positive values since we're taking log
weights = np.array([1.0, 2.0, 3.0, 4.0, 5.0])

ARGS = {
    "weights": weights
}
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 ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) 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
named_series_attrib Ran
ran; our contract draft was wrong, not the code
Toloka/crowd-kit/crowdkit/aggregation/pairwise/noisy_bt.py
pointer only (licence: NOASSERTION) · get_code("57487c88f6a8df53")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Toloka/crowd-kit (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

softmax Ran
ran, honoured the contract we drafted
lucasmaystre/choix/choix/utils.py
code served (permissive licence) · get_code("5e48b122b98d031b")
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 2, dtype family float, shape (4, 2) 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

# Create a small 2D array for testing softmax
# Shape: (4, 2) - 4 features, 2 samples
xs = np.array([
    [1.0, 2.0],
    [2.0, 3.0],
    [3.0, 1.0],
    [0.5, 2.5]
], dtype=np.float64)

ARGS = {
    "xs": xs
}
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 ndarray, ndim 2, dtype family float, shape (4, 2) — shape (4, 2) 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
BasePairwiseAggregator Not yet run
unverified (harvested, no recorded run)
Toloka/crowd-kit/crowdkit/aggregation/pairwise/noisy_bt.py
pointer only (licence: NOASSERTION) · get_code("290d2338f670a5b3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Toloka/crowd-kit (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

lsr_pairwise_dense Not yet run
unverified (harvested, no recorded run)
lucasmaystre/choix/choix/lsr.py
code served (permissive licence) · get_code("a571bbbb82a6b97c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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
named_series_attrib
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2507.18890 (2025-07)
NUTMEG: Separating Signal From Noise in Annotator Disagreement

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

The problem of learning from pairwise comparisons has been widely studied across many domains such as recommendation systems, social choice, and more recently, fine-tuning large language models. In this problem, the goal is to learn item rewards based on pairwise comparisons between them. In many scenarios, these comparisons are elicited from crowdworkers using platforms such as Amazon Mechanical Turk, Scale AI, etc. However, crowdworkers are often unreliable due to limited domain knowledge or revenuemaximizing (spamming) behavior. In this work, our goal is to understand whether worker reliability (competency) can be learned jointly with item rewards. To this end, we adopt the Boltzmannrational model for pairwise comparisons, which extends the Bradley-Terry-Luce model by incorporating worker competencies. We derive an EMbased algorithm for learning under this model by introducing Polya-Gamma latent variables to transform the logistic likelihood into a conditionally Gaussian form, enabling tractable optimization and leading to a simplified Q function in the E-step of the algorithm. This technique allows us to reduce our formulation to a matrix sensing problem, using which we establish theoretical convergence guarantees for our algorithm. We conduct extensive experiments on real-world and synthetic datasets. These experiments demonstrate the advantages of using our algorithm over several baselines and confirm its strong robustness to both spammers and adversarial workers, highlighting its practical effectiveness in realistic crowdsourcing and reward learning settings. a a The code and data is publicly available at https: //github.com/KaustubhShejole/BoRa_EM.

For agents

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

get_harvested_code_for_paper("2608.10045")
get_code_for_paper("2608.10045")
have("2608.10045")

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

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

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

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

Connect an agent — have() is free.