arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.21565cs.CRcs.AI
收藏

BiShield-TEE:设备端TEE防护的LLM分区中单向权重混淆的(不)安全性研究

BiShield-TEE: On the (In-)Security of Unilateral Weight Obfuscation in On-Device TEE-Shielded LLM Partition

Tsinghua University(清华大学);Zhongguancun Laboratory(中关村实验室);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Zhiyuan Wang, Yuezhi Zhou, Ziqi Zhang, Zhu Zhang, Zhixing Tan, Yongheng Deng

AI总结:

该研究针对设备端TEE防护LLM分区中单向权重混淆的漏洞,提出双向框架BiShield-TEE,可限制攻击准确率并提升推理效率,破解了GroupCover等方法的防护。

摘要:

由于延迟和隐私需求,大型语言模型(LLM)的设备端部署日益普及,但这会使专有模型面临逆向工程和知识产权盗窃的风险。可信执行环境(TEE)为设备端推理提供硬件强制隔离,然而大多数基于TEE的参数混淆依赖仅混淆输出侧的单向矩阵变换。我们发现该设计中的一个漏洞,称为“解的确定性属性(SDP)”:混淆密钥可被唯一确定,暴露真实密钥的结构,使攻击者能够破解防护。在我们的攻击下,代表性方法GroupCover和ArrowCloak的防护效果降至可忽略不计,攻击准确率达到全防护黑盒基线的2.4倍以上,并恢复了几乎完整的模型。为解决此漏洞,我们提出BiShield-TEE,这是一个通过联合混淆输入和输出维度来诱导“模糊解”的双向框架,将真实密钥隐藏在众多同等有效的候选密钥中。在不同模型和数据集上的实验表明,BiShield-TEE将攻击准确率限制在全防护黑盒基线水平,同时在真实设备上实现了比现有方法更高的推理效率。代码可在指定网址获取。

英文摘要:

On-device deployment of large language models (LLMs) is increasingly adopted due to latency and privacy requirements, but exposes proprietary models to reverse engineering and intellectual property theft. Trusted Execution Environments (TEEs) provide hardware-enforced isolation for on-device inference, yet most TEE-based parameter obfuscation relies on unilateral matrix transformations that obfuscate only the output side. We identify a vulnerability in this design, termed the Solution Determinacy Property (SDP): the obfuscation secret is uniquely determined, exposing the structure of the true key and enabling attackers to break the protection. Under our attacks, representative methods GroupCover and ArrowCloak are reduced to negligible protection, with attack accuracy reaching over 2.4 times the full-shielding black-box baseline and recovering near-complete model functionality. To address this vulnerability, we propose BiShield-TEE, a bilateral framework that induces Ambiguous Solutions through joint obfuscation of input and output dimensions, hiding the true key among many equally valid candidates. Experiments across diverse models and datasets show that BiShield-TEE confines attack accuracy to the full-shielding black-box baseline, while achieving higher inference efficiency than prior methods on real hardware. Our code is available at https://github.com/laduiw/BiShield-TEE.

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

↑