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

饮鸩止渴:数据投毒攻击中不可检测性与鲁棒性的权衡

Pick your Poison: Undetectability versus Robustness in Data Poisoning Attacks

University of Waterloo(滑铁卢大学)

Nils Lukas, Florian Kerschbaum

AI总结:

本文揭示了数据投毒攻击中不可检测性与鲁棒性之间的关键权衡,提出使用少量可信数据检测或修复投毒模型的防御方法,在CIFAR-10和ImageNet上有效缓解攻击且准确率损失极小,证明同时满足鲁棒与不可检测的攻击者威胁大幅降低。

摘要:

在海量网络抓取数据上训练的深度图像分类模型容易受到数据投毒的影响,这是一种对模型植入后门的机制。训练期间接触到少量投毒样本会严重破坏模型在推理阶段的完整性。现有工作将有效防御视为能够通过修复恢复模型完整性或检测出攻击。我们认为这种方法忽略了一个关键的权衡:攻击者可以牺牲不可检测性来提高鲁棒性(过度投毒),或者牺牲鲁棒性来降低可检测性(欠投毒)。在实践中,攻击应同时保持不可检测性和鲁棒性。可检测但鲁棒的攻击会引起人类注意和严格的模型评估,或者导致模型被重新训练或废弃。相反,不可检测但缺乏鲁棒性的攻击可以被修复,且对模型准确率影响极小。我们的研究指出了当前攻击评估方法的内在缺陷,并提高了对所有数据投毒攻击者的要求,他们必须精心平衡这一权衡以保持鲁棒性和不可检测性。为了证明存在更强大的防御者,我们提出了旨在使用有限数量的可信图像-标签对来检测或修复投毒模型的防御方法。我们的结果表明,需要同时保持鲁棒和不可检测的攻击者威胁大幅降低。我们的防御方法缓解了所有测试的攻击,在 CIFAR-10 上仅使用 1% 的干净数据,最大准确率下降 2%,在 ImageNet 上为 2.5%。我们通过评估如 CLIP 等大型视觉-语言模型来展示防御的可扩展性。能够操纵模型参数的攻击者会带来更高风险,因为与数据投毒攻击者相比,他们可以在低可检测性下实现更高的鲁棒性。

英文摘要:

Deep image classification models trained on vast amounts of web-scraped data are susceptible to data poisoning - a mechanism for backdooring models. A small number of poisoned samples seen during training can severely undermine a model's integrity during inference. Existing work considers an effective defense as one that either (i) restores a model's integrity through repair or (ii) detects an attack. We argue that this approach overlooks a crucial trade-off: Attackers can increase robustness at the expense of detectability (over-poisoning) or decrease detectability at the cost of robustness (under-poisoning). In practice, attacks should remain both undetectable and robust. Detectable but robust attacks draw human attention and rigorous model evaluation or cause the model to be re-trained or discarded. In contrast, attacks that are undetectable but lack robustness can be repaired with minimal impact on model accuracy. Our research points to intrinsic flaws in current attack evaluation methods and raises the bar for all data poisoning attackers who must delicately balance this trade-off to remain robust and undetectable. To demonstrate the existence of more potent defenders, we propose defenses designed to (i) detect or (ii) repair poisoned models using a limited amount of trusted image-label pairs. Our results show that an attacker who needs to be robust and undetectable is substantially less threatening. Our defenses mitigate all tested attacks with a maximum accuracy decline of 2% using only 1% of clean data on CIFAR-10 and 2.5% on ImageNet. We demonstrate the scalability of our defenses by evaluating large vision-language models, such as CLIP. Attackers who can manipulate the model's parameters pose an elevated risk as they can achieve higher robustness at low detectability compared to data poisoning attackers.

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

↑