Hao He, Dina Katabi, Kaiwen Zha
13 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 4 failures of our instrument; 5 no recorded run), measured 2026-11-22; 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/2202.11202.json · badge: /api/ran/2202.11202.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.
| Repository | Role | Ran |
|---|---|---|
| kaiwenzha/contrastive-poisoning | canonical (classifier label) classifier basis: classifier_2025 |
13 ran · 5 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| BYOL | Ran ran on a synthesized input · constructed an object; no result was computed |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("f5329be21bc798d0") How it ranRan 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, BYOL: the run constructed the object and did not call it, so no result was computed. 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.
|
| BasicBlock | Ran ran on a synthesized input · constructed an object; no result was computed |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("e93841d2aa94ddad") How it ranRan 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, BasicBlock: the run constructed the object and did not call it, so no result was computed. 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.
|
| Bottleneck | Ran ran on a synthesized input · constructed an object; no result was computed |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("613844ebc89b237b") How it ranRan 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, Bottleneck: the run constructed the object and did not call it, so no result was computed. 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.
|
| ResNet | Ran ran on a synthesized input |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("396b12c0d690c96b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| ResNetNoHead | Ran ran on a synthesized input · constructed an object; no result was computed |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("bb2b7357a288f84c") How it ranRan 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, ResNetNoHead: the run constructed the object and did not call it, so no result was computed. 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.
|
| ResNetWithHead | Ran ran on a synthesized input · constructed an object; no result was computed |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("2e47d5200e06bb5d") How it ranRan 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, ResNetWithHead: the run constructed the object and did not call it, so no result was computed. 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.
|
| TextFormat | Ran ran on a synthesized input |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("dd9595263567cf07") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned str. 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.
|
| _get_byol_mlp | Ran ran; our contract draft was wrong, not the code |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("fc4d4f310d9bfc0e") How it ranRan 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 Sequential. 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.
|
| log | Ran ran; our contract draft was wrong, not the code |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("0f408c13a7b48d93") How it ranRan 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 str. 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.
|
| resnet101 | Ran ran on a synthesized input |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("188a542bb3d0c413") How it ranRan 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 ResNet. 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.
|
| resnet18 | Ran ran; our contract draft was wrong, not the code |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("907fb9d80310a75f") How it ranRan 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 ResNet. 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.
|
| resnet34 | Ran ran; our contract draft was wrong, not the code |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("b5e082eee874ab6a") How it ranRan 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 ResNet. 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.
|
| resnet50 | Ran ran on a synthesized input |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("bc02a35848587cf8") How it ranRan 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 ResNet. 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.
|
| AttackModel | Not yet run unverified (harvested, no recorded run) |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("3e90e9281a3090fb") How it ranno invocation recorded. |
| MoCo | Not yet run unverified (harvested, no recorded run) |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("3806b767e591b869") How it ranno invocation recorded. |
| _MomentumEncoderMixin | Not yet run unverified (harvested, no recorded run) |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("de6d1a439b0eb3ae") How it ranno invocation recorded. |
| _deactivate_requires_grad | Not yet run unverified (harvested, no recorded run) |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("d2c729d46218e6c7") How it ranno invocation recorded. |
| _do_momentum_update | Not yet run unverified (harvested, no recorded run) |
kaiwenzha/contrastive-poisoning/model.py code served (permissive licence) · get_code("9ff781762297580d") How it ranno invocation recorded. |
Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 4 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 4 later) and 14 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| resnet101 brick of this paper's assembly: helper |
1 other paper 1 later |
2210.09879 (2022-10) Unsupervised visualization of image datasets using contrastive learning |
|
| resnet18 brick of this paper's assembly: helper |
1 other paper 1 later |
2210.09879 (2022-10) Unsupervised visualization of image datasets using contrastive learning |
|
| resnet34 brick of this paper's assembly: helper |
1 other paper 1 later |
2210.09879 (2022-10) Unsupervised visualization of image datasets using contrastive learning |
|
| resnet50 brick of this paper's assembly: helper |
1 other paper 1 later |
2210.09879 (2022-10) Unsupervised visualization of image datasets using contrastive learning |
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-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Indiscriminate data poisoning attacks are quite effective against supervised learning. However, not much is known about their impact on unsupervised contrastive learning (CL). This paper is the first to consider indiscriminate poisoning attacks of contrastive learning. We propose Contrastive Poisoning (CP), the first effective such attack on CL. We empirically show that Contrastive Poisoning, not only drastically reduces the performance of CL algorithms, but also attacks supervised learning models, making it the most generalizable indiscriminate poisoning attack. We also show that CL algorithms with a momentum encoder are more robust to indiscriminate poisoning, and propose a new countermeasure based on matrix completion. Code is available at: https://github.com/kaiwenzha/contrastive-poisoning.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2202.11202")
get_code_for_paper("2202.11202")
have("2202.11202")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2202.11202.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2202.11202)
Connect an agent — have() is free.