Yingyan Lin, Yonggan Fu, Shang Wu, Shunyao Zhang, Wan Cheng
13 of 15 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, 0 violated it and 2 have no contract verdict; 10 failures of our instrument; 2 no recorded run); 2 of them were also run on the host, not in the jail, by the peer-agreement lane that set their level, 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/2203.08392.json · badge: /api/ran/2203.08392.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 |
|---|---|---|
| RICE-EIC/Patch-Fool | canonical (classifier label) classifier basis not recorded on the link |
13 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| np2th | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
RICE-EIC/Patch-Fool/models/modeling.py code served (permissive licence) · get_code("7d8eaf5537f699e4") How it ranRan in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (5, 4, 2, 3) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-05T00:36:31Z). 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.
|
| swish | Ran ran; our contract draft was wrong, not the code |
RICE-EIC/Patch-Fool/models/modeling.py code served (permissive licence) · get_code("0f786c407fb1ee4c") How it ranRan in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T22:33:52Z). 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.
|
| PCGrad | Ran ran on a synthesized input |
RICE-EIC/Patch-Fool/utils.py code served (permissive licence) · get_code("832b608dd0de04f2") 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 Tensor, ndim 3, dtype family float, shape (2, 4, 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.
|
| conv1x1 | Ran ran; our contract draft was wrong, not the code |
RICE-EIC/Patch-Fool/models/resnet.py pointer only (licence: MIT); the stored copy get_code serves, from medaitech/scrd4ad, is pointer only (licence: NONE) · get_code("2a80220dabcb742a") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from medaitech/scrd4ad, and GitHub detected no licence in that repository 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. |
| conv1x1 | Ran ran; our contract draft was wrong, not the code |
RICE-EIC/Patch-Fool/models/modeling_resnet.py pointer only (licence: MIT); the stored copy get_code serves, from maloadba/mgenseg_2d, is pointer only (licence: NONE) · get_code("b0f916df39e78ae5") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from maloadba/mgenseg_2d, and GitHub detected no licence in that repository 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 |
RICE-EIC/Patch-Fool/models/resnet.py pointer only (licence: MIT); the stored copy get_code serves, from medaitech/scrd4ad, is pointer only (licence: NONE) · get_code("600ff2c45e0de056") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from medaitech/scrd4ad, and GitHub detected no licence in that repository 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 |
RICE-EIC/Patch-Fool/models/modeling_resnet.py pointer only (licence: MIT); the stored copy get_code serves, from maloadba/mgenseg_2d, is pointer only (licence: NONE) · get_code("4e5bf13dbdc4f008") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from maloadba/mgenseg_2d, and GitHub detected no licence in that repository 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. |
| drop_block_2d | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
RICE-EIC/Patch-Fool/models/drop.py pointer only (licence: MIT); the stored copy get_code serves, from vankouf/rfenet, is pointer only (licence: NONE) · get_code("33efc9f1ccc7933c") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vankouf/rfenet, and GitHub detected no licence in that repository 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. |
| drop_block_fast_2d | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
RICE-EIC/Patch-Fool/models/drop.py pointer only (licence: MIT); the stored copy get_code serves, from vankouf/rfenet, is pointer only (licence: NONE) · get_code("30d63ccefb97a166") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vankouf/rfenet, and GitHub detected no licence in that repository 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. |
| drop_path | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
RICE-EIC/Patch-Fool/models/drop.py pointer only (licence: MIT); the stored copy get_code serves, from fudan-zvg/SeaFormer, is pointer only (licence: NONE) · get_code("3ac6b7d76e8e3584") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from fudan-zvg/SeaFormer, and GitHub detected no licence in that repository 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_loaders | Ran ran on a synthesized input |
RICE-EIC/Patch-Fool/utils.py code served (permissive licence) · get_code("94ca6bbcc2bbe97e") 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 DataLoader. 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.
|
| make_divisible | Ran ran, honoured the contract we drafted |
RICE-EIC/Patch-Fool/models/patch_embed.py pointer only (licence: MIT); the stored copy get_code serves, from facebookresearch/depthshrinker, is pointer only (licence: NOASSERTION) · get_code("24400bc088ed228d") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from facebookresearch/depthshrinker, and GitHub could not classify the licence of that repository (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. |
| trunc_normal_ | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
RICE-EIC/Patch-Fool/models/vision_transformer.py code served (permissive licence) · get_code("02566da69866c48c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 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.
|
| ResNet50 | Not yet run unverified (harvested, no recorded run) |
RICE-EIC/Patch-Fool/models/resnet.py code served (permissive licence) · get_code("09aedb7b277ec32d") How it ranno invocation recorded. |
| clamp | Not yet run unverified (harvested, no recorded run) |
RICE-EIC/Patch-Fool/utils.py code served (permissive licence) · get_code("8a93e041134b597a") How it ranno invocation recorded. |
Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 13 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 11 the same month, 13 later) and 2 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 |
|---|---|---|---|
| drop_path | 224 other papers 26 dated earlier, 7 the same month, 188 later, 2 same year, order not determinable, 1 undated · 38 only as an assembly brick |
2003.12039 (2020-03) RAFT: Recurrent All-Pairs Field Transforms for Optical Flow |
2007.09384 (2020-07) Multi-Scale Positive Sample Refinement for Few-Shot Object Detection 2010.11929 (2020-10) An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale and 221 more not named here |
| swish | 206 other papers 95 dated earlier, 9 the same month, 98 later, 4 same year, order not determinable · 44 only as an assembly brick |
1408.5882 (2014-08) Convolutional Neural Networks for Sentence Classification |
1805.12114 (2018-05) Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models 1809.01357 (2018-09) Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference and 203 more not named here |
| trunc_normal_ | 160 other papers 21 dated earlier, 5 the same month, 133 later, 1 same year, order not determinable · 36 only as an assembly brick |
1911.10194 (2019-11) Panoptic-DeepLab: A Simple, Strong, and Fast Baseline for Bottom-Up Panoptic Segmentation |
2005.10242 (2020-05) Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 2007.12911 (2020-07) Tighter risk certificates for neural networks and 157 more not named here |
| conv1x1 | 112 other papers 20 dated earlier, 3 the same month, 88 later, 1 same year, order not determinable · 6 only as an assembly brick |
1512.03385 (2015-12) Deep Residual Learning for Image Recognition |
1806.01531 (2018-06) Deep Mixture of Experts via Shallow Embedding 1905.12794 (2019-05) Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback and 109 more not named here |
| conv3x3 | 111 other papers 18 dated earlier, 2 the same month, 90 later, 1 same year, order not determinable · 6 only as an assembly brick |
1512.03385 (2015-12) Deep Residual Learning for Image Recognition |
1806.01531 (2018-06) Deep Mixture of Experts via Shallow Embedding 1905.12794 (2019-05) Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback and 108 more not named here |
| np2th | 35 other papers 13 dated earlier, 3 the same month, 19 later · 5 only as an assembly brick |
2010.11929 (2020-10) An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale |
2102.04306 (2021-02) TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation 2103.07976 (2021-03) TransFG: A Transformer Architecture for Fine-grained Recognition and 32 more not named here |
| clamp | 33 other papers 11 dated earlier, 22 later · 1 only as an assembly brick |
1706.06083 (2017-06) Towards Deep Learning Models Resistant to Adversarial Attacks |
2001.03994 (2020-01) Fast is better than free: Revisiting adversarial training 2002.11569 (2020-02) Overfitting in adversarially robust deep learning and 30 more not named here |
| conv1x1 | 33 other papers 11 dated earlier, 2 the same month, 20 later · 3 only as an assembly brick |
1912.11370 (2019-12) Big Transfer (BiT): General Visual Representation Learning |
2010.11929 (2020-10) An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 2102.04306 (2021-02) TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation and 30 more not named here |
| conv3x3 | 33 other papers 11 dated earlier, 2 the same month, 20 later · 3 only as an assembly brick |
1912.11370 (2019-12) Big Transfer (BiT): General Visual Representation Learning |
2010.11929 (2020-10) An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 2102.04306 (2021-02) TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation and 30 more not named here |
| drop_block_2d | 12 other papers 4 dated earlier, 1 the same month, 7 later |
2106.00666 (2021-06) You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection |
2107.00644 (2021-07) Stabilizing Deep Q-Learning with ConvNets and Vision Transformers under Data Augmentation 2108.05045 (2021-08) Semi-Supervised Domain Generalizable Person Re-Identification and 9 more not named here |
| drop_block_fast_2d | 11 other papers 4 dated earlier, 1 the same month, 6 later |
2106.00666 (2021-06) You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection |
2107.00644 (2021-07) Stabilizing Deep Q-Learning with ConvNets and Vision Transformers under Data Augmentation 2108.05045 (2021-08) Semi-Supervised Domain Generalizable Person Re-Identification and 8 more not named here |
| make_divisible | 9 other papers 1 dated earlier, 1 the same month, 7 later |
2105.01601 (2021-05) MLP-Mixer: An all-MLP Architecture for Vision |
2203.14509 (2022-03) Automated Progressive Learning for Efficient Training of Vision Transformers 2206.00843 (2022-06) DepthShrinker: A New Compression Paradigm Towards Boosting Real-Hardware Efficiency of Compact Neural Networks and 6 more not named here |
| PCGrad | 1 other paper 1 later |
2303.09079 (2023-03) SSL-Cleanse: Trojan Detection and Mitigation in Self-Supervised 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.
Vision transformers (ViTs) have recently set off a new wave in neural architecture design thanks to their record-breaking performance in various vision tasks. In parallel, to fulfill the goal of deploying ViTs into real-world vision applications, their robustness against potential malicious attacks has gained increasing attention. In particular, recent works show that ViTs are more robust against adversarial attacks as compared with convolutional neural networks (CNNs), and conjecture that this is because ViTs focus more on capturing global interactions among different input/feature patches, leading to their improved robustness to local perturbations imposed by adversarial attacks. In this work, we ask an intriguing question: "Under what kinds of perturbations do ViTs become more vulnerable learners compared to CNNs?" Driven by this question, we first conduct a comprehensive experiment regarding the robustness of both ViTs and CNNs under various existing adversarial attacks to understand the underlying reason favoring their robustness. Based on the drawn insights, we then propose a dedicated attack framework, dubbed Patch-Fool, that fools the self-attention mechanism by attacking its basic component (i.e., a single patch) with a series of attention-aware optimization techniques. Interestingly, our Patch-Fool framework shows for the first time that ViTs are not necessarily more robust than CNNs against adversarial perturbations. In particular, we find that ViTs are more vulnerable learners compared with CNNs against our Patch-Fool attack which is consistent across extensive experiments, and the observations from Sparse/Mild Patch-Fool, two variants of Patch-Fool, indicate an intriguing insight that the perturbation density and strength on each patch seem to be the key factors that influence the robustness ranking between ViTs and CNNs. It can be expected that our Patch-Fool framework will shed light on both future architecture designs and training schemes for robustifying ViTs towards their real-world deployment. Our codes are available at https://github.com/RICE-EIC/Patch-Fool.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2203.08392")
get_code_for_paper("2203.08392")
have("2203.08392")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2203.08392.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2203.08392)
Connect an agent — have() is free.