Abstract
Local Intrinsic Dimensionality (LID) has been proposed as a robust metric for "fingerprinting" the low-dimensional subspaces where adversarial examples reside. This paper provides a critical evaluation of LID, demonstrating its fragility under diverse attack conditions. We show that LID-based detection fails to generalize across different attack confidence levels and is largely ineffective against black-box transfer attacks. These results suggest that LID is not a universal property of adversarial examples but is instead highly dependent on specific attack parameters and model architectures.
Introduction
Deep Neural Networks (DNNs) are notoriously susceptible to adversarial examples—inputs crafted with small, often imperceptible perturbations that cause incorrect classifications. A leading theory for defending against these attacks is that adversarial examples inhabit specific geometric subspaces. Local Intrinsic Dimensionality (LID) was introduced to characterize these subspaces by measuring the "thickness" of the data manifold around a point. If adversarial examples consistently exhibit different LID scores than natural data, they could be easily detected. This study investigates whether this property holds under realistic adversarial scenarios.
Methodology
The authors evaluate LID using two prominent optimization-based attacks: the C&W ($L_2$) attack and the Elastic-net Attack (EAD), which utilizes $L_1$ regularization. These attacks were tested on the MNIST and CIFAR-10 datasets.
The evaluation focused on two critical dimensions:
- Attack Confidence (κ): Varying the degree of certainty required for the misclassification.
- Transferability: Testing a detector trained on one model against adversarial examples generated for a different, "black-box" model.
The Fragility of LID Detection
The study reveals several major limitations of LID as a robust characterization tool.
The Confidence Trap
LID scores are highly sensitive to the confidence level of the attack. While LID might effectively detect low-confidence adversarial examples, its performance degrades significantly as the attacker increases the confidence parameter (κ). Furthermore, training an LID detector on an ensemble of different confidence levels does not improve robustness; instead, it tends to degrade performance, suggesting that adversarial subspaces at different confidence levels are geometrically distinct.
Failure in Transfer Scenarios
The most significant finding is LID's inability to detect transferred adversarial examples. In black-box scenarios where an attack is generated on a surrogate model and transferred to a target model, the LID signature often disappears. This indicates that the geometric properties captured by LID are tied to the specific model used for the attack rather than being an intrinsic property of adversarial examples themselves.
Key Results
The experimental results highlight a stark contrast between ideal and realistic conditions. On the CIFAR-10 dataset, the detection rate for C&W attacks plummeted from 89% at κ=0 to just 40% at κ=40.
In transfer attack scenarios on CIFAR-10, the detection rate was even more concerning, dropping as low as 1.01%. Additionally, LID was consistently less effective at characterizing EAD ($L_1$-based) attacks compared to C&W ($L_2$-based) attacks, showing that the choice of distance metric in the attack formulation significantly alters the resulting subspace geometry.
Conclusion
This research serves as a vital "negative result," demonstrating that Local Intrinsic Dimensionality has limited capability for characterizing adversarial subspaces in a generalizable way. The geometry of adversarial examples appears to be far more complex and model-dependent than previously assumed. Future defense research must seek geometric characterizations that are invariant to attack parameters and can generalize across different neural architectures.
Summary updated