SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1907.02044 · 2019

Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attack

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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; 4 failures of our instrument; 2 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/1907.02044.json · badge: /api/ran/1907.02044.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
fra31/fab-attack canonical (classifier label)
classifier basis: classifier_2025
1 ran · 2 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
jeromerony/adversarial-library extension (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
generate_random_targets Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from jeromerony/adversarial-library
pointer only · get_code("0832e3bf9440362b")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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_all_targets Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from jeromerony/adversarial-library
pointer only · get_code("c6344b8a7b36aea8")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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_best_diff_logits_grads Ran
ran; our contract draft was wrong, not the code
jeromerony/adversarial-library/adv_lib/attacks/fast_adaptive_boundary/fast_adaptive_boundary.py
code served (permissive licence) · get_code("7fd53eb957716ff1")
How it ran

Ran 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.

import torch
from torch import nn

torch.manual_seed(0)

# Build a simple model that outputs logits
class SimpleModel(nn.Module):
    def __init__(self, input_dim, num_classes):
        super().__init__()
        self.fc = nn.Linear(input_dim, num_classes)
    
    def forward(self, x):
        return self.fc(x)

# Create model with input_dim=4, num_classes=5
model = SimpleModel(input_dim=4, num_classes=5)

# Create tensors with batch_size=2
batch_size = 2
input_dim = 4
num_classes = 5
num_other_labels = 3

inputs = torch.randn(batch_size, input_dim, requires_grad=True)
labels = torch.tensor([0, 1], dtype=torch.long)
# other_labels should be shape (batch_size, num_other_labels) with class indices
other_labels = torch.tensor([[1, 2, 3], [2, 3, 4]], dtype=torch.long)

q = 2.0  # norm parameter

ARGS = {
    "model": model,
    "inputs": inputs,
    "labels": labels,
    "other_labels": other_labels,
    "q": q
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_diff_logits_grads_batch Ran
ran; our contract draft was wrong, not the code
fra31/fab-attack/FAB_linf.py
pointer only (licence: NONE) · get_code("830ff1ed078b9571")
How it ran

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

linear_approximation_search Not yet run
unverified (harvested, no recorded run)
fra31/fab-attack/FAB_linf.py
pointer only (licence: NONE) · get_code("412ce9de5bed70f7")
How it ran

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

projection_linf_hyperplane Not yet run
unverified (harvested, no recorded run)
fra31/fab-attack/FAB_linf.py
pointer only (licence: NONE) · get_code("ffcbde401a900856")
How it ran

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

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 4 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
generate_random_targets 3 other papers
1 dated earlier, 2 later
1812.06371 (2018-12)
Trust Region Based Adversarial Attack on Neural Networks
2003.01690 (2020-03)
Reliable Evaluation of Adversarial Robustness with an Ensemble of Diverse Parameter-free Attacks
2103.01208 (2021-03)
Mind the Box: l 1 -APGD for Sparse Adversarial Attacks on Image Classifiers
get_all_targets 3 other papers
1 dated earlier, 2 later
1812.06371 (2018-12)
Trust Region Based Adversarial Attack on Neural Networks
2003.01690 (2020-03)
Reliable Evaluation of Adversarial Robustness with an Ensemble of Diverse Parameter-free Attacks
2103.01208 (2021-03)
Mind the Box: l 1 -APGD for Sparse Adversarial Attacks on Image Classifiers

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.

Repositories linked to this paper

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

Abstract

The evaluation of robustness against adversarial manipulation of neural networks-based classifiers is mainly tested with empirical attacks as methods for the exact computation, even when available, do not scale to large networks. We propose in this paper a new white-box adversarial attack wrt the $l_p$-norms for $p \in \{1,2,\infty\}$ aiming at finding the minimal perturbation necessary to change the class of a given input. It has an intuitive geometric meaning, yields quickly high quality results, minimizes the size of the perturbation (so that it returns the robust accuracy at every threshold with a single run). It performs better or similar to state-of-the-art attacks which are partially specialized to one $l_p$-norm, and is robust to the phenomenon of gradient masking.

For agents

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

get_harvested_code_for_paper("1907.02044")
get_code_for_paper("1907.02044")
have("1907.02044")

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

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

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

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

Connect an agent — have() is free.