Manuscript Offprint

arXiv:2609.31128

Frame the adversary: a structure-aware attack methodology

Vicky Kouni, Stelios Perrakis, Francis Bach, Pascal Frossard, Yann Chevaleyre

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Vicky Kouni

Paris Dauphine - PSL University

vasiliki.kouni@lamsade.dauphine.fr

Stelios Perrakis

CentraleSupélec - Paris-Saclay University

stelios.perrakis@centralesupelec.fr

Francis Bach

Inria - Ecole Normale Supérieure - PSL University

francis.bach@inria.fr

Pascal Frossard

EPFL

pascal.frossard@epfl.ch

Yann Chevaleyre

Paris Dauphine - PSL University

yann.chevaleyre@lamsade.dauphine.fr

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 ℓ2\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.

1 Introduction

Frequency-based attacks [36, 40, 43, 44] have recently emerged as a powerful paradigm in adversarial learning. By leveraging the sensitivity of models to frequency components of the data, these attacks reveal vulnerabilities that often remain hidden in the spatial domain. This helps prevent catastrophic failures in safety-critical vision systems or privacy protection, since frequency-based attacks are highly effective, even across unseen target models, thus implying high transferability [32, 36, 44]. The latter is often attributed to the ability of frequency-based attacks to exploit shared spectral biases inherent to neural architectures [17, 33], rather than overfitting to model-specific spatial features, thereby targeting common vulnerabilities that persist across diverse model designs.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Most existing approaches rely on projected gradient descent (PGD) [29], by directly “plugging in” to the attack pipeline a frequency transform, e.g., Fourier [43], discrete cosine [19], or wavelet [28, 42], along with a selection mechanism on the transformed data. The motivation behind this mechanism hinges upon selectively amplifying or suppressing low-/high-frequency components, that carry the most structural information, thus exposing vulnerabilities that remain hidden in the pixel space. In this way, manipulating spectral information offers a more efficient attack regime, enabling perturbations that achieve higher attack success rates, with comparable computational effort.

Despite their success, state-of-the-art (SotA) frequency-based attacks are not accompanied by a theoretical justification of their design, thereby carrying a strong frequency bias. What is more, such attacks do not generally emerge as solutions to an open optimization problem, which, in turn, would reflect the true nature of adversarial learning in the presence of transforms, and help explaining the effectiveness and transferability of the attacks. Still, a few recent works have proposed optimization problems for creating frequency-based adversarial attacks [19, 45], but these are application-dependent, thus rendering the generalization to other settings unclear. The interaction between the attack constraint, the transform-domain representation, and the resulting perturbation structure is thus not fully understood yet. Without a principled methodology explaining the effectiveness and transferability of frequency-based attacks, it remains elusive whether attacks should rely on certain frequency components and in what way [18, 35, 43, 46].

Original

Proposed

SSIM: 0.98 - ASR: 85%

Figure

AutoAttack

SSIM: 0.87 - ASR: 68.4%

F-PGD

SSIM: 0.88 - ASR: 45.4%

Figure

(a) Example ImageNet adversarial images, with SSIM quality and ASR attack efficiency values. Bold letters indicate the method with the best performance in terms of both evaluation metrics.

Proposed

(spatial-frequency-based)

AutoAttack

(spatial-based)

F-PGD

(frequency-based)

Figure

(b) Spatial (top) and frequency (bottom) representation of the proposed attack and the two baselines, corresponding to the adversarial examples of Fig. 1a. In contrast to the baselines, our attack enjoys strategically-placed energy localization, combining the “best of both worlds”. This allows it to align with the model’s spectral sensitivities, exploiting critical feature extraction pathways to achieve the best attack success rate.

Fig. 1: Evaluation of the baselines ( ε=8/255\varepsilon = 8/255) and our attack ( εDGF=η8/255\varepsilon_{DGF} = \eta 8/255), on an exemplary RobustBench model [1].

Motivated by recent advances in frequency-based adversarial attacks, and by the lack of a principled method and solid understanding of their underpinnings, in this paper, we aim to address the following core question:

What are the underlying mechanisms of success of frequency-based adversarial attacks? (†)

To that end, our main contributions are as follows:

• We propose a new attack methodology, based on overcomplete (non-orthogonal) spatial-frequency (SF) transforms, which are popular tools for image-processing tasks [25, 31]. The overcompleteness enables flexible and structured representations that orthogonal transforms like Fourier or the discrete cosine cannot capture in baseline frequency-based attacks.

• Our framework consists of designing an optimization problem, with a cornerstone being the introduction of a new perturbation set for constraining the attacks, which satisfy a weighted SF norm constraint. The latter spreads attack energy across structured SF directions, aligned with models’ spectral sensitivities, making the attack more effective and transferable. We employ PGD w.r.t. the proposed set and prove that its projection yields a closed-form attack, as the solution to our optimization problem. To the best of our knowledge, this is the first principled methodology giving a convincing partial answer to (†)(\dagger), by exploiting the geometry of the set constraining the attacks, through the structure of the SF transform.

• We evaluate the success of our proposed framework through a series of experiments. Our findings are three-fold: a) our attack is highly effective on a range of different source-target models, exposing vulnerabilities even of defended models, thereby indicating high transferability; b) comparisons with SotA representative spatial- and frequency-based attacks demonstrate that our method outperforms the baselines in terms of effectiveness and transferability, while preserving the underlying image structure. This behavior showcases that attacks resulting from a well-defined optimization problem, while respecting the structure of the transforms involved, can enjoy improved performance, without sacrificing visual quality; c) the observed transferability sheds light on the underpinnings of frequency-based attacks: structuring the perturbation set via geometry-aligned transforms, is key to capturing spectral sensitivities shared across architectures, bolstering our theoretical framework.

Overall, our principled methodology illuminates – beyond common high/low frequency assumptions – the effectiveness and transferability of frequency-based adversarial attacks, offering a flexible alternative to manually designed frequency selection strategies in the attacks. This enables a systematic study of how properties of involved transforms influence adversarial vulnerability. Our framework could be deployed as a testbed for developing more robust evaluation protocols and defenses that explicitly account for transform-domain structure, e.g., benchmarking robustness for structured, transformed-based perturbation sets. Finally, it could contribute to the development of a more holistic understanding of models' vulnerabilities to data perturbations, towards building safer AI systems.

References (22)