Frequency maps reveal the correlation between Adversarial Attacks and Implicit Bias
Lorenzo Basile, Nikos Karantzas, Alberto d'Onofrio, Luca Manzoni, Luca Bortolussi, Alex Rodriguez, Fabio Anselmi
TL;DR
The paper investigates the link between neural networks' implicit bias and adversarial vulnerability in Fourier space by learning modulatory frequency maps that isolate essential frequencies for correct classification and for successful misclassification. It demonstrates a strong nonlinear correlation between essential and adversarial frequency maps using high-dimensional metrics like $I_d$Cor$, outperforming linear baselines such as SVCCA. It also shows that class-level variants of these maps can partially revert adversarial attacks, pointing to practical defense directions, albeit with a trade-off in clean accuracy. The findings highlight frequency-domain representations as a promising avenue for understanding robustness and guiding defenses in neural networks.
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.
