Frequency maps reveal the correlation between Adversarial Attacks and Implicit Bias

Lorenzo Basile, Nikos Karantzas, Alberto d'Onofrio, Luca Manzoni, Luca Bortolussi +2 more
5/24/2023
cs.LGcs.AIcs.CR

No official code found. Best implementation: lorenzobasile/ImplicitBiasAdversarial (2 stars, last commit 2025-04-06).

Abstract

Despite their impressive performance in classification tasks, neural networks are known to be vulnerable to adversarial attacks, subtle perturbations of the input data designed to deceive the model. In this work, we investigate the correlation between these perturbations and the implicit bias of neural networks trained with gradient-based algorithms. To this end, we analyse a representation of the network's implicit bias through the lens of the Fourier transform. Specifically, we identify unique fingerprints of implicit bias and adversarial attacks by calculating the minimal, essential frequencies needed for accurate classification of each image, as well as the frequencies that drive misclassification in its adversarially perturbed counterpart. This approach enables us to uncover and analyse the correlation between these essential frequencies, providing a precise map of how the network's biases align or contrast with the frequency components exploited by adversarial attacks. To this end, among other methods, we use a newly introduced technique capable of detecting nonlinear correlations between high-dimensional datasets. Our results provide empirical evidence that the network bias in Fourier space and the target frequencies of adversarial attacks are highly correlated and suggest new potential strategies for adversarial defence.

View on arXivView PDF

Code Implementations(1)

Code for the paper "Frequency maps reveal the correlation between Adversarial Attacks and Implicit Bias" [IJCNN 2025]

21Shell, PythonMay 23, 20231 years ago

Similar Papers

Cite this paper

@article{basile2023frequency,
  title  = {Frequency maps reveal the correlation between Adversarial Attacks and Implicit Bias},
  author = {Lorenzo Basile and Nikos Karantzas and Alberto d'Onofrio and Luca Manzoni and Luca Bortolussi and Alex Rodriguez and Fabio Anselmi},
  year   = {2023},
  eprint = {2305.15203},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.15203v3}
}

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/2305.15203.svg)](https://codeofpaper.com/paper/2305.15203)

Discussion