论文标题

索特里亚:寻找有效的私人推理神经网络

SOTERIA: In Search of Efficient Neural Networks for Private Inference

论文作者

Aggarwal, Anshul, Carlson, Trevor E., Shokri, Reza, Tople, Shruti

论文摘要

ML-AS-A-Service在云服务器托管经过训练的模型并为用户提供预测(推理)服务的情况下获得了普及。在这种情况下,我们的目标是保护用户输入查询的机密性以及服务器上的模型参数,并具有适度的计算和通信开销。先前的解决方案主要提出微调加密方法,以使其对于已知的固定模型体系结构有效。这种方法的缺点是该模型本身从未设计用于使用现有的有效加密计算进行操作。我们观察到,在推断期间,在训练过程中选择了网络体系结构,内部功能和参数,这些网络架构,内部功能和参数均已在训练过程中显着影响加密方法的计算和通信开销。基于此观察,我们提出了Soteria,这是一种培训方法,用于构建具有限制私人推理的模型体系结构。我们使用神经体系结构搜索算法,其双重目标是优化模型的准确性以及使用加密原始图的开销进行安全推理。鉴于在训练过程中修改模型的灵活性,我们找到了准确的模型,这些模型也有效地用于私人计算。由于其表现力和效率,我们选择乱码的电路作为我们的潜在加密原始原始,但是这种方法可以扩展到混合多方计算设置。我们从经验上评估了MNIST和CIFAR10数据集的Soteria,以与先前的工作进行比较。我们的结果证实,Soteria确实可以有效地平衡性能和准确性。

ML-as-a-service is gaining popularity where a cloud server hosts a trained model and offers prediction (inference) service to users. In this setting, our objective is to protect the confidentiality of both the users' input queries as well as the model parameters at the server, with modest computation and communication overhead. Prior solutions primarily propose fine-tuning cryptographic methods to make them efficient for known fixed model architectures. The drawback with this line of approach is that the model itself is never designed to operate with existing efficient cryptographic computations. We observe that the network architecture, internal functions, and parameters of a model, which are all chosen during training, significantly influence the computation and communication overhead of a cryptographic method, during inference. Based on this observation, we propose SOTERIA -- a training method to construct model architectures that are by-design efficient for private inference. We use neural architecture search algorithms with the dual objective of optimizing the accuracy of the model and the overhead of using cryptographic primitives for secure inference. Given the flexibility of modifying a model during training, we find accurate models that are also efficient for private computation. We select garbled circuits as our underlying cryptographic primitive, due to their expressiveness and efficiency, but this approach can be extended to hybrid multi-party computation settings. We empirically evaluate SOTERIA on MNIST and CIFAR10 datasets, to compare with the prior work. Our results confirm that SOTERIA is indeed effective in balancing performance and accuracy.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源