slytHErin:一个用于加密深度神经网络推理的敏捷框架
slytHErin: An Agile Framework for Encrypted Deep Neural Network Inference
AI总结:
本研究提出敏捷框架slytHErin,结合HE与MHE的混合设计,支持加密数据、模型或二者的隐私保护PaaS,具备灵活打包与通用优化,简化加密深度学习推理的开发与部署。
摘要:
同态加密(HE)允许对加密数据进行计算,是机密云计算的支撑技术。一个典型的例子是隐私保护型预测即服务(PaaS),即机器学习预测在加密数据上完成计算。然而,为加密PaaS开发基于HE的解决方案是一项繁琐的任务,需要精心设计,且设计很大程度上取决于部署场景以及对现代HE方案特性的利用。\n此前隐私保护PaaS的相关研究仅专注于保护上传至远程模型提供商(例如提供预测API的云服务)的客户端数据的机密性,并假设(或利用该事实)模型以明文形式存储。此外,这些研究的目标要么是通过单次处理一个样本来最小化服务延迟,要么是在处理固定(大量)样本时最大化每秒处理的样本数量。\n在本研究中,我们提出了slytHErin,这是一个敏捷框架,能够支持超出以往研究应用场景的隐私保护PaaS。得益于其结合HE及其多方变体(MHE)的混合设计,slytHErin通过加密数据、模型或同时加密两者,实现了全新的PaaS场景。此外,slytHErin具备灵活的输入数据打包方法,可处理任意数量样本的批次,还包含多项不依赖模型与设置的计算优化。\nslytHErin采用Go语言实现,终端用户仅需几行代码,即可在包含全连接层、卷积层和池化层的自定义深度学习模型上执行加密PaaS,无需担忧HE固有的复杂实现与优化问题。
英文摘要:
Homomorphic encryption (HE), which allows computations on encrypted data, is an enabling technology for confidential cloud computing. One notable example is privacy-preserving Prediction-as-a-Service (PaaS), where machine-learning predictions are computed on encrypted data. However, developing HE-based solutions for encrypted PaaS is a tedious task which requires a careful design that predominantly depends on the deployment scenario and on leveraging the characteristics of modern HE schemes. Prior works on privacy-preserving PaaS focus solely on protecting the confidentiality of the client data uploaded to a remote model provider, e.g., a cloud offering a prediction API, and assume (or take advantage of the fact) that the model is held in plaintext. Furthermore, their aim is to either minimize the latency of the service by processing one sample at a time, or to maximize the number of samples processed per second, while processing a fixed (large) number of samples. In this work, we present slytHErin, an agile framework that enables privacy-preserving PaaS beyond the application scenarios considered in prior works. Thanks to its hybrid design leveraging HE and its multiparty variant (MHE), slytHErin enables novel PaaS scenarios by encrypting the data, the model or both. Moreover, slytHErin features a flexible input data packing approach that allows processing a batch of an arbitrary number of samples, and several computation optimizations that are model-and-setting-agnostic. slytHErin is implemented in Go and it allows end-users to perform encrypted PaaS on custom deep learning models comprising fully-connected, convolutional, and pooling layers, in a few lines of code and without having to worry about the cumbersome implementation and optimization concerns inherent to HE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。