Prateek Mittal, Sihui Dai, Saeed Mahloujifar
2 of 4 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 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/2204.13779.json · badge: /api/ran/2204.13779.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 |
|---|---|---|
| inspire-group/variation-regularization | canonical (classifier label) classifier basis: classifier_2025 |
2 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| ResNet18 | Ran ran; our contract draft was wrong, not the code |
inspire-group/variation-regularization/train/ResNet.py pointer only (licence: NONE) · get_code("be26cd273a9061a6") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, inspire-group/variation-regularization 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. |
| filter_state_dict | Ran ran; our contract draft was wrong, not the code |
inspire-group/variation-regularization/eval/eval_var.py pointer only (licence: NONE) · get_code("18b797b7c88af64d") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, inspire-group/variation-regularization 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 | Not yet run unverified (harvested, no recorded run) |
inspire-group/variation-regularization/train/ResNet.py pointer only (licence: NONE) · get_code("012c39548e5a5e70") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, inspire-group/variation-regularization 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. |
| conv3x3 | Not yet run unverified (harvested, no recorded run) |
inspire-group/variation-regularization/train/ResNet.py pointer only (licence: NONE) · get_code("9ec14cd0fc7f9260") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, inspire-group/variation-regularization 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 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 1 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 | 112 other papers 24 dated earlier, 87 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 21 dated earlier, 89 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 |
| filter_state_dict | 5 other papers 2 dated earlier, 3 later |
2103.14347 (2021-03) Combating Adversaries with Anti-Adversaries |
2107.14110 (2021-07) Enhancing Adversarial Robustness via Test-time Transformation Ensembling 2206.08675 (2022-06) Understanding Robust Overfitting of Adversarial Training and Beyond and 2 more not named here |
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.
Existing defenses against adversarial examples such as adversarial training typically assume that the adversary will conform to a specific or known threat model, such as p perturbations within a fixed budget. In this paper, we focus on the scenario where there is a mismatch in the threat model assumed by the defense during training, and the actual capabilities of the adversary at test time. We ask the question: if the learner trains against a specific "source" threat model, when can we expect robustness to generalize to a stronger unknown "target" threat model during test-time? Our key contribution is to formally define the problem of learning and generalization with an unforeseen adversary, which helps us reason about the increase in adversarial risk from the conventional perspective of a known adversary. Applying our framework, we derive a generalization bound which relates the generalization gap between source and target threat models to variation of the feature extractor, which measures the expected maximum difference between extracted features across a given threat model. Based on our generalization bound, we propose variation regularization (VR) which reduces variation of the feature extractor across the source threat model during training. We empirically demonstrate that using VR can lead to improved generalization to unforeseen attacks during test-time, and combining VR with perceptual adversarial training (Laidlaw et al., 2021) achieves state-of-the-art robustness on unforeseen attacks. Our code is publicly available at https://github.com/inspire-group/variation-regularization. 1. When can we expect robustness on the source threat model to generalize to the true unknown target threat model used by the adversary? 2. How can we design a learning algorithm that reduces the drop in robustness from source threat model to target threat model? 36th Conference on Neural Information Processing Systems (NeurIPS 2022).
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2204.13779")
get_code_for_paper("2204.13779")
have("2204.13779")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2204.13779.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2204.13779)
Connect an agent — have() is free.