Papers › Trust Region Based Adversarial Attack on Neural Networks

Trust Region Based Adversarial Attack on Neural Networks

16 Dec 2018CVPR 2019 6arXiv:1812.06371archive 2025-07-28

Zhewei Yao, Amir Gholami, Peng Xu, Kurt Keutzer, Michael Mahoney

Deep Neural Networks are quite vulnerable to adversarial perturbations. Current state-of-the-art adversarial attack methods typically require very time consuming hyper-parameter tuning, or require many iterations to solve an optimization based adversarial attack. To address this problem, we present a new family of trust region based adversarial attacks, with the goal of computing adversarial perturbations efficiently. We propose several attacks based on variants of the trust region optimization method. We test the proposed methods on Cifar-10 and ImageNet datasets using several different models including AlexNet, ResNet-50, VGG-16, and DenseNet-121 models. Our methods achieve comparable results with the Carlini-Wagner (CW) attack, but with significant speed up of up to 37×, for the VGG-16 model on a Titan Xp GPU. For the case of ResNet-50 on ImageNet, we can bring down its classification accuracy to less than 0.1\% with at most 1.5% relative L_∞ (or L₂) perturbation requiring only $1.02$ seconds as compared to $27.04$ seconds for the CW attack. We have open sourced our method which can be accessed at [1].

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1812.06371")

Code

Syntology Ran 7 of 9 code samples harvested from 2 repositories linked to this paper; 2 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 3 ran · fixture could not drive it.

By repository: official repository: 4 samples from 1 repository, 3 ran; community (archive-listed): 2 samples from 1 repository, 2 ran; 3 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

amirgholami/trattack officialmentioned in papermentioned on GitHubpytorch report
jeromerony/adversarial-library mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 7 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
3ran · fixture could not drive it
2unverified

Licence: 7 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

select_index amirgholami/trattack/trattack/attack_methods.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · 7e05207456819752 · report
tr_attack amirgholami/trattack/trattack/attack_methods.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · 4fb4201dc645a9ff · report
tr_attack_iter amirgholami/trattack/trattack/attack_methods.py official repository ran · fixture could not drive it GPL-3.0 (copyleft) · pointer only · 4b45cc8bd22e2100 · report
validate_all amirgholami/trattack/trattack_imagenet.py official repository unverified GPL-3.0 (copyleft) · pointer only · 1e784fb45861ad6a · report
select_index jeromerony/adversarial-library/adv_lib/attacks/trust_region.py community (archive-listed) ran · our draft was wrong BSD-3-Clause (permissive) · 185c5c2ef9d08b2a · report
tr jeromerony/adversarial-library/adv_lib/attacks/trust_region.py community (archive-listed) ran · fixture could not drive it BSD-3-Clause (permissive) · e6e18b5b8e968918 · report
generate_random_targets identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 0832e3bf9440362b · report
get_all_targets identical code first harvested elsewhere ran · fixture could not drive it fingerprinted licence of this copy not recorded · c6344b8a7b36aea8 · report
accuracy identical code first harvested elsewhere unverified licence of this copy not recorded · 9b8289076669fe4f · report

Tasks

Adversarial Attack

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

1x1 ConvolutionConvolutionDense ConnectionsDropoutGrouped ConvolutionLocal Response NormalizationMax PoolingReLUSPEEDSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections