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

Privado:实用安全的飞地DNN推理

Privado: Practical and Secure DNN Inference with Enclaves

Microsoft Research(微软研究院);UC Berkeley(加州大学伯克利分校)

Karan Grover, Shruti Tople, Shweta Shinde, Ranjita Bhagwan, Ramachandran Ramjee

摘要:

云提供商正在扩展对英特尔SGX等可信硬件原语的支持。与此同时,深度学习领域也出现了巨大的创新,采用率也在增加。在本文中,我们适时地提出了一个问题:“第三方云服务能否使用英特尔SGX安全区来提供实用且安全的DNN推理即服务?“我们首先证明了在飞地内执行的DNN模型容易受到基于访问模式的攻击。我们表明,通过简单地观察访问模式,攻击者可以对MNIST和CIFAR 10数据集的加密输入进行分类,其攻击准确率分别为97%和71%,训练模型的原始准确率分别为99%和79%。这激发了对PRIVADO的需求,PRIVADO是我们为安全、易于使用和性能高效的推理即服务而设计的系统。PRIVADO是不注意输入的:它将用C/C++编写的任何深度学习框架转换为不受依赖于输入的访问模式的影响,从而消除了泄漏。PRIVADO是完全自动化的,TCB很低:开发人员无需付出任何努力,给定模型的ONNX描述,它可以生成紧凑和安全区兼容的代码,可以部署在SGX云平台上。PRIVADO带来的性能开销低:我们使用PRIVADO与火炬框架,并显示其开销平均为17.18%的11个不同的当代神经网络。

英文摘要:

Cloud providers are extending support for trusted hardware primitives such as Intel SGX. Simultaneously, the field of deep learning is seeing enormous innovation as well as an increase in adoption. In this paper, we ask a timely question: "Can third-party cloud services use Intel SGX enclaves to provide practical, yet secure DNN Inference-as-a-service?" We first demonstrate that DNN models executing inside enclaves are vulnerable to access pattern based attacks. We show that by simply observing access patterns, an attacker can classify encrypted inputs with 97% and 71% attack accuracy for MNIST and CIFAR10 datasets on models trained to achieve 99% and 79% original accuracy respectively. This motivates the need for PRIVADO, a system we have designed for secure, easy-to-use, and performance efficient inference-as-a-service. PRIVADO is input-oblivious: it transforms any deep learning framework that is written in C/C++ to be free of input-dependent access patterns thus eliminating the leakage. PRIVADO is fully-automated and has a low TCB: with zero developer effort, given an ONNX description of a model, it generates compact and enclave-compatible code which can be deployed on an SGX cloud platform. PRIVADO incurs low performance overhead: we use PRIVADO with Torch framework and show its overhead to be 17.18% on average on 11 different contemporary neural networks.

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

↑