SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.18495 · 2023

Improving Adversarial Transferability via Model Alignment

arXiv · PDF · Open in the Atlas

Code that ran

12 of 12 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 0 have no contract verdict; 11 failures of our instrument; 0 no recorded run), 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/2311.18495.json · badge: /api/ran/2311.18495.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.

RepositoryRoleRan
averyma/model-alignment canonical (classifier label)
classifier basis: census
12 ran · 0 no recorded run
FunctionStatusWhere it lives
PCC Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/distiller_zoo/EGA.py
pointer only (licence: NONE) · get_code("a222d47190117126")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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.

accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
averyma/model-alignment/src/evaluation.py
pointer only (licence: NONE) · get_code("b0f936d4d6ae3b8c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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.

ep2itr Ran
ran, honoured the contract we drafted
averyma/model-alignment/src/utils_general.py
pointer only (licence: NONE) · get_code("e14c62e34470b418")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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_base_model_dir Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/args.py
pointer only (licence: NONE) · get_code("8d778033bdd2e302")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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_default Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/args.py
pointer only (licence: NONE) · get_code("dfbe996ba309751d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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_model Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/utils_general.py
pointer only (licence: NONE) · get_code("a118d4233667f374")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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_module_training_state Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/context.py
pointer only (licence: NONE) · get_code("28413f6ed2f091a9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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_optim Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/utils_general.py
pointer only (licence: NONE) · get_code("246863313c06da67")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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_param_grad_state Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/context.py
pointer only (licence: NONE) · get_code("41eb44fa1a771cd1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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.

load_dataset Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/utils_dataset.py
pointer only (licence: NONE) · get_code("39318a0ff855bf35")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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.

load_imagenet_test_shuffle Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/utils_dataset.py
pointer only (licence: NONE) · get_code("54701c989733e2a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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.

return_qualified Ran
ran; our contract draft was wrong, not the code
averyma/model-alignment/src/evaluation.py
pointer only (licence: NONE) · get_code("d2695bf53a26d43b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, averyma/model-alignment 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.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 3 later) and 7 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.

FunctionAlso present inEarliest-datedOthers named
accuracy 116 other papers
88 dated earlier, 1 the same month, 25 later, 2 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
PCC 1 other paper
1 dated earlier
2211.13264 (2022-11)
Distilling Knowledge from Self-Supervised Teacher by Embedding Graph Alignment
get_default 1 other paper
1 dated earlier
2308.06703 (2023-08)
Understanding the robustness difference between stochastic gradient descent and adaptive gradient methods
get_module_training_state 1 other paper
1 later
2405.04346 (2024-05)
Revisiting Character-level Adversarial Attacks for Language Models
get_param_grad_state 1 other paper
1 later
2405.04346 (2024-05)
Revisiting Character-level Adversarial Attacks for Language 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-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Neural networks are susceptible to adversarial perturbations that are transferable across different models. In this paper, we introduce a novel model alignment technique aimed at improving a given source model's ability in generating transferable adversarial perturbations. During the alignment process, the parameters of the source model are fine-tuned to minimize an alignment loss. This loss measures the divergence in the predictions between the source model and another, independently trained model, referred to as the witness model. To understand the effect of model alignment, we conduct a geometric analysis of the resulting changes in the loss landscape. Extensive experiments on the ImageNet dataset, using a variety of model architectures, demonstrate that perturbations generated from aligned source models exhibit significantly higher transferability than those from the original source model.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.18495")
get_code_for_paper("2311.18495")
have("2311.18495")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.18495.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.18495.svg)](https://syntology.ai/paper/2311.18495)

Connect an agent — have() is free.