Skip to main content
QUICK REVIEW

[论文解读] Temporal Robustness against Data Poisoning

Wenxiao Wang, Soheil Feizi|arXiv (Cornell University)|Feb 7, 2023
Adversarial Robustness in Machine LearningComputer Science被引用 3
一句话总结

本文提出了一种新颖的时间威胁模型用于数据中毒攻击,利用时间戳定义了两个新指标——提前度(攻击开始的提前时间)和持续时间(攻击持续时间),从而在中毒样本数量无界的情况下仍能实现时间鲁棒性。该文提出时间聚合防御方法,在提前度和持续时间有界条件下具备可证明的鲁棒性,并通过一个新基准进行验证,该基准模拟了持续的数据收集和周期性的模型更新。

ABSTRACT

Data poisoning considers cases when an adversary manipulates the behavior of machine learning algorithms through malicious training data. Existing threat models of data poisoning center around a single metric, the number of poisoned samples. In consequence, if attackers can poison more samples than expected with affordable overhead, as in many practical scenarios, they may be able to render existing defenses ineffective in a short time. To address this issue, we leverage timestamps denoting the birth dates of data, which are often available but neglected in the past. Benefiting from these timestamps, we propose a temporal threat model of data poisoning with two novel metrics, earliness and duration, which respectively measure how long an attack started in advance and how long an attack lasted. Using these metrics, we define the notions of temporal robustness against data poisoning, providing a meaningful sense of protection even with unbounded amounts of poisoned samples when the attacks are temporally bounded. We present a benchmark with an evaluation protocol simulating continuous data collection and periodic deployments of updated models, thus enabling empirical evaluation of temporal robustness. Lastly, we develop and also empirically verify a baseline defense, namely temporal aggregation, offering provable temporal robustness and highlighting the potential of our temporal threat model for data poisoning.

研究动机与目标

  • 解决现有数据中毒防御方法仅依赖受限中毒样本数量的局限性,该局限性在实际中可被规避。
  • 认识到数据样本的时间戳(通常可获取但被忽视)是建模和防御数据中毒的关键维度。
  • 提出一种新的时间威胁模型,以提前度和持续时间为攻击指标,即使中毒样本数量无界,也能实现鲁棒性。
  • 设计一个模拟持续数据收集和周期性模型更新的基准,以实证评估时间鲁棒性。
  • 开发并验证一种基线防御方法——时间聚合,实现可证明的时间鲁棒性。

提出的方法

  • 提出一种时间威胁模型,其中每个数据样本关联一个出生日期(时间戳),从而定义提前度和持续时间作为攻击指标。
  • 将时间鲁棒性定义为:在提前度和持续时间有界的攻击下,无论中毒样本数量如何,模型性能均能保持的能力。
  • 提出时间聚合:在不同时间窗口上训练多个基础分类器,并通过投票聚合其预测结果,以稀释中毒样本的影响。
  • 使用对称差分(D⊕D′)作为标准指标来衡量数据扰动,同时引入时间约束以限制攻击的可行性。
  • 设计一个模拟现实世界数据收集的基准:持续数据摄入,配合周期性模型重训练与评估。
  • 通过共享特征提取器和任务特定头实现时间聚合,以最小化训练和推理开销。

实验结果

研究问题

  • RQ1与仅依赖中毒样本数量相比,时间指标(如提前度和持续时间)是否能更真实、更有意义地表征数据中毒攻击?
  • RQ2是否可能定义一种鲁棒性概念,即使在中毒样本数量无界的情况下依然有意义?
  • RQ3现有防御方法能否被适配或重新构想,以利用时间信息提升鲁棒性?
  • RQ4在真实、持续的数据收集场景下,基于时间聚合的防御方法的实证性能如何?
  • RQ5能否为防御机制形式化证明时间鲁棒性?其与传统鲁棒性保证相比表现如何?

主要发现

  • 时间聚合实现了可证明的时间鲁棒性,意味着即使中毒样本数量无界,也能抵御具有有界提前度和持续时间的攻击。
  • 实证评估表明,增大聚合窗口大小(k)可显著提升时间鲁棒性,同时仅导致干净准确率轻微下降。
  • 由于可复用先前的基础分类器,该防御方法的额外训练成本极低。
  • 通过使用共享特征提取器并仅微调每个基础分类器的最后几层,推理开销较低。
  • 时间威胁模型为改进现有防御方法开辟了新可能,例如延迟基于检测方法的攻击成功时间,或延长攻击检测窗口。
  • 当基础覆盖范围较小时,时间聚合在有界中毒样本数量下也具备可证明鲁棒性,结合了传统防御与时间防御的优势。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。