外部无隐私:论TEE防护的DNN分区在端侧机器学习中的(不)安全性
No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML
AI总结:
本文发现现有TEE防护的DNN分区(TSDP)方案易受隐私窃取攻击,并提出TEESlice方法,通过训练前分区策略实现与全模型TEE防护相同的安全性,同时降低10倍以上开销且无精度损失。
摘要:
端侧机器学习引入了新的安全挑战:DNN模型对设备用户变为白盒可访问。基于白盒信息,攻击者可以进行有效的模型窃取(MS)和成员推断攻击(MIA)。使用可信执行环境(TEE)来防护端侧DNN模型旨在将(容易的)白盒攻击降级为(更难的)黑盒攻击。然而,一个主要的缺点是延迟急剧增加(高达50倍)。为了使用GPU加速TEE防护的DNN计算,研究人员提出了几种模型分区技术。这些解决方案被称为TEE防护的DNN分区(TSDP),它们将DNN模型分为两部分,将隐私不敏感的部分卸载到GPU,同时将隐私敏感的部分防护在TEE内。本文使用MS和MIA在多种DNN模型、数据集和指标上对现有的TSDP解决方案进行了基准测试。我们展示了重要的发现:现有的TSDP解决方案容易受到隐私窃取攻击,并且不像通常认为的那样安全。我们还揭示了为现有TSDP解决方案确定最优DNN分区配置(即最高安全性且最小效用成本)的内在困难。实验表明,这种“最佳点”配置因数据集和模型而异。基于实验中的经验教训,我们提出了TEESlice,一种新颖的TSDP方法,可在DNN推理期间防御MS和MIA。TEESlice遵循训练前分区的策略,这允许准确地将隐私相关权重与公共权重分离。TEESlice提供了与将整个DNN模型防护在TEE内相同的安全保护(“上限”安全保证),并且开销比先前的TSDP解决方案低10倍以上(在实验和真实环境中),且没有精度损失。
英文摘要:
On-device ML introduces new security challenges: DNN models become white-box accessible to device users. Based on white-box information, adversaries can conduct effective model stealing (MS) and membership inference attack (MIA). Using Trusted Execution Environments (TEEs) to shield on-device DNN models aims to downgrade (easy) white-box attacks to (harder) black-box attacks. However, one major shortcoming is the sharply increased latency (up to 50X). To accelerate TEE-shield DNN computation with GPUs, researchers proposed several model partition techniques. These solutions, referred to as TEE-Shielded DNN Partition (TSDP), partition a DNN model into two parts, offloading the privacy-insensitive part to the GPU while shielding the privacy-sensitive part within the TEE. This paper benchmarks existing TSDP solutions using both MS and MIA across a variety of DNN models, datasets, and metrics. We show important findings that existing TSDP solutions are vulnerable to privacy-stealing attacks and are not as safe as commonly believed. We also unveil the inherent difficulty in deciding optimal DNN partition configurations (i.e., the highest security with minimal utility cost) for present TSDP solutions. The experiments show that such ``sweet spot'' configurations vary across datasets and models. Based on lessons harvested from the experiments, we present TEESlice, a novel TSDP method that defends against MS and MIA during DNN inference. TEESlice follows a partition-before-training strategy, which allows for accurate separation between privacy-related weights from public weights. TEESlice delivers the same security protection as shielding the entire DNN model inside TEE (the ``upper-bound'' security guarantees) with over 10X less overhead (in both experimental and real-world environments) than prior TSDP solutions and no accuracy loss.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。