[论文解读] Prior Networks for Detection of Adversarial Attacks
本文提出先验网络(Prior Networks),通过利用对预测分布的解析不确定性估计,实现对对抗性攻击的鲁棒检测。与蒙特卡洛 dropout 不同,先验网络显式建模了分布内和分布外不确定性,从而显著增强了对白盒和黑盒对抗性攻击的抵抗能力,检测逃避攻击需要更多迭代次数且成功率显著降低。
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.
研究动机与目标
- 解决现有对抗性攻击检测方法易被专门设计以欺骗它们的攻击所规避的问题。
- 探究已知在不确定性估计方面表现更优的先验网络,是否能提升对抗性攻击检测的鲁棒性。
- 评估针对先验网络构造检测逃避对抗性攻击的难度,相较于标准 DNN 和蒙特卡洛 dropout 集成模型。
- 通过验证流形假设,表明对抗性样本偏离自然数据流形,可通过不确定性进行检测。
提出的方法
- 先验网络对输出分布建模,实现对数据不确定性与分布不确定性分别估计。
- 该方法采用解析方式计算不确定性,无需蒙特卡洛采样,提升了效率与可解释性。
- 从先验网络中提取的不确定性度量被用作检测对抗性输入的信号。
- 通过在预测分布与目标类别分布之间使用 KL 散度损失生成对抗性攻击(FGSM、BIM、MIM),目标类别设为第二大概率类别。
- 通过测量白盒和黑盒攻击场景下的成功率、联合成功率及 ROC AUC,评估检测逃避性能。
- 该方法显式约束了分布内与分布外区域的不确定性行为,从而限制了可逃避检测的对抗扰动空间。
实验结果
研究问题
- RQ1先验网络是否能比标准 DNN 和蒙特卡洛 dropout 集成模型更有效地检测对抗性攻击?
- RQ2基于先验网络不确定性估计的检测,其白盒检测逃避攻击的构造难度如何?
- RQ3能否成功生成针对先验网络的黑盒检测逃避攻击?
- RQ4先验网络中显式建模的分布内与分布外不确定性行为,是否比现有方法更有效地约束对抗优化空间?
主要发现
- 在 100 次迭代后,针对先验网络的白盒检测逃避攻击成功率仅为 45%,而标准 DNN 的成功率接近 100%。
- 在白盒设置下,经过大量迭代后,先验网络的 ROC AUC 仅下降约 10%,表明其检测性能保持稳定。
- 针对先验网络的黑盒检测逃避攻击完全失败,表明其对检测逃避具有强大的泛化抵抗能力。
- 在多种攻击类型下,先验网络在检测白盒和黑盒对抗性攻击方面显著优于 DNN 和蒙特卡洛 dropout。
- 结果支持流形假设,因为对抗性样本始终可通过不确定性检测到,表明其偏离自然数据流形。
- 先验网络中采用的解析不确定性计算方式,无需昂贵的采样过程,实现了鲁棒检测,提升了实际部署的可行性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。