English

Detecting Adversarial Examples

Machine Learning 2025-06-17 v2 Cryptography and Security

Abstract

Deep Neural Networks (DNNs) have been shown to be vulnerable to adversarial examples. While numerous successful adversarial attacks have been proposed, defenses against these attacks remain relatively understudied. Existing defense approaches either focus on negating the effects of perturbations caused by the attacks to restore the DNNs' original predictions or use a secondary model to detect adversarial examples. However, these methods often become ineffective due to the continuous advancements in attack techniques. We propose a novel universal and lightweight method to detect adversarial examples by analyzing the layer outputs of DNNs. Our method trains a lightweight regression model that predicts deeper-layer features from early-layer features, and uses the prediction error to detect adversarial samples. Through theoretical justification and extensive experiments, we demonstrate that our detection method is highly effective, compatible with any DNN architecture, and applicable across different domains, such as image, video, and audio.

Keywords

Cite

@article{arxiv.2410.17442,
  title  = {Detecting Adversarial Examples},
  author = {Furkan Mumcu and Yasin Yilmaz},
  journal= {arXiv preprint arXiv:2410.17442},
  year   = {2025}
}