arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.01292cs.CRcs.AIcs.LG
收藏

Pareto安全机器学习(PSML):推理服务系统的指纹识别与安全防护

Pareto-Secure Machine Learning (PSML): Fingerprinting and Securing Inference Serving Systems

Georgia Institute of Technology(佐治亚理工学院);University of California, Riverside(加州大学河滨分校);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);University of Virginia(弗吉尼亚大学);George Washington University(乔治华盛顿大学)

Debopam Sanyal, Jui-Tse Hung, Manav Agrawal, Prahlad Jasti, Shahab Nikkhoo, Somesh Jha, Tianhao Wang, Sibin Mohan, Alexey Tumanov

AI总结:

本文针对推理服务系统中模型隐藏于抽象层后导致传统提取攻击失效的问题,提出查询高效的指纹识别算法以稳定触发目标模型,并设计基于噪声的防御机制,在保持80%以上有效吞吐量的同时显著降低提取攻击的准确率与保真度。

摘要:

模型服务系统日益流行,尤其是在实时Web应用中。在此类系统中,用户向服务器发送查询并指定期望的性能指标(例如期望的准确率、延迟)。服务器在后端维护一组模型(模型库),并根据指定的指标来服务查询。本文考察此类系统的安全性,特别是针对模型提取攻击的鲁棒性。现有的黑盒攻击假设可以重复选择单一模型来服务推理请求。现代推理服务系统打破了这一假设。因此,这些攻击无法直接用于提取受害模型,因为模型隐藏在服务系统所暴露的抽象层之后。攻击者不再能够识别她正在与哪个模型交互。为此,我们首先提出一种查询高效的指纹识别算法,使攻击者能够持续稳定地触发任意期望的模型。我们表明,通过使用我们的指纹识别算法,模型提取的保真度和准确率得分与攻击单一、明确指定的模型时所获得的得分相差在1%以内,并且与朴素攻击相比,准确率最高提升14.6%,保真度最高提升7.7%。其次,我们提出一种基于噪声的防御机制来对抗所提出的攻击,该机制通过向指定的性能指标添加噪声来挫败指纹识别。所提出的防御策略将攻击的准确率和保真度分别降低最多9.8%和4.8%(在中等规模模型提取上)。第三,我们表明所提出的防御在保护水平与系统有效吞吐量之间引入了一种根本性的权衡,在保持可接受的有效吞吐量(>80%)的同时,实现了可配置且显著的受害模型提取保护。我们在一个真实系统中实现了所提出的防御,并计划开源。

英文摘要:

Model-serving systems have become increasingly popular, especially in real-time web applications. In such systems, users send queries to the server and specify the desired performance metrics (e.g., desired accuracy, latency). The server maintains a set of models (model zoo) in the back-end and serves the queries based on the specified metrics. This paper examines the security, specifically robustness against model extraction attacks, of such systems. Existing black-box attacks assume a single model can be repeatedly selected for serving inference requests. Modern inference serving systems break this assumption. Thus, they cannot be directly applied to extract a victim model, as models are hidden behind a layer of abstraction exposed by the serving system. An attacker can no longer identify which model she is interacting with. To this end, we first propose a query-efficient fingerprinting algorithm to enable the attacker to trigger any desired model consistently. We show that by using our fingerprinting algorithm, model extraction can have fidelity and accuracy scores within $1\%$ of the scores obtained when attacking a single, explicitly specified model, as well as up to $14.6\%$ gain in accuracy and up to $7.7\%$ gain in fidelity compared to the naive attack. Second, we counter the proposed attack with a noise-based defense mechanism that thwarts fingerprinting by adding noise to the specified performance metrics. The proposed defense strategy reduces the attack's accuracy and fidelity by up to $9.8\%$ and $4.8\%$, respectively (on medium-sized model extraction). Third, we show that the proposed defense induces a fundamental trade-off between the level of protection and system goodput, achieving configurable and significant victim model extraction protection while maintaining acceptable goodput ($>80\%$). We implement the proposed defense in a real system with plans to open source.

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

↑