arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.18131cs.CRcs.AIcs.CVcs.LG
收藏

AdvCheck:通过局部梯度检查刻画对抗样本

AdvCheck: Characterizing Adversarial Examples via Local Gradient Checking

Zhejiang University of Technology(浙江工业大学)

Ruoxi Chen, Haibo Jin, Jinyin Chen, Haibin Zheng

AI总结:

本文提出通用框架AdvCheck,通过计算并利用局部梯度训练检测器,高效区分对抗样本与误分类输入,检测率优于SOTA基线且大幅降低计算成本。

摘要:

深度神经网络(DNNs)容易受到对抗样本的攻击,这可能在安全关键领域引发灾难。为了刻画对抗样本的特征独特性,或区分对抗样本激活的DNN行为,研究者们提出了许多检测方法。基于特征的检测无法处理具有大扰动的对抗样本。此外,它们还需要大量的特定对抗样本。另一种主流的基于模型的检测方法,通过模型行为来刻画输入属性,但存在计算成本过高的问题。为了解决这些问题,我们引入了局部梯度的概念,并揭示对抗样本的局部梯度边界远大于良性样本。受此观察启发,我们利用局部梯度来检测对抗样本,并提出了一种通用框架AdvCheck。具体而言,通过从少量良性样本和加噪的误分类样本中计算局部梯度来训练检测器,可以精确地将对抗样本甚至误分类的自然输入与良性样本区分开来。通过大量实验,我们验证了AdvCheck相较于最先进(SOTA)基线的优越性能,在一般对抗攻击上的检测率约为1.2倍,在误分类自然输入上平均约为1.4倍,且平均时间成本仅为1/500。我们还为成功检测提供了可解释的结果。

英文摘要:

Deep neural networks (DNNs) are vulnerable to adversarial examples, which may lead to catastrophe in security-critical domains. Numerous detection methods are proposed to characterize the feature uniqueness of adversarial examples, or to distinguish DNN's behavior activated by the adversarial examples. Detections based on features cannot handle adversarial examples with large perturbations. Besides, they require a large amount of specific adversarial examples. Another mainstream, model-based detections, which characterize input properties by model behaviors, suffer from heavy computation cost. To address the issues, we introduce the concept of local gradient, and reveal that adversarial examples have a quite larger bound of local gradient than the benign ones. Inspired by the observation, we leverage local gradient for detecting adversarial examples, and propose a general framework AdvCheck. Specifically, by calculating the local gradient from a few benign examples and noise-added misclassified examples to train a detector, adversarial examples and even misclassified natural inputs can be precisely distinguished from benign ones. Through extensive experiments, we have validated the AdvCheck's superior performance to the state-of-the-art (SOTA) baselines, with detection rate ($\sim \times 1.2$) on general adversarial attacks and ($\sim \times 1.4$) on misclassified natural inputs on average, with average 1/500 time cost. We also provide interpretable results for successful detection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