arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.01568cs.LGcs.CRcs.CV
收藏

DAD:测试时的无数据对抗防御

DAD: Data-free Adversarial Defense at Test Time

Indian Institute of Science(印度科学学院)

Gaurav Kumar Nayak, Ruchit Rawal, Anirban Chakraborty

摘要:

深度模型非常容易受到对抗攻击的影响。这种攻击是精心制作的难以察觉的噪音,可以欺骗网络,并在部署时造成严重后果。要遇到它们,模型需要训练数据进行对抗训练或基于显式正则化的技术。然而,隐私已经成为一个重要的问题,限制访问仅训练的模型,而不是训练数据(例如,生物特征数据)。此外,数据整理是昂贵的,公司可能拥有专有权。为了处理这种情况下,我们提出了一个全新的问题“测试时对抗防御缺乏训练数据,甚至他们的策略”。我们分两个阶段解决它:a)检测和b)对抗样本的校正。我们的对抗样本检测框架最初是在任意数据上训练的,随后通过无监督的领域自适应来适应未标记的测试数据。我们通过在傅立叶域中对检测到的对抗样本进行变换,并在我们提出的模型预测的合适半径处获得它们的低频分量,来进一步校正对检测到的对抗样本的预测。我们通过针对多种对抗攻击以及不同模型架构和数据集的广泛实验来证明我们提出的技术的有效性。对于在CIFAR-10上预训练的非鲁棒Resnet-18模型,我们的检测方法正确识别了91.42%的对手。此外,我们将对抗准确率从0%显著提高到37.37%,在最先进的“自动攻击”中,准确率下降了0.02%,而无需重新训练模型。

英文摘要:

Deep models are highly susceptible to adversarial attacks. Such attacks are carefully crafted imperceptible noises that can fool the network and can cause severe consequences when deployed. To encounter them, the model requires training data for adversarial training or explicit regularization-based techniques. However, privacy has become an important concern, restricting access to only trained models but not the training data (e.g. biometric data). Also, data curation is expensive and companies may have proprietary rights over it. To handle such situations, we propose a completely novel problem of 'test-time adversarial defense in absence of training data and even their statistics'. We solve it in two stages: a) detection and b) correction of adversarial samples. Our adversarial sample detection framework is initially trained on arbitrary data and is subsequently adapted to the unlabelled test data through unsupervised domain adaptation. We further correct the predictions on detected adversarial samples by transforming them in Fourier domain and obtaining their low frequency component at our proposed suitable radius for model prediction. We demonstrate the efficacy of our proposed technique via extensive experiments against several adversarial attacks and for different model architectures and datasets. For a non-robust Resnet-18 model pre-trained on CIFAR-10, our detection method correctly identifies 91.42% adversaries. Also, we significantly improve the adversarial accuracy from 0% to 37.37% with a minimal drop of 0.02% in clean accuracy on state-of-the-art 'Auto Attack' without having to retrain the model.

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

↑