Papers › Adversarial Attack Generation Empowered by Min-Max Optimization

Adversarial Attack Generation Empowered by Min-Max Optimization

9 Jun 2019NeurIPS 2021 12arXiv:1906.03563archive 2025-07-28

Jingkang Wang, Tianyun Zhang, Sijia Liu, Pin-Yu Chen, Jiacen Xu, Makan Fardad, Bo Li

The worst-case training principle that minimizes the maximal adversarial loss, also known as adversarial training (AT), has shown to be a state-of-the-art approach for enhancing adversarial robustness. Nevertheless, min-max optimization beyond the purpose of AT has not been rigorously explored in the adversarial context. In this paper, we show how a general framework of min-max optimization over multiple domains can be leveraged to advance the design of different types of adversarial attacks. In particular, given a set of risk sources, minimizing the worst-case attack loss can be reformulated as a min-max problem by introducing domain weights that are maximized over the probability simplex of the domain set. We showcase this unified framework in three attack generation problems -- attacking model ensembles, devising universal perturbation under multiple inputs, and crafting attacks resilient to data transformations. Extensive experiments demonstrate that our approach leads to substantial attack improvement over the existing heuristic strategies as well as robustness improvement over state-of-the-art defense methods trained to be robust against multiple perturbation types. Furthermore, we find that the self-adjusted domain weights learned from our min-max framework can provide a holistic tool to explain the difficulty level of attack across domains. Code is available at https://github.com/wangjksjtu/minmax-adv.

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="1906.03563")

Code

Syntology Ran 1 of 25 code samples harvested from 1 repository linked to this paper; 24 have no recorded run. Of those that ran: 1 ran · violated contract.

By repository: official repository: 25 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

wangjksjtu/minmax-adv officialmentioned in papermentioned on GitHubpytorchMIT 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

25 samples harvested; 1 ran; 0 honoured the contract we drafted; 24 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.

1ran · violated contract
24unverified

Licence: 0 of the 25 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 wangjksjtu/minmax-adv. “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.

str2bool wangjksjtu/minmax-adv/neurips21/utils.py official repository ran · violated contract MIT (permissive) · f017532fc389cbfe · report
cw_loss wangjksjtu/minmax-adv/neurips21/attacks/minmax.py official repository unverified MIT (permissive) · 936c00f08008f28d · report
evaluate wangjksjtu/minmax-adv/neurips21/ens_attack.py official repository unverified MIT (permissive) · 213267d02b7820b8 · report
evaluate wangjksjtu/minmax-adv/neurips21/trans_attack.py official repository unverified MIT (permissive) · e607dfc06f869a5d · report
evaluate wangjksjtu/minmax-adv/neurips21/uni_attack.py official repository unverified MIT (permissive) · 247982bef8192964 · report
fgm wangjksjtu/minmax-adv/neurips21/attacks/fast_gradient.py official repository unverified MIT (permissive) · 3ed5f9dfac95521e · report
fgmt wangjksjtu/minmax-adv/neurips21/attacks/fast_gradient.py official repository unverified MIT (permissive) · cd6509a1aade295c · report
get_interval wangjksjtu/minmax-adv/neurips21/utils.py official repository unverified MIT (permissive) · f572fa6a26eff62d · report
get_model wangjksjtu/minmax-adv/pytorch/ens_attack.py official repository unverified MIT (permissive) · 1d6df60e31ef00c5 · report
get_models wangjksjtu/minmax-adv/neurips21/ens_attack.py official repository unverified MIT (permissive) · 8d68ad2ec3439b5c · report
identity wangjksjtu/minmax-adv/neurips21/utils.py official repository unverified MIT (permissive) · 22ad888be68bfa1b · report
image_folder_custom_label wangjksjtu/minmax-adv/pytorch/utils.py official repository unverified MIT (permissive) · 83e7640948d1e7ea · report
l2_distance wangjksjtu/minmax-adv/pytorch/utils.py official repository unverified MIT (permissive) · e9de120c9fccad8d · report
make_ens_minmax wangjksjtu/minmax-adv/neurips21/ens_attack.py official repository unverified MIT (permissive) · ff4af237f270b266 · report
make_minmax_eot wangjksjtu/minmax-adv/neurips21/trans_attack.py official repository unverified MIT (permissive) · 445cb63b8dd7ebb7 · report
make_uni_minmax wangjksjtu/minmax-adv/neurips21/uni_attack.py official repository unverified MIT (permissive) · 232ff7a5fe7a603e · report
minmax_ens wangjksjtu/minmax-adv/neurips21/attacks/minmax.py official repository unverified MIT (permissive) · 647f2c2e24c1966b · report
minmax_uni wangjksjtu/minmax-adv/neurips21/attacks/minmax.py official repository unverified MIT (permissive) · 8b57098358df5568 · report
modelA wangjksjtu/minmax-adv/neurips21/models.py official repository unverified MIT (permissive) · d8f5f464cb0707b2 · report
modelB wangjksjtu/minmax-adv/neurips21/models.py official repository unverified MIT (permissive) · d9e789eb6c5505bc · report
modelC wangjksjtu/minmax-adv/neurips21/models.py official repository unverified MIT (permissive) · 4e8ba12a7a587e76 · report
pgd wangjksjtu/minmax-adv/neurips21/attacks/pgd.py official repository unverified MIT (permissive) · fed551f077ea431d · report
proj_box wangjksjtu/minmax-adv/neurips21/attacks/utils.py official repository unverified MIT (permissive) · 8bf68b71ad3a0000 · report
proj_box_appro wangjksjtu/minmax-adv/neurips21/attacks/utils.py official repository unverified MIT (permissive) · 24a5cabdc0b7b91c · report
proj_prob_simplex wangjksjtu/minmax-adv/neurips21/attacks/utils.py official repository unverified MIT (permissive) · 964d413db2fdd014 · report

Tasks

Adversarial AttackAdversarial Robustness

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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