arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.09671cs.LGcs.CR
收藏

并非所有的毒药都是一样的:对抗数据投毒的鲁棒训练

Not All Poisons are Created Equal: Robust Training against Data Poisoning

University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Yu Yang, Tian Yu Liu, Baharan Mirzasoleiman

摘要:

数据投毒通过在训练数据中注入恶意制作的样本来导致测试时间目标示例的错误分类。现有的防御通常仅对特定类型的目标攻击有效,显著降低泛化性能,或者对标准深度学习管道是禁止的。在这项工作中,我们提出了一个有效的防御机制,显着降低了各种数据投毒攻击的成功率,并提供了理论保证模型的性能。定向攻击的工作原理是向随机选择的训练数据子集添加有界扰动,以匹配目标的梯度或表示。我们证明:(i)在有界扰动下,只有一些毒药可以被优化为具有足够接近目标的梯度并使攻击成功;(ii)这样的有效毒药远离它们的原始类别并在梯度空间中被隔离;(iii)在训练期间在低密度梯度区域中丢弃示例可以成功地消除有效毒物,并且保证与在全数据上训练的训练动态类似的训练动态。我们广泛的实验表明,我们的方法显着降低了最先进的有针对性的攻击的成功率,包括梯度匹配和靶心多面体,并很容易扩展到大型数据集。

英文摘要:

Data poisoning causes misclassification of test time target examples by injecting maliciously crafted samples in the training data. Existing defenses are often effective only against a specific type of targeted attack, significantly degrade the generalization performance, or are prohibitive for standard deep learning pipelines. In this work, we propose an efficient defense mechanism that significantly reduces the success rate of various data poisoning attacks, and provides theoretical guarantees for the performance of the model. Targeted attacks work by adding bounded perturbations to a randomly selected subset of training data to match the targets' gradient or representation. We show that: (i) under bounded perturbations, only a number of poisons can be optimized to have a gradient that is close enough to that of the target and make the attack successful; (ii) such effective poisons move away from their original class and get isolated in the gradient space; (iii) dropping examples in low-density gradient regions during training can successfully eliminate the effective poisons, and guarantees similar training dynamics to that of training on full data. Our extensive experiments show that our method significantly decreases the success rate of state-of-the-art targeted attacks, including Gradient Matching and Bullseye Polytope, and easily scales to large datasets.

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

↑