Frame the adversary: a structure-aware attack methodology

Vicky Kouni, Stelios Perrakis, Francis Bach, Pascal Frossard, Yann ChevaleyreNeurIPS 2026

TL;DR

Frequency-based adversarial attacks are remarkably good at fooling neural networks, yet most of them are cobbled together using ad-hoc heuristics rather than principled math. This paper introduces a unified optimization framework using Gabor frames—mathematical transforms that mirror human visual processing—to craft structured adversarial perturbations. The result is an attack that not only preserves image quality better than existing methods, but transfers effortlessly across unseen, heavily defended models.

What Problem Does This Paper Address?

If you want to fool a vision model, tweaking individual pixels (spatial attacks) works, unless the target model is unseen—pixel-level noise tends to overfit to a specific architecture's quirks. Recently, researchers realized that tweaking an image's frequencies (like waves in a Fourier or Discrete Cosine Transform) exposes deeper vulnerabilities shared across completely different neural networks.

Here is the catch: state-of-the-art frequency attacks are largely heuristic. Researchers typically take standard Projected Gradient Descent (PGD), jam an orthogonal transform like Fourier into the pipeline, slap on a manual mask to boost high or low frequencies, and clip the result back into a standard pixel-space $\ell_p$-ball. Because there is a geometric mismatch between the pixel-space constraint and the frequency-space manipulation, these attacks aren't actually solving a well-defined optimization problem. Nobody really had a theoretical handle on why they worked so well, or how to design them from first principles.

Methods

Instead of relying on rigid, global orthogonal transforms (like Fourier), the authors build their framework on Discrete Gabor Frames (DGFs). A "frame" is essentially an overcomplete basis—it uses more vectors than the dimension of the space. Because of this built-in redundancy, Gabor frames can simultaneously localize information across space, frequency, and orientation, naturally aligning with edges and textures in images.

The authors' core innovation is changing the shape of the allowed perturbation budget:

  1. A Transform-Aware Ellipsoid: Standard PGD restricts attacks to a simple $\ell_p$-ball in pixel space. Instead, the authors define a new perturbation set, $\mathcal{C}_{M_D}$, which forms an ellipsoid dictated by the Gabor frame's geometry.
  2. Coherence Downweighting: Because frames have redundant, overlapping vectors, a naive setup would let redundant directions dominate the attack budget. The authors introduce a diagonal weighting matrix based on the frame's average coherence (how spread out the vectors are), downweighting redundant directions so energy is distributed cleanly across genuine spatial-frequency structures.
  3. Closed-Form Projection (DGF-PGD): They formulate a clean maximization problem over this ellipsoid and prove that projecting gradients onto $\mathcal{C}_{M_D}$ has an exact, closed-form mathematical solution (a weighted $\ell_2$-projection). To ensure fair comparisons with baseline $\ell_\infty$-balls, they normalize the attack budget by matching the geometric volumes of the ellipsoid and the ball.
Fig. 1: Evaluation of the baselines (ε = 8/255) and our attack (εDGF = η8/255), on an exemplary RobustBench model [2].

Datasets

The authors evaluate their framework on two standard vision benchmarks, testing across both standard pretrained architectures (spanning CNNs to Vision Transformers) and heavily defended models from RobustBench:

  • ImageNet: 5,000 validation images at $224 \times 224$ resolution.
  • CIFAR100: 10,000 test images at $32 \times 32$ resolution.

No new datasets are introduced, though the authors note the current lack of a standardized benchmark specifically for frequency-robust models.

Key Insights and Ideas

  • Hitting models where they see: Neural networks rely heavily on localized, oriented spatial-frequency features to make sense of the world—much like the mammalian visual cortex, which Gabor filters famously model. By constraining perturbations to a Gabor-induced geometry, the attack avoids overfitting to pixel artifacts and instead hijacks the fundamental feature-extraction pathways shared by almost all vision architectures.
  • Geometry beats manual masking: You don't need hand-crafted high- or low-frequency masks to make a transferable attack. When the perturbation set itself reflects image geometry via overcomplete frames, optimization naturally finds the model's spectral blind spots.
  • Alignment with human perception: Because Gabor representations closely mirror human visual processing, bounding the attack in a Gabor-induced norm naturally preserves the underlying structure of the image, avoiding the harsh, noticeable static produced by pixel-aligned $\ell_\infty$ attacks.

