Skip to main content
QUICK REVIEW

[论文解读] Certified Robustness to Label-Flipping Attacks via Randomized Smoothing

Elan Rosenfeld, Ezra Winston|arXiv (Cornell University)|Feb 7, 2020
Adversarial Robustness in Machine LearningComputer Science参考文献 54被引用 19
一句话总结

本文提出一种新颖的逐点认证防御方法,通过在训练过程中使用随机平滑技术,实现对标签翻转数据 poisoning 攻击的确定性、解析性鲁棒性保证。通过在训练标签上进行随机化,该方法为每个样本提供认证,确保在对抗性标签翻转下预测结果保持不变,首次实现了无需对数据或特征质量做假设的多分类线性分类器的认证鲁棒性。

ABSTRACT

Machine learning algorithms are known to be susceptible to data poisoning attacks, where an adversary manipulates the training data to degrade performance of the resulting classifier. In this work, we present a unifying view of randomized smoothing over arbitrary functions, and we leverage this novel characterization to propose a new strategy for building classifiers that are pointwise-certifiably robust to general data poisoning attacks. As a specific instantiation, we utilize our framework to build linear classifiers that are robust to a strong variant of label flipping, where each test example is targeted independently. In other words, for each test point, our classifier includes a certification that its prediction would be the same had some number of training labels been changed adversarially. Randomized smoothing has previously been used to guarantee---with high probability---test-time robustness to adversarial manipulation of the input to a classifier; we derive a variant which provides a deterministic, analytical bound, sidestepping the probabilistic certificates that traditionally result from the sampling subprocedure. Further, we obtain these certified bounds with minimal additional runtime complexity over standard classification and no assumptions on the train or test distributions. We generalize our results to the multi-class case, providing the first multi-class classification algorithm that is certifiably robust to label-flipping attacks.

研究动机与目标

  • 解决针对目标数据 poisoning 攻击(尤其是标签翻转)缺乏认证防御的问题,即攻击者通过操纵训练标签使特定测试样本被错误分类。
  • 开发一种提供逐样本(点对点)鲁棒性保证的防御机制,确保每个预测在部分训练标签被对抗性翻转后仍保持正确。
  • 克服先前基于概率证书的局限性,推导出一种解析的、非概率的鲁棒性边界,消除对蒙特卡洛采样的依赖。
  • 实现对任意特征和分类器的鲁棒性,无需线性可分性或特定模型假设,支持与深度学习和无监督特征联合使用。
  • 在真实数据集(如 IMDB 和 ImageNet)上验证方法的可行性与有效性,使用预训练特征和无监督特征,展示在计算开销极低的情况下仍具有强大的认证准确率。

提出的方法

  • 将随机平滑的统一框架应用于训练过程本身,而非输入数据,具体为在模型学习过程中对训练标签进行随机化。
  • 通过计算训练集中标签翻转导致模型预测改变的概率,利用浓度不等式推导出鲁棒性的解析、确定性边界。
  • 构建一个通过标签随机平滑训练的线性分类器,每个预测均附带一个认证,表明在最多一定数量的标签翻转下预测结果仍保持不变。
  • 通过在不使用蒙特卡洛采样的前提下解析计算认证半径,确保可计算性,训练成本仅随训练样本数量线性增长。
  • 通过使用多项式浓度不等式将框架推广至多分类任务,扩展平滑与认证过程以支持多类别。
  • 将方法应用于预训练深度特征(如 ImageNet)和无监督特征(如 IMDB 上的 Word2Vec),证明其在多种数据模态中的广泛适用性。

实验结果

研究问题

  • RQ1我们能否为对抗性标签翻转数据 poisoning 攻击提供确定性、解析性的逐点鲁棒性认证,而非对测试分布的 probabilistic 保证?
  • RQ2是否可能将随机平滑从测试时的输入鲁棒性扩展到训练时的数据 poisoning 鲁棒性,同时保持计算可处理性?
  • RQ3我们能否在不假设输入空间中线性可分性或高质量特征的前提下,为多分类线性分类器实现认证鲁棒性?
  • RQ4标签噪声水平(平滑参数)如何影响真实世界数据集中非鲁棒准确率与认证鲁棒性之间的权衡?
  • RQ5该框架能否有效应用于非线性数据(如图像和文本),并结合现代无监督或迁移学习特征?

主要发现

  • 所提方法首次实现了对数据 poisoning 攻击的逐点认证防御,为每个测试预测提供确定性认证,表明其在对抗性标签翻转下仍保持不变。
  • 认证鲁棒性无需蒙特卡洛采样,而是基于浓度不等式推导出的解析边界,实现仅线性增长的训练成本,具有良好的可计算性。
  • 在 IMDB 情感分类数据集上,分类器实现了 78.96% 的非鲁棒准确率,并随着平滑噪声增加(q=0.1)而提升认证准确率,表明在噪声较大的词袋特征上仍具鲁棒性。
  • 在使用无监督 RICA 特征的 Dogfish 数据集上,方法在数据量有限的情况下仍实现了高认证准确率,证明其在低数据、非线性场景下的可行性。
  • 该方法在多种特征类型(包括 ImageNet 特征和预训练 Word2Vec 嵌入)上均保持鲁棒性,无需对数据线性或特征质量做任何假设。
  • 降低平滑参数 q 对非鲁棒准确率影响极小,但显著提升了认证鲁棒性,表明更复杂的数据在平滑过程中使用更低噪声时收益更大。

阅读本论文

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

在 Nubint 中阅读本论文

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