Fast Adversarial Attacks with Gradient Prediction

Kamil Ciosek, Aleksandr V. Petrov, Nicolò Felicioni, Konstantina Palla
5/14/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Generating adversarial examples at scale is a core primitive for robustness evaluation, adversarial training, and red-teaming, yet even "fast" attacks such as FGSM remain throughput-limited by the cost of a backward pass. We introduce a family of attacks that eliminates the backward pass by predicting the input gradient from forward-pass hidden states via a lightweight linear regression.

Show full abstract

Theoretically, we derive exact affine conditional gradient means, showing optimality in the (idealized) NTK regime. Empirically, our methods work when applied to practical finite-width models; we recover much of FGSM's attack performance while using only a small fraction of the time, corresponding to a $532\%$ increase in throughput. These results suggest gradient prediction as a simple and general route to significantly faster adversarial generation under realistic wall-clock constraints.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ciosek2026fast,
  title  = {Fast Adversarial Attacks with Gradient Prediction},
  author = {Kamil Ciosek and Aleksandr V. Petrov and Nicolò Felicioni and Konstantina Palla},
  year   = {2026},
  eprint = {2605.14868},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.14868v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.14868.svg)](https://codeofpaper.com/paper/2605.14868)

Discussion