DAAIN: Detection of Anomalous and Adversarial Input using Normalizing Flows
Samuel von Bau{\ss}nern, Johannes Otterbach, Adrian Loy, Mathieu, Salzmann, Thomas Wollmann

TL;DR
DAAIN introduces a unified method using normalizing flows to detect out-of-distribution and adversarial inputs in image segmentation, enhancing security and robustness without requiring specialized hardware.
Contribution
The paper presents a novel detection technique that monitors neural network activations with a density estimator, improving detection of anomalies and adversarial attacks in segmentation tasks.
Findings
Effective detection of OOD and AA inputs in segmentation models
Operates efficiently on a single GPU without specialized hardware
Hardens models against attacks by obscuring the detection process
Abstract
Despite much recent work, detecting out-of-distribution (OOD) inputs and adversarial attacks (AA) for computer vision models remains a challenge. In this work, we introduce a novel technique, DAAIN, to detect OOD inputs and AA for image segmentation in a unified setting. Our approach monitors the inner workings of a neural network and learns a density estimator of the activation distribution. We equip the density estimator with a classification head to discriminate between regular and anomalous inputs. To deal with the high-dimensional activation-space of typical segmentation networks, we subsample them to obtain a homogeneous spatial and layer-wise coverage. The subsampling pattern is chosen once per monitored model and kept fixed for all inputs. Since the attacker has access to neither the detection model nor the sampling key, it becomes harder for them to attack the segmentation…
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 · Explainable Artificial Intelligence (XAI)
MethodsPointwise Convolution · Dilated Convolution · Hierarchical Feature Fusion · Efficient Spatial Pyramid · Convolution · Parameterized ReLU · 1x1 Convolution · Kaiming Initialization · ESPNet
