Iacopo Masi, Mujtaba Hussain Mirza, Maria Briglia, Senad Beadini
7 of 10 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; 7 failures of our instrument; 3 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/2407.06315.json · badge: /api/ran/2407.06315.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 |
|---|---|---|
| omnai-lab/robust-classifiers-under-the-lens-of-ebm | canonical (classifier label) classifier basis: census |
4 ran · 3 no recorded run |
| OmnAI-Lab/Robust-Classifiers-under-the-lens-of-EBM | community Papers with Code archive |
3 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| WEAT_adv | Ran ran; our contract draft was wrong, not the code |
OmnAI-Lab/Robust-Classifiers-under-the-lens-of-EBM/Adversarial ML/WEAT_loss.py code served (permissive licence) · get_code("fb79541499d1aa7e") 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 0, dtype family float; no output shape is stated. 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 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.
|
| call_bn | Ran ran; our contract draft was wrong, not the code |
omnai-lab/robust-classifiers-under-the-lens-of-ebm/image_generation/norms.py code served (permissive licence) · get_code("112fb9db5c4e35cc") 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.
|
| compute_weights | Ran ran; our contract draft was wrong, not the code |
OmnAI-Lab/Robust-Classifiers-under-the-lens-of-EBM/Adversarial ML/WEAT_loss.py code served (permissive licence) · get_code("f2e90ad69c40bd2a") 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.
|
| energy_x | Ran ran; our contract draft was wrong, not the code |
OmnAI-Lab/Robust-Classifiers-under-the-lens-of-EBM/Adversarial ML/WEAT_loss.py code served (permissive licence) · get_code("3b02bed9d1de1c13") 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 1, dtype family float, shape (2,) 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.
|
| get_norm | Ran ran; our contract draft was wrong, not the code |
omnai-lab/robust-classifiers-under-the-lens-of-ebm/image_generation/norms.py code served (permissive licence) · get_code("5c287586436a7685") 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 BatchNorm2d. 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.
|
| load_tiny_imagenet | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
omnai-lab/robust-classifiers-under-the-lens-of-ebm/Robustnes_test/dataset_loader.py code served (permissive licence) · get_code("68eabfc0ae125aee") 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 tuple. 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.
|
| ti_ResNet18 | Ran ran; our contract draft was wrong, not the code |
omnai-lab/robust-classifiers-under-the-lens-of-ebm/Robustnes_test/ti_resnet.py code served (permissive licence) · get_code("33f9787e2217480f") 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 ti_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.
|
| load_cifar10 | Not yet run unverified (harvested, no recorded run) |
omnai-lab/robust-classifiers-under-the-lens-of-ebm/image_generation/utils.py code served (permissive licence) · get_code("f4b0898be0b428b7") How it ranno invocation recorded. |
| load_cifar100 | Not yet run unverified (harvested, no recorded run) |
omnai-lab/robust-classifiers-under-the-lens-of-ebm/image_generation/utils.py code served (permissive licence) · get_code("681c8eb66d1b4ebc") How it ranno invocation recorded. |
| load_svhn | Not yet run unverified (harvested, no recorded run) |
omnai-lab/robust-classifiers-under-the-lens-of-ebm/Robustnes_test/dataset_loader.py code served (permissive licence) · get_code("d512774ae8b4915f") How it ranno invocation recorded. |
Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 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.
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.
By reinterpreting a robust discriminative classifier as Energybased Model (EBM), we offer a new take on the dynamics of adversarial training (AT). Our analysis of the energy landscape during AT reveals that untargeted attacks generate adversarial images much more indistribution (lower energy) than the original data from the point of view of the model. Conversely, we observe the opposite for targeted attacks. On the ground of our thorough analysis, we present new theoretical and practical results that show how interpreting AT energy dynamics unlocks a better understanding: (1) AT dynamic is governed by three phases and robust overfitting occurs in the third phase with a drastic divergence between natural and adversarial energies (2) by rewriting TRADES loss in terms of energies, we show that TRADES implicitly alleviates overfitting by means of aligning the natural energy with the adversarial one (3) we empirically show that all recent state-of-the-art robust classifiers are smoothing the energy landscape and we reconcile a variety of studies about understanding AT and weighting the loss function under the umbrella of EBMs. Motivated by rigorous evidence, we propose Weighted Energy Adversarial Training (WEAT), a novel sample weighting scheme that yields robust accuracy matching the state-of-the-art on multiple benchmarks such as CIFAR-10 and SVHN and going beyond in CIFAR-100 and Tiny-ImageNet. We further show that robust classifiers vary in the intensity and quality of their generative capabilities, and offer a simple method to push this capability, reaching a remarkable Inception Score (IS) and FID using a robust classifier without training for generative modeling. The code to reproduce our results is available at github.com/OmnAI-Lab/Robust-Classifiers-under-the-lens-of-EBM.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2407.06315")
get_code_for_paper("2407.06315")
have("2407.06315")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2407.06315.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2407.06315)
Connect an agent — have() is free.