arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.02648cs.CRcs.AR
收藏

隐私保护的内存内计算引擎

Privacy Preserving In-memory Computing Engine

Haoran Geng, Jianqiao Mo, Dayane Reis, Jonathan Takeshita, Taeho Jung, Brandon Reagen, Michael Niemier, Xiaobo Sharon Hu

AI总结:

本文提出内存内计算架构 PPIMCE,通过多 IMC 核心并行和 SRAM 内计算同时降低同态加密与混淆电路的计算和数据传输开销,在 GC、HE 乘法及隐私保护机器学习推理上取得显著加速。

摘要:

隐私已迅速成为重要的关注点和设计考量。同态加密(HE)和混淆电路(GC)是支持在加密数据上进行计算的隐私保护技术。HE 和 GC 可以相互补充,因为 HE 在线性运算上更高效,而 GC 在非线性运算上更有效。二者结合能够使复杂的计算任务(例如机器学习)在密文上被精确执行。然而,HE 和 GC 带来了两个主要瓶颈:较高的计算开销和高昂的数据传输成本。本文提出 PPIMCE,这是一种内存内计算(IMC)架构,旨在同时缓解计算开销和数据传输问题。通过使用多个 IMC 核心实现高并行度,并利用 SRAM 内 IMC 进行数据管理,PPIMCE 为加速 HE 和 GC 提供了一种紧凑且高能效的解决方案。与 CPU 上的 GC 实现相比,PPIMCE 实现了 107 倍的加速。此外,与基于 CKKS 的 HE 乘法的 CPU 和 GPU 实现相比,PPIMCE 分别实现了 1,500 倍和 800 倍的加速。对于隐私保护机器学习推理,PPIMCE 相比 CPU 实现了 1,000 倍的加速,并相比当前最先进的隐私保护计算加速器 CraterLake 实现了 12 倍的加速。

英文摘要:

Privacy has rapidly become a major concern/design consideration. Homomorphic Encryption (HE) and Garbled Circuits (GC) are privacy-preserving techniques that support computations on encrypted data. HE and GC can complement each other, as HE is more efficient for linear operations, while GC is more effective for non-linear operations. Together, they enable complex computing tasks, such as machine learning, to be performed exactly on ciphertexts. However, HE and GC introduce two major bottlenecks: an elevated computational overhead and high data transfer costs. This paper presents PPIMCE, an in-memory computing (IMC) fabric designed to mitigate both computational overhead and data transfer issues. Through the use of multiple IMC cores for high parallelism, and by leveraging in-SRAM IMC for data management, PPIMCE offers a compact, energy-efficient solution for accelerating HE and GC. PPIMCE achieves a 107X speedup against a CPU implementation of GC. Additionally, PPIMCE achieves a 1,500X and 800X speedup compared to CPU and GPU implementations of CKKS-based HE multiplications. For privacy-preserving machine learning inference, PPIMCE attains a 1,000X speedup compared to CPU and a 12X speedup against CraterLake, the state-of-art privacy preserving computation accelerator.

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

↑