6 of 7 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 4 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2408.01978.json · badge: /api/ran/2408.01978.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 |
|---|---|---|
| xinwong/advqdet | canonical (classifier label) classifier basis: census |
6 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| conv1x1 | Ran ran; our contract draft was wrong, not the code |
xinwong/advqdet/acpt/resnet.py pointer only (licence: NONE) · get_code("d9def42110729a85") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, xinwong/advqdet 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. |
| conv3x3 | Ran ran; our contract draft was wrong, not the code |
xinwong/advqdet/acpt/resnet.py pointer only (licence: NONE) · get_code("160bb14bd76201b4") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, xinwong/advqdet 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. |
| get_correctly_classified_images | Ran ran; our contract draft was wrong, not the code |
xinwong/advqdet/select_img.py pointer only (licence: NONE) · get_code("9e1ec9f6aaa45867") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, xinwong/advqdet 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. |
| lambda_hack | Ran ran, honoured the contract we drafted |
xinwong/advqdet/models/resnet.py pointer only (licence: NONE) · get_code("2cb0c21874580d92") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, xinwong/advqdet 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. |
| normalize_fn | Ran ran, violated the contract we drafted |
xinwong/advqdet/acpt/utils.py pointer only (licence: NONE) · get_code("8bc8b691d2e94f84") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, xinwong/advqdet 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. |
| resnet20 | Ran ran; our contract draft was wrong, not the code |
xinwong/advqdet/models/resnet.py pointer only (licence: NONE) · get_code("8cdd577ff58690f6") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, xinwong/advqdet 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. |
| get_10_correctly_classified_images | Not yet run unverified (harvested, no recorded run) |
xinwong/advqdet/select_img.py pointer only (licence: NONE) · get_code("135e998f8e8e4e89") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, xinwong/advqdet 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. No invocation recorded. |
Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 2 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| conv1x1 | 431 other papers 375 dated earlier, 5 the same month, 40 later, 10 same year, order not determinable, 1 undated · 38 only as an assembly brick |
1409.1556 (2014-09) Very Deep Convolutional Networks for Large-Scale Image Recognition |
1506.01186 (2015-06) Cyclical Learning Rates for Training Neural Networks 1507.05717 (2015-07) An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition and 428 more not named here |
| conv3x3 | 312 other papers 266 dated earlier, 4 the same month, 31 later, 10 same year, order not determinable, 1 undated · 31 only as an assembly brick |
1409.1556 (2014-09) Very Deep Convolutional Networks for Large-Scale Image Recognition |
1507.05717 (2015-07) An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition 1512.03385 (2015-12) Deep Residual Learning for Image Recognition and 309 more not named here |
| normalize_fn | 7 other papers 7 dated earlier |
1910.00033 (2019-10) Hidden Trigger Backdoor Attacks |
2007.09271 (2020-07) OnlineAugment: Online Data Augmentation with Less Domain Knowledge 2010.09080 (2020-10) Poisoned classifiers are not only backdoored, they are fundamentally broken and 4 more not named here |
| resnet20 | 2 other papers 2 dated earlier |
2103.15798 (2021-03) Rethinking Neural Operations for Diverse Tasks |
2206.08464 (2022-06) PRANC: Pseudo RAndom Networks for Compacting deep models |
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.
Deep neural networks (DNNs) are known to be vulnerable to adversarial attacks even under a black-box setting where the adversary can only query the model. Particularly, query-based black-box adversarial attacks estimate adversarial gradients based on the returned probability vectors of the target model for a sequence of queries. During this process, the queries made to the target model are intermediate adversarial examples crafted at the previous attack step, which share high similarities in the pixel space. Motivated by this observation, stateful detection methods have been proposed to detect and reject query-based attacks. While demonstrating promising results, these methods either have been evaded by more advanced attacks or suffer from low efficiency in terms of the number of shots (queries) required to detect different attacks. Arguably, the key challenge here is to assign high similarity scores for any two intermediate adversarial examples perturbed from the same clean image. To address this challenge, we propose a novel Adversarial Contrastive Prompt Tuning (ACPT) method to robustly fine-tune the CLIP image encoder to extract similar embeddings for any two intermediate adversarial queries. With ACPT, we further introduce a detection framework AdvQDet that can detect 7 state-of-the-art query-based attacks with $>99\%$ detection rate within 5 shots. We also show that ACPT is robust to 3 types of adaptive attacks. Code is available at https://github.com/xinwong/AdvQDet.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2408.01978")
get_code_for_paper("2408.01978")
have("2408.01978")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2408.01978.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2408.01978)
Connect an agent — have() is free.