Key Results

The primary takeaway lies in cross-model transferability—generating an adversarial image on one source model and testing if it fools an entirely different, unseen target model. Measuring Attack Success Rate (ASR, where higher means a deadlier attack):

  • ImageNet Transferability: Across unseen standard pretrained models, DGF-PGD achieves an average ASR of 74.5%, nearly doubling the best frequency baseline (SSA at 39.9%) and spatial baseline (AutoAttack at 33.6%). Against hardened RobustBench models, it hits 63.4%, while all baselines hover around 31–33%.
  • CIFAR100 Transferability: On pretrained models, the proposed method reaches 96.5% ASR (vs. 90.1% for AutoAttack and 74.2% for F-PGD). On RobustBench models, it achieves 85.1%, nearly doubling F-PGD's 46.0% and AutoAttack's 44.4%.
  • Visual Fidelity: On exemplary RobustBench images, the proposed attack achieves higher Structural Similarity (SSIM) alongside higher effectiveness—for instance, scoring 0.98 SSIM (85% ASR) on ImageNet compared to AutoAttack's 0.87 SSIM (68.4% ASR).
Adversarial examples on ImageNet showing SSIM visual quality and Attack Success Rate (ASR). The proposed Gabor-frame attack preserves visual fidelity while fooling the defended model far more reliably.

Limitations and Future Work

  • Choosing Frame Parameters: The representation power of a Discrete Gabor Frame depends heavily on its spatial and frequency shift parameters ($\alpha$ and $\beta$), and selecting them optimally remains a non-trivial challenge.
  • Broader Empirical Scope: The authors note their experiments are designed to validate their theoretical formulation rather than serve as an exhaustive benchmark. Future work includes scaling tests to medical and satellite imagery, as well as exploring other geometric frame families like shearlets, curvelets, or learnable adaptive transforms.
  • Building Better Shields: Because DGF-PGD solves a proper maximization problem, it can be plugged directly into the inner loop of adversarial training ($\min_\theta \max_{\delta \in \mathcal{C}_{M_D}}$). The authors propose doing exactly this to build a "RobustBench for frequency attacks"—training future AI models to defend against structured, perceptual vulnerabilities rather than just pixel noise.

Summary updated

Abstract

Frequency-based adversarial attacks have recently grown popular by exploiting spectral sensitivities shared across neural architectures. Unlike spatial perturbations, frequency-based attacks expose deeper vulnerabilities, making them especially valuable for robust evaluation of safety-critical and security-sensitive applications. Yet, existing approaches are typically not derived as solutions to an optimization problem that explicitly captures transform-domain structure. In this paper, we propose a methodology for crafting principled frequency-based adversarial attacks, via a dedicated optimization framework. A cornerstone of our method hinges on the introduction of a perturbation constraint set, tied to highly structured non-orthogonal transforms, well-known for their flexible, non-predefined frequency handling. We prove that the attacks emerge as weighted $\ell_2$-projections onto this set, yielding a general and controlled attack generation mechanism. By this, we provide a clear geometric attack characterization, ensuring alignment between the optimization objective and the perturbation constraint. We assess our framework on standardized datasets, for pretrained and adversarially robust models. Results highlight that our attacks, being solutions to an optimization problem, over a structured perturbation set, are highly effective, even across different, unseen architectures. Our methodology could serve as a theoretical baseline for designing and analyzing transformed-based attacks, targeting fundamental model vulnerabilities, instead of mere architecture-specific artifacts typically studied in the robustness literature.
BibTeX
@inproceedings{kouni2026frame,
  author = {Vicky Kouni and Stelios Perrakis and Francis Bach and Pascal Frossard and Yann Chevaleyre},
  title = {{Frame the adversary: a structure-aware attack methodology}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=r9iMhnGR8K},
}
Figure