[Paper Review] Prior Networks for Detection of Adversarial Attacks
This paper proposes Prior Networks for robust detection of adversarial attacks by leveraging analytically computed uncertainty estimates over predictive distributions. Unlike Monte-Carlo dropout, Prior Networks explicitly model in-domain and out-of-domain uncertainty, enabling significantly stronger resistance to both white-box and black-box adversarial attacks, with detection-evading attacks requiring far more iterations and achieving much lower success rates.
Adversarial examples are considered a serious issue for safety critical applications of AI, such as finance, autonomous vehicle control and medicinal applications. Though significant work has resulted in increased robustness of systems to these attacks, systems are still vulnerable to well-crafted attacks. To address this problem, several adversarial attack detection methods have been proposed. However, a system can still be vulnerable to adversarial samples that are designed to specifically evade these detection methods. One recent detection scheme that has shown good performance is based on uncertainty estimates derived from Monte-Carlo dropout ensembles. Prior Networks, a new method of estimating predictive uncertainty, has been shown to outperform Monte-Carlo dropout on a range of tasks. One of the advantages of this approach is that the behaviour of a Prior Network can be explicitly tuned to, for example, predict high uncertainty in regions where there are no training data samples. In this work, Prior Networks are applied to adversarial attack detection using measures of uncertainty in a similar fashion to Monte-Carlo Dropout. Detection based on measures of uncertainty derived from DNNs and Monte-Carlo dropout ensembles are used as a baseline. Prior Networks are shown to significantly out-perform these baseline approaches over a range of adversarial attacks in both detection of whitebox and blackbox configurations. Even when the adversarial attacks are constructed with full knowledge of the detection mechanism, it is shown to be highly challenging to successfully generate an adversarial sample.
Motivation & Objective
- To address the vulnerability of existing adversarial attack detection methods to evasion by attacks specifically designed to fool them.
- To investigate whether Prior Networks—known for superior uncertainty estimation—can improve adversarial attack detection robustness.
- To evaluate the difficulty of crafting detection-evading adversarial attacks against Prior Networks compared to standard DNNs and Monte-Carlo dropout ensembles.
- To validate the manifold hypothesis by showing that adversarial examples lie off the natural data manifold and can be detected via uncertainty.
Proposed method
- Prior Networks model a distribution over output distributions, enabling separate estimation of data uncertainty and distributional uncertainty.
- The method uses analytical uncertainty computation without Monte-Carlo sampling, improving efficiency and interpretability.
- Uncertainty measures derived from Prior Networks are used as detection signals for adversarial inputs.
- Adversarial attacks (FGSM, BIM, MIM) are generated using KL divergence loss between predicted and target class distributions, with target classes set to the second-most likely class.
- Detection evasion is evaluated by measuring success rate, joint success rate, and ROC AUC across white-box and black-box attack scenarios.
- The approach explicitly constrains uncertainty behavior in in-domain and out-of-domain regions, limiting the space of adversarial perturbations that can evade detection.
Experimental results
Research questions
- RQ1Can Prior Networks detect adversarial attacks more effectively than standard DNNs and Monte-Carlo dropout ensembles?
- RQ2How difficult is it to construct white-box adversarial attacks that evade detection based on uncertainty estimates from Prior Networks?
- RQ3Can black-box detection-evading attacks be successfully generated against Prior Networks?
- RQ4Does the explicit modeling of in-domain and out-of-domain uncertainty behavior in Prior Networks constrain the adversarial optimization space more effectively than existing methods?
Key findings
- White-box detection-evading attacks against Prior Networks achieved only 45% success rate after 100 iterations, compared to nearly 100% for standard DNNs.
- The ROC AUC for Prior Networks decreased by only about 10% in white-box settings after extensive iterations, indicating sustained detection performance.
- Black-box detection-evading attacks failed entirely against Prior Networks, suggesting strong generalization resistance to detection evasion.
- Prior Networks significantly outperformed both DNNs and Monte-Carlo dropout in detecting both white-box and black-box adversarial attacks across multiple attack types.
- The results support the manifold hypothesis, as adversarial examples were consistently detected via uncertainty, indicating they lie off the natural data manifold.
- The analytical uncertainty computation in Prior Networks enables robust detection without expensive sampling, enhancing practical deployability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.