跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:1908.04172 (cs)
[提交于 2019年8月12日 (v1),最后修订于 2019年8月29日 (此版本, v2)]

标题:nGraph-HE2: A High-Throughput Framework for Neural Network Inference on Encrypted Data

作者:Fabian Boemer, Anamaria Costache, Rosario Cammarota, Casimir Wierzynski
查看论文《nGraph-HE2: A High-Throughput Framework for Neural Network Inference on Encrypted Data》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In previous work, Boemer et al. introduced nGraph-HE, an extension to the Intel nGraph deep learning (DL) compiler, that enables data scientists to deploy models with popular frameworks such as TensorFlow and PyTorch with minimal code changes. However, the class of supported models was limited to relatively shallow networks with polynomial activations. Here, we introduce nGraph-HE2, which extends nGraph-HE to enable privacy-preserving inference on standard, pre-trained models using their native activation functions and number fields (typically real numbers). The proposed framework leverages the CKKS scheme, whose support for real numbers is friendly to data science, and a client-aided model using a two-party approach to compute activation functions. We first present CKKS-specific optimizations, enabling a 3x-88x runtime speedup for scalar encoding, and doubling the throughput through a novel use of CKKS plaintext packing into complex numbers. Second, we optimize ciphertext-plaintext addition and multiplication, yielding 2.6x-4.2x runtime speedup. Third, we exploit two graph-level optimizations: lazy rescaling and depth-aware encoding, which allow us to significantly improve performance. Together, these optimizations enable state-of-the-art throughput of 1,998 images/s on the CryptoNets network. Using the client-aided model, we also present homomorphic evaluation of (to our knowledge) the largest network to date, namely, pre-trained MobileNetV2 models on the ImageNet dataset, with 60.4\percent/82.7\percent\ top-1/top-5 accuracy and an amortized runtime of 381 ms/image.
主题: 密码学与安全 (cs.CR)
引用方式: arXiv:1908.04172 [cs.CR]
  (或者 arXiv:1908.04172v2 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.1908.04172

提交历史

来自:Fabian Boemer
[v1] 2019年8月12日 星期一 14:30:13 UTC
[v2] 2019年8月29日 星期四 19:16:10 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-08
切换浏览方式为:
cs.CR

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站