A Uniform Framework for Anomaly Detection in Deep Neural Networks
Fangzhen Zhao, Chenyi Zhang, Naipeng Dong, Zefeng You, Zhenxin Wu

TL;DR
This paper introduces a universal framework for detecting various types of anomalies in deep neural networks, including out-of-distribution, adversarial, and noise inputs, without needing data preprocessing or prior knowledge of specific attack types.
Contribution
The proposed framework can detect multiple anomaly types simultaneously in pre-trained DNNs without relying on known attack algorithms or data preprocessing, outperforming existing methods.
Findings
Outperforms state-of-the-art in anomaly detection accuracy
Effective across different DNN architectures and anomaly types
Does not require input data preprocessing or prior attack knowledge
Abstract
Deep neural networks (DNN) can achieve high performance when applied to In-Distribution (ID) data which come from the same distribution as the training set. When presented with anomaly inputs not from the ID, the outputs of a DNN should be regarded as meaningless. However, modern DNN often predict anomaly inputs as an ID class with high confidence, which is dangerous and misleading. In this work, we consider three classes of anomaly inputs, (1) natural inputs from a different distribution than the DNN is trained for, known as Out-of-Distribution (OOD) samples, (2) crafted inputs generated from ID by attackers, often known as adversarial (AD) samples, and (3) noise (NS) samples generated from meaningless data. We propose a framework that aims to detect all these anomalies for a pre-trained DNN. Unlike some of the existing works, our method does not require preprocessing of input data,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Anomaly Detection Techniques and Applications · Network Security and Intrusion Detection
