利用软标签的时间性和鲁棒相似性近似增强对抗攻击的状态检测
Enhancing Stateful Detection of Adversarial Attacks with Soft-labels' Temporality and Robust Similarity Approximations
AI总结:
提出两阶段方法,利用软标签时间相关性降低误报率,并设计鲁棒相似性近似防御针对近似函数的对抗攻击,在多种攻击下TPR达1.00,FPR≤0.06。
摘要:
状态检测通过判断查询序列是否包含来自黑盒对手的查询来缓解对抗攻击。最近的工作如Blacklight和PIHA利用查询相似性来检测此类查询。在本文中,我们观察到时间信息,特别是分类软标签的时间相关性,是对抗攻击的一个显著特征,可用于降低误报率。此外,我们指出了状态检测实现中的一个潜在漏洞。许多状态检测系统根据某些隐式、计算昂贵的度量来识别相似查询。为了提高效率,这些系统通常采用近似相似函数作为替代。这种差异可能被利用,通过构造在近似下看似不同但在预期度量下接近的查询来逃避检测。我们将此称为对近似函数的“对抗攻击”,并通过针对Blacklight相似性函数的轻量级攻击进行了演示。基于上述观察,我们提出了一种两阶段方法。第一阶段识别具有高相似性的查询子序列,并引入随机性以防止上述“对抗攻击”。第二阶段分析软标签的时间相关性,以进一步验证对手查询的存在。实验结果表明,该框架检测由Boundary Attack、HSJA、SimBA、Square Attack生成的对抗查询,真阳性率达到1.00,同时保持最多0.06的假阳性率。此外,该方法对自适应攻击OARS具有鲁棒性。
英文摘要:
Stateful Detection (SD) mitigates adversarial attacks by determining whether a sequence of queries contains queries from a black-box adversary. Recent works, such as Blacklight and PIHA utilize query similarity to detect such queries. In this paper, we observe that temporal information, in particular, the temporal correlation of the classification soft labels, is a prominent characteristic of adversarial attacks and can be leveraged to reduce false positive rates. Moreover, we point out a potential vulnerability in SD implementation. Many SD systems identify similar queries according to some implicit, computationally expensive metric. To improve efficiency, these systems often adopt an approximate similarity function as substitute. This discrepancy could be exploited by crafting queries that appear dissimilar under the approximation but are close in the intended metric, thereby evading detection. We refer to this as an ``adversarial attack'' on the approximation function, and demonstrate it through a lightweight attack on Blacklight's similarity function. Based on the above observations, we propose a two-phase approach. The first phase identifies subsequences of queries with high similarity, incorporating randomness to prevent the aforementioned ``adversarial attacks''. The second phase analyzes temporal correlation of the soft-labels to further validate the presence of the adversary's queries. Experimental results show that the framework detects adversarial queries generated by Boundary Attack, HSJA, SimBA, Square Attack with true positive rate (TPR) reaching 1.00, while maintaining a false positive rate (FPR) of at most 0.06. Additionally, the method is robust against OARS which is an adaptive attack.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。