arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.16139cs.CRcs.LGcs.PF
收藏

支持大型DNN模型的同态加密推理

Enabling Homomorphically Encrypted Inference for Large DNN Models

Barcelona Supercomputing Center (BSC)(巴塞罗那超级计算中心);Intel Corporation(英特尔公司)

Guillermo Lloret-Talavera, Marc Jorda, Harald Servat, Fabian Boemer, Chetan Chauhan, Shigeki Tomishima, Nilesh N. Shah, Antonio J. Peña

摘要:

过去几年中,机器学习服务的激增引发了人们对数据隐私的担忧。同态加密(HE)支持使用加密数据进行推理,但它会导致100倍至10,000倍的内存和运行时开销。使用HE的安全深度神经网络(DNN)推理目前受到计算和存储器资源的限制,框架需要数百GB的DRAM来评估小模型。为了克服这些限制,在本文中,我们探讨了利用混合存储器系统的DRAM和持久性存储器组成的可行性。特别是,我们探索了最近发布的英特尔Optane PMem技术和英特尔HE-Transformer nGraph,以运行大型神经网络,如MobileNetV 2(最大的变体)和ResNet-50,这在文献中尚属首次。我们提出了一个深入的分析与不同的硬件和软件配置的执行效率。我们的研究结果得出结论,DNN推理使用HE招致友好的访问模式,这种内存配置,产生有效的执行。

英文摘要:

The proliferation of machine learning services in the last few years has raised data privacy concerns. Homomorphic encryption (HE) enables inference using encrypted data but it incurs 100x-10,000x memory and runtime overheads. Secure deep neural network (DNN) inference using HE is currently limited by computing and memory resources, with frameworks requiring hundreds of gigabytes of DRAM to evaluate small models. To overcome these limitations, in this paper we explore the feasibility of leveraging hybrid memory systems comprised of DRAM and persistent memory. In particular, we explore the recently-released Intel Optane PMem technology and the Intel HE-Transformer nGraph to run large neural networks such as MobileNetV2 (in its largest variant) and ResNet-50 for the first time in the literature. We present an in-depth analysis of the efficiency of the executions with different hardware and software configurations. Our results conclude that DNN inference using HE incurs on friendly access patterns for this memory configuration, yielding efficient executions.

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

↑