[论文解读] Active Deep Learning Attacks under Strict Rate Limitations for Online API Calls
本文提出了一种主动深度学习攻击框架,用于在严格速率限制下推断在线分类器API,通过迭代主动学习最小化所需的API调用次数。仅使用1,107次查询即实现92.3%的标签相似度,从而能够有效实施逃避攻击和因果性(投毒)攻击,平均使分类器可靠性下降达48%。
Machine learning has been applied to a broad range of applications and some of them are available online as application programming interfaces (APIs) with either free (trial) or paid subscriptions. In this paper, we study adversarial machine learning in the form of back-box attacks on online classifier APIs. We start with a deep learning based exploratory (inference) attack, which aims to build a classifier that can provide similar classification results (labels) as the target classifier. To minimize the difference between the labels returned by the inferred classifier and the target classifier, we show that the deep learning based exploratory attack requires a large number of labeled training data samples. These labels can be collected by calling the online API, but usually there is some strict rate limitation on the number of allowed API calls. To mitigate the impact of limited training data, we develop an active learning approach that first builds a classifier based on a small number of API calls and uses this classifier to select samples to further collect their labels. Then, a new classifier is built using more training data samples. This updating process can be repeated multiple times. We show that this active learning approach can build an adversarial classifier with a small statistical difference from the target classifier using only a limited number of training data samples. We further consider evasion and causative (poisoning) attacks based on the inferred classifier that is built by the exploratory attack. Evasion attack determines samples that the target classifier is likely to misclassify, whereas causative attack provides erroneous training data samples to reduce the reliability of the re-trained classifier. The success of these attacks show that adversarial machine learning emerges as a feasible threat in the realistic case with limited training data.
研究动机与目标
- 解决在严格速率限制导致允许的API调用次数受限时,推断在线分类器API的挑战。
- 开发一种基于主动学习的方法,在最小化所需API查询次数的同时最大化推断分类器的准确性。
- 在现实数据约束下,利用推断的分类器实现下游对抗性攻击——逃避攻击与因果性(投毒)攻击。
- 评估在训练数据访问受限的真实场景中,对抗性机器学习的可行性与影响。
提出的方法
- 该方法从一个初始的1,107次API调用开始,收集用于训练初始深度学习分类器$ˇ{T}$的标注数据。
- 采用主动学习循环:当前分类器$ˇ{T}$基于不确定性或置信度间隔选择最具信息量的样本,向目标API发起查询,以减少冗余查询。
- 通过使用新获取的标注数据迭代重新训练模型,提升准确性,同时最小化总API使用量。
- 在逃避攻击中,使用推断的分类器$ˇ{T}$识别那些可能被目标$T$错误分类的测试样本。
- 在因果性攻击中,攻击者识别出具有高置信度预测(远离决策阈值)的样本,并将其标签翻转以污染重新训练过程。
- 使用差异度量$d(T,\tilde{T}) = \frac{m_1 + m_2}{n_1 + n_2}$量化因果性攻击的影响,该度量用于衡量原始分类器$T$与更新后分类器$\tilde{T}$之间的标签不一致程度。
实验结果
研究问题
- RQ1当允许的API调用次数受到严格限制时,对抗性深度学习攻击是否仍具有效性?
- RQ2如何利用主动学习最小化所需API查询次数,同时保持分类器推断的高保真度?
- RQ3在数据受限条件下,推断的分类器在多大程度上能够支持成功的逃避攻击与因果性(投毒)攻击?
- RQ4当仅少量标签被投毒时,因果性攻击对分类器可靠性造成的定量影响如何?
主要发现
- 基于主动学习的探索性攻击仅使用1,107次API调用,即实现了推断分类器$\hat{T}$与目标分类器$T$之间92.3%的标签相似度。
- 在$p = 10\%$的投毒率下,因果性攻击导致原始分类器$T$与更新后分类器$\tilde{T}$之间平均标签不一致度达到48.00%。
- 在正样本上的差异度为$d_1(T,\tilde{T}) = 39.92\%$,在负样本上的差异度为$d_2(T,\tilde{T}) = 55.64\%$,表明分类器可靠性显著下降。
- 该方法通过选择具有高置信度预测(远离阈值)的样本进行投毒,成功识别出高影响力样本,从而最大化攻击效果。
- 该框架表明,即使在真实场景中存在数据访问受限和API速率限制的约束下,对抗性机器学习仍是一种切实可行的威胁。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。