Unfolding Local Growth Rate Estimates for (Almost) Perfect Adversarial Detection

Peter Lorenz, Margret Keuper, Janis Keuper
12/13/2022
cs.CVcs.CR

Official code: adverML/multiLID (3 stars, Jupyter Notebook, last commit 2023-11-04).

Abstract

Convolutional neural networks (CNN) define the state-of-the-art solution on many perceptual tasks. However, current CNN approaches largely remain vulnerable against adversarial perturbations of the input that have been crafted specifically to fool the system while being quasi-imperceptible to the human eye.

Show full abstract

In recent years, various approaches have been proposed to defend CNNs against such attacks, for example by model hardening or by adding explicit defence mechanisms. Thereby, a small "detector" is included in the network and trained on the binary classification task of distinguishing genuine data from data containing adversarial perturbations. In this work, we propose a simple and light-weight detector, which leverages recent findings on the relation between networks' local intrinsic dimensionality (LID) and adversarial attacks. Based on a re-interpretation of the LID measure and several simple adaptations, we surpass the state-of-the-art on adversarial detection by a significant margin and reach almost perfect results in terms of F1-score for several networks and datasets. Sources available at: https://github.com/adverML/multiLID

View on arXivView PDF

Code Implementations(1)

adverML/multiLIDOfficial100%
30Jupyter Notebook, PythonOct 11, 20233 years ago

Similar Papers

Cite this paper

@article{lorenz2022unfolding,
  title  = {Unfolding Local Growth Rate Estimates for (Almost) Perfect Adversarial Detection},
  author = {Peter Lorenz and Margret Keuper and Janis Keuper},
  year   = {2022},
  eprint = {2212.06776},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.06776}
}

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

Discussion