18 of 22 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 16 failures of our instrument; 4 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2404.19287.json · badge: /api/ran/2404.19287.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 |
|---|---|---|
| ellezwq/mmcoa | canonical (classifier label) classifier basis: census |
18 ran · 4 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| whitespace_tokenize | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/models/tokenization_bert.py code served (permissive licence) · get_code("cf9ffa02a42184af") 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 list, ndim 1, dtype family float; no output shape is stated. 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-05T02:55:57Z). 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.
|
| accuracy | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ellezwq/mmcoa/utils.py code served (permissive licence) · get_code("b0f936d4d6ae3b8c") 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 list, 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.
|
| calculate_accuracy | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/MMCoA.py code served (permissive licence) · get_code("2e21f055fab549ee") 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 float, ndim 0, dtype family float, shape () 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.
|
| clamp_by_l2 | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ellezwq/mmcoa/attack/imageAttack.py pointer only (licence: MIT); the stored copy get_code serves, from adversarial-for-goodness/APF, is pointer only (licence: GPL-3.0) · get_code("1f2c3eac81b5d4f4") 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 adversarial-for-goodness/APF, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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. |
| compute_acc | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ellezwq/mmcoa/utils_2.py code served (permissive licence) · get_code("aa81d03f07735ab8") 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 float, ndim 0, dtype family float, shape () 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.
|
| compute_n_params | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/utils_2.py code served (permissive licence) · get_code("ad12a494674d23fb") 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.
|
| cosine_lr | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/utils.py pointer only (licence: MIT); the stored copy get_code serves, from VivienLu/UCAT, is pointer only (licence: NONE) · get_code("932d44bbf8bd0e3f") 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 VivienLu/UCAT, 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. |
| create_logits | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/models/model.py pointer only (licence: MIT); the stored copy get_code serves, from VivienLu/UCAT, is pointer only (licence: NONE) · get_code("cad29a7a417c68d3") 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 VivienLu/UCAT, 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. |
| equal_normalize | Ran ran, honoured the contract we drafted |
ellezwq/mmcoa/attack/multimodalAttack.py code served (permissive licence) · get_code("81b93fc3c40a9fa0") 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 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.
|
| fixed_patch | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/models/prompters.py code served (permissive licence) · get_code("263288717b164fe4") 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 FixedPatchPrompter. 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.
|
| get_key | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/utils_2.py code served (permissive licence) · get_code("d121638ef1dea109") 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 list, ndim 1, 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.
|
| get_substitues | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/attack/bert_attack.py code served (permissive licence) · get_code("340f1e13ccb625f4") 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 list, ndim 1, 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.
|
| gkern | Ran ran, honoured the contract we drafted |
ellezwq/mmcoa/attack/imageAttack.py pointer only (licence: MIT); the stored copy get_code serves, from adversarial-for-goodness/APF, is pointer only (licence: GPL-3.0) · get_code("5e1f60c820f3f710") 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 adversarial-for-goodness/APF, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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. |
| load_vocab | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/models/tokenization_bert.py code served (permissive licence) · get_code("e7fbc7a74a3457c7") 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 OrderedDict. 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.
|
| padding | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/models/prompters.py code served (permissive licence) · get_code("ed6b8fbf59cfc213") 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 PadPrompter. 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.
|
| random_init | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/attack/imageAttack.py code served (permissive licence) · get_code("45669d4d47a3a910") 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 4, dtype family float, shape (2, 3, 4, 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.
|
| random_patch | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/models/prompters.py code served (permissive licence) · get_code("d22c609a1ecad7e5") 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 RandomPatchPrompter. 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.
|
| refine_classname | Ran ran; our contract draft was wrong, not the code |
ellezwq/mmcoa/utils.py pointer only (licence: MIT); the stored copy get_code serves, from VivienLu/UCAT, is pointer only (licence: NONE) · get_code("60ab7dcbb5498f88") 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 VivienLu/UCAT, 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. |
| attack_pgd | Not yet run unverified (harvested, no recorded run) |
ellezwq/mmcoa/attacks.py code served (permissive licence) · get_code("7c90002916e1665a") How it ranno invocation recorded. |
| clamp | Not yet run unverified (harvested, no recorded run) |
ellezwq/mmcoa/attacks.py code served (permissive licence) · get_code("8a93e041134b597a") How it ranno invocation recorded. |
| get_bpe_substitues | Not yet run unverified (harvested, no recorded run) |
ellezwq/mmcoa/attack/bert_attack.py code served (permissive licence) · get_code("0b855e55aafa281e") How it ranno invocation recorded. |
| load | Not yet run unverified (harvested, no recorded run) |
ellezwq/mmcoa/replace/clip.py code served (permissive licence) · get_code("9e585a3531b71996") How it ranno invocation recorded. |
Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 17 are also present in other papers whose code we hold (17 with at least one paper dated earlier, 3 the same month, 14 later) and 5 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 |
|---|---|---|---|
| accuracy | 116 other papers 99 dated earlier, 1 the same month, 15 later, 1 same year, order not determinable · 8 only as an assembly brick |
1502.03044 (2015-02) Show, Attend and Tell: Neural Image Caption Generation with Visual Attention |
1610.05820 (2016-10) Membership Inference Attacks Against Machine Learning Models 1905.03696 (2019-05) HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precision and 113 more not named here |
| whitespace_tokenize | 43 other papers 35 dated earlier, 7 later, 1 same year, order not determinable |
1408.5882 (2014-08) Convolutional Neural Networks for Sentence Classification |
1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding 1906.01698 (2019-06) Open Sesame: Getting Inside BERT's Linguistic Knowledge and 40 more not named here |
| clamp | 33 other papers 28 dated earlier, 5 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 |
| compute_n_params | 29 other papers 21 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable |
2111.09452 (2021-11) Open Vocabulary Object Detection with Pseudo Bounding-Box Labels |
2211.09790 (2022-11) ConStruct-VL: Data-Free Continual Structured VL Concepts Learning 2211.13594 (2022-11) Self-supervised vision-language pretraining for Medical visual question answering and 26 more not named here |
| load_vocab | 29 other papers 23 dated earlier, 6 later |
1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding |
1909.11942 (2019-09) ALBERT: A Lite BERT for Self-supervised Learning of Language Representations 2004.09297 (2020-04) MPNet: Masked and Permuted Pre-training for Language Understanding and 26 more not named here |
| compute_acc | 28 other papers 21 dated earlier, 1 the same month, 5 later, 1 same year, order not determinable |
2111.09452 (2021-11) Open Vocabulary Object Detection with Pseudo Bounding-Box Labels |
2211.09790 (2022-11) ConStruct-VL: Data-Free Continual Structured VL Concepts Learning 2211.13594 (2022-11) Self-supervised vision-language pretraining for Medical visual question answering and 25 more not named here |
| cosine_lr | 12 other papers 5 dated earlier, 7 later |
2203.17274 (2022-03) Exploring Visual Prompts for Adapting Large-Scale Models |
2209.00179 (2022-09) Universal Vision-Language Dense Retrieval: Learning A Unified Representation Space for Multi-Modal Retrieval 2302.14042 (2023-02) Knowledge-enhanced Visual-Language Pre-training on Chest Radiology Images and 9 more not named here |
| fixed_patch | 7 other papers 4 dated earlier, 3 later |
2203.17274 (2022-03) Exploring Visual Prompts for Adapting Large-Scale Models |
2303.08138 (2023-03) Diversity-Aware Meta Visual Prompting 2312.08010 (2023-12) EZ-CLIP: Efficient Zeroshot Video Action Recognition and 4 more not named here |
| padding | 7 other papers 4 dated earlier, 3 later |
2203.17274 (2022-03) Exploring Visual Prompts for Adapting Large-Scale Models |
2303.08138 (2023-03) Diversity-Aware Meta Visual Prompting 2312.08010 (2023-12) EZ-CLIP: Efficient Zeroshot Video Action Recognition and 4 more not named here |
| create_logits | 6 other papers 3 dated earlier, 3 later |
2208.05318 (2022-08) Generative Action Description Prompts for Skeleton-based Action Recognition |
2312.03288 (2023-12) STEP CATFormer: Spatial-Temporal Effective Body-Part Cross Attention Transformer for Skeleton-based Action Recognition 2401.04350 (2024-01) Pre-trained Model Guided Fine-Tuning for Zero-Shot Adversarial Robustness and 3 more not named here |
| random_patch | 6 other papers 4 dated earlier, 2 later |
2203.17274 (2022-03) Exploring Visual Prompts for Adapting Large-Scale Models |
2303.08138 (2023-03) Diversity-Aware Meta Visual Prompting 2312.08010 (2023-12) EZ-CLIP: Efficient Zeroshot Video Action Recognition and 3 more not named here |
| get_substitues | 3 other papers 2 dated earlier, 1 later |
1811.01727 (2018-11) AttentionXML: Label Tree-based Attention-Aware Deep Model for High-Performance Extreme Multi-Label Text Classification |
2307.14061 (2023-07) Set-level Guidance Attack: Boosting Adversarial Transferability of Vision-Language Pre-training Models 2411.02669 (2024-11) Semantic-Aligned Adversarial Evolution Triangle for High-Transferability Vision-Language Attack |
| get_bpe_substitues | 2 other papers 1 dated earlier, 1 later |
2307.14061 (2023-07) Set-level Guidance Attack: Boosting Adversarial Transferability of Vision-Language Pre-training Models |
2411.02669 (2024-11) Semantic-Aligned Adversarial Evolution Triangle for High-Transferability Vision-Language Attack |
| refine_classname | 2 other papers 1 dated earlier, 1 later |
2401.04350 (2024-01) Pre-trained Model Guided Fine-Tuning for Zero-Shot Adversarial Robustness |
2512.12997 (2025-12) Calibrating Uncertainty for Zero-Shot Adversarial CLIP |
| clamp_by_l2 | 1 other paper 1 dated earlier |
2007.12861 (2020-07) Adversarial Privacy-preserving Filter |
|
| gkern | 1 other paper 1 dated earlier |
2007.12861 (2020-07) Adversarial Privacy-preserving Filter |
|
| load | 1 other paper 1 dated earlier |
2401.04350 (2024-01) Pre-trained Model Guided Fine-Tuning for Zero-Shot Adversarial Robustness |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Pretrained vision-language models (VLMs) like CLIP exhibit exceptional generalization across diverse downstream tasks. While recent studies reveal their vulnerability to adversarial attacks, research to date has primarily focused on enhancing the robustness of image encoders against image-based attacks, with defenses against text-based and multimodal attacks remaining largely unexplored. To this end, this work presents the first comprehensive study on improving the adversarial robustness of VLMs against attacks targeting image, text, and multimodal inputs. This is achieved by proposing multimodal contrastive adversarial training (MMCoA). Such an approach strengthens the robustness of both image and text encoders by aligning the clean text embeddings with adversarial image embeddings, and adversarial text embeddings with clean image embeddings. The robustness of the proposed MMCoA is examined against existing defense methods over image, text, and multimodal attacks on the CLIP model. Extensive experiments on 15 datasets across two tasks reveal the characteristics of different adversarial defense methods under distinct distribution shifts and dataset complexities across the three attack types. This paves the way for a unified framework of adversarial robustness against different modality attacks, opening up new possibilities for securing VLMs against multimodal attacks. The code is available at https://github.com/ElleZWQ/MMCoA.git.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2404.19287")
get_code_for_paper("2404.19287")
have("2404.19287")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2404.19287.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2404.19287)
Connect an agent — have() is free.