arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.11121cs.CRcs.AI
收藏

TransLinkGuard:在边缘部署中保护Transformer模型免受模型窃取

TransLinkGuard: Safeguarding Transformer Models Against Model Stealing in Edge Deployment

Zhejiang University(浙江大学)

Qinfeng Li, Zhiqiang Shen, Zhenghan Qin, Yangfan Xie, Xuhong Zhang, Tianyu Du, Jianwei Yin

AI总结:

本文提出TransLinkGuard,一种基于TEE轻量级授权模块的即插即用边缘模型保护方法,以可忽略开销实现黑盒级安全,抵御模型窃取攻击。

摘要:

专有大型语言模型(LLMs)已被广泛应用于各种场景。此外,出于效率和隐私考虑,将LLMs部署在边缘设备上正成为一种趋势。然而,专有LLMs的边缘部署带来了新的安全挑战:边缘部署的模型以白盒形式对用户可见,使攻击者能够实施有效的模型窃取(MS)攻击。不幸的是,现有的防御机制无法提供有效保护。具体而言,我们识别出现有方法无法同时满足的四项关键保护属性:(1)在模型被物理复制后仍保持保护;(2)在请求级别授权模型访问;(3)保护运行时逆向工程;(4)以可忽略的运行时开销实现高安全性。为解决上述问题,我们提出TransLinkGuard,这是一种即插即用的模型保护方法,用于在边缘设备上防御模型窃取。TransLinkGuard的核心是一个驻留在安全环境(如TEE)中的轻量级授权模块。该授权模块可以根据每个请求的输入对其进行全新授权。大量实验表明,TransLinkGuard以可忽略的开销实现了与黑盒安全保证相同的安全保护。

英文摘要:

Proprietary large language models (LLMs) have been widely applied in various scenarios. Additionally, deploying LLMs on edge devices is trending for efficiency and privacy reasons. However, edge deployment of proprietary LLMs introduces new security challenges: edge-deployed models are exposed as white-box accessible to users, enabling adversaries to conduct effective model stealing (MS) attacks. Unfortunately, existing defense mechanisms fail to provide effective protection. Specifically, we identify four critical protection properties that existing methods fail to simultaneously satisfy: (1) maintaining protection after a model is physically copied; (2) authorizing model access at request level; (3) safeguarding runtime reverse engineering; (4) achieving high security with negligible runtime overhead. To address the above issues, we propose TransLinkGuard, a plug-and-play model protection approach against model stealing on edge devices. The core part of TransLinkGuard is a lightweight authorization module residing in a secure environment, e.g., TEE. The authorization module can freshly authorize each request based on its input. Extensive experiments show that TransLinkGuard achieves the same security protection as the black-box security guarantees with negligible overhead.

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

↑