arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.07437cs.CR
收藏

面向深度神经网络模型的隐私保护层划分

Privacy preserving layer partitioning for Deep Neural Network models

Kishore Rajasekar, Randolph Loh, Kar Wai Fok, Vrizlynn L. L. Thing

AI总结:

针对TEEs运行ML模型推理性能开销高的问题,提出层划分技术将计算拆分至TEE与GPU执行,同时验证了该方法可抵御c-GAN输入重建攻击,在多个常用模型与数据集上完成评估。

摘要:

机器学习即服务(MLaaS)在云计算领域已得到广泛应用,用户可借助云资源对自身数据执行机器学习模型的私有推理。然而,保障用户输入隐私与推理执行的安全性至关重要。保护数据隐私与完整性的方法之一是使用可信执行环境(TEEs),该技术支持在安全硬件飞地中执行程序。但由于额外的加密、解密、安全与完整性检查环节,使用TEEs会带来显著的性能开销,与在无保护硬件上运行相比,会导致推理速度变慢。\n在本研究中,我们通过引入层划分技术并将计算卸载到GPU,提升了机器学习模型的运行时性能。该技术包含两个不同的划分部分:一部分在TEE内执行,另一部分通过GPU加速器执行。层划分会使中间特征图以明文形式暴露,这可能引发重建攻击,进而恢复输入数据。我们开展实验验证了所提方法在抵御基于训练好的条件生成对抗网络(c-GAN)构建的输入重建攻击方面的有效性。评估在VGG-16、ResNet-50、EfficientNetB0等常用模型上开展,使用两个数据集:用于图像分类的ImageNet数据集,以及用于网络安全攻击检测的TON IoT数据集。

英文摘要:

MLaaS (Machine Learning as a Service) has become popular in the cloud computing domain, allowing users to leverage cloud resources for running private inference of ML models on their data. However, ensuring user input privacy and secure inference execution is essential. One of the approaches to protect data privacy and integrity is to use Trusted Execution Environments (TEEs) by enabling execution of programs in secure hardware enclave. Using TEEs can introduce significant performance overhead due to the additional layers of encryption, decryption, security and integrity checks. This can lead to slower inference times compared to running on unprotected hardware. In our work, we enhance the runtime performance of ML models by introducing layer partitioning technique and offloading computations to GPU. The technique comprises two distinct partitions: one executed within the TEE, and the other carried out using a GPU accelerator. Layer partitioning exposes intermediate feature maps in the clear which can lead to reconstruction attacks to recover the input. We conduct experiments to demonstrate the effectiveness of our approach in protecting against input reconstruction attacks developed using trained conditional Generative Adversarial Network(c-GAN). The evaluation is performed on widely used models such as VGG-16, ResNet-50, and EfficientNetB0, using two datasets: ImageNet for Image classification and TON IoT dataset for cybersecurity attack detection.

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

↑