Papers › Gaussian MRF Covariance Modeling for Efficient Black-Box Adversarial Attacks

Gaussian MRF Covariance Modeling for Efficient Black-Box Adversarial Attacks

8 Oct 2020arXiv:2010.04205archive 2025-07-28

Anit Kumar Sahu, Satya Narayan Shukla, J. Zico Kolter

We study the problem of generating adversarial examples in a black-box setting, where we only have access to a zeroth order oracle, providing us with loss function evaluations. Although this setting has been investigated in previous work, most past approaches using zeroth order optimization implicitly assume that the gradients of the loss function with respect to the input images are \emph{unstructured}. In this work, we show that in fact substantial correlations exist within these gradients, and we propose to capture these correlations via a Gaussian Markov random field (GMRF). Given the intractability of the explicit covariance structure of the MRF, we show that the covariance structure can be efficiently represented using the Fast Fourier Transform (FFT), along with low-rank updates to perform exact posterior estimation under this model. We use this modeling technique to find fast one-step adversarial attacks, akin to a black-box version of the Fast Gradient Sign Method~(FGSM), and show that the method uses fewer queries and achieves higher attack success rates than the current state of the art. We also highlight the general applicability of this gradient modeling setup.

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

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

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

anitksahu/GMRF officialmentioned in paperpytorchMIT 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

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

16unverified

Licence: 0 of the 16 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 anitksahu/GMRF. “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.

fft_Lambda_y anitksahu/GMRF/gmrf_resnet.py official repository unverified MIT (permissive) · bab5e0564961ec3f · report
fft_Lambda_y anitksahu/GMRF/gmrf_inception.py official repository unverified MIT (permissive) · 777bc7ec9140dc5e · report
fft_Lambda_y anitksahu/GMRF/gmrf_mnist.py official repository unverified MIT (permissive) · 88605db93f584c2b · report
fft_Lambda_y anitksahu/GMRF/gmrf_vgg.py official repository unverified MIT (permissive) · 7729686b5b57f865 · report
fft_basis anitksahu/GMRF/attack_imagenet.py official repository unverified MIT (permissive) · 4ab0b89c352a866f · report
gradient_hessian anitksahu/GMRF/gmrf_utils.py official repository unverified MIT (permissive) · fc37ef19d2a5d67a · report
inv_cov_fft anitksahu/GMRF/gmrf_mnist.py official repository unverified MIT (permissive) · 901a6b0028c25706 · report
inv_cov_fft_inception anitksahu/GMRF/gmrf_inception.py official repository unverified MIT (permissive) · fa6adaba733c0f88 · report
inv_cov_fft_resnet anitksahu/GMRF/gmrf_resnet.py official repository unverified MIT (permissive) · 6cfa3b88b2bc8c1e · report
inv_cov_fft_vgg anitksahu/GMRF/gmrf_vgg.py official repository unverified MIT (permissive) · 071cf35613780396 · report
log_det_fft anitksahu/GMRF/gmrf_resnet.py official repository unverified MIT (permissive) · 97b371a49ff8b1a4 · report
log_det_fft anitksahu/GMRF/gmrf_inception.py official repository unverified MIT (permissive) · 7f2e9db805fb0326 · report
log_det_fft anitksahu/GMRF/gmrf_mnist.py official repository unverified MIT (permissive) · 04015b8b5559619f · report
log_det_fft anitksahu/GMRF/gmrf_vgg.py official repository unverified MIT (permissive) · 083c040f1f84914e · report
samples_gen anitksahu/GMRF/attack_imagenet.py official repository unverified MIT (permissive) · ed5a6c5e39eb594c · report
test anitksahu/GMRF/attack_imagenet.py official repository unverified MIT (permissive) · 02223ee10970d0bc · report

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