Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionality
Xingjun Ma, Bo Li, Yisen Wang, Sarah M. Erfani, Sudanthi Wijewickrema, Grant Schoenebeck, Dawn Song, Michael E. Houle, James Bailey
TL;DR
This work uses Local Intrinsic Dimensionality to quantify the local geometry of adversarial regions in deep networks, showing that adversarial perturbations increase local dimensionality and can be detected via LID-based features. By evaluating on MNIST, CIFAR-10, and SVHN against multiple attacks, the authors demonstrate that LID-based detectors outperform kernel-density and Bayesian uncertainty methods, even under adaptive attacks. The study highlights minibatch-based LID estimation as an efficient approach and suggests that LID captures fundamental dimensional properties of adversarial regions, guiding future defense and attack research. Overall, LID offers a principled, geometry-aware path toward robust adversarial detection in high-dimensional manifolds.
Abstract
Deep Neural Networks (DNNs) have recently been shown to be vulnerable against adversarial examples, which are carefully crafted instances that can mislead DNNs to make errors during prediction. To better understand such attacks, a characterization is needed of the properties of regions (the so-called 'adversarial subspaces') in which adversarial examples lie. We tackle this challenge by characterizing the dimensional properties of adversarial regions, via the use of Local Intrinsic Dimensionality (LID). LID assesses the space-filling capability of the region surrounding a reference example, based on the distance distribution of the example to its neighbors. We first provide explanations about how adversarial perturbation can affect the LID characteristic of adversarial regions, and then show empirically that LID characteristics can facilitate the distinction of adversarial examples generated using state-of-the-art attacks. As a proof-of-concept, we show that a potential application of LID is to distinguish adversarial examples, and the preliminary results show that it can outperform several state-of-the-art detection measures by large margins for five attack strategies considered in this paper across three benchmark datasets. Our analysis of the LID characteristic for adversarial regions not only motivates new directions of effective adversarial defense, but also opens up more challenges for developing new attacks to better understand the vulnerabilities of DNNs.
