Osiris:一种加速全同态加密的脉动式方法
Osiris: A Systolic Approach to Accelerating Fully Homomorphic Encryption
AI总结:
针对全同态加密运算核模式差异导致的架构互连难题,提出分支交错数据分块与GSC数据流的Osiris脉动架构,实现多任务高利用率运行,性能超越现有最先进加速器。
摘要:
本文展示了如何利用脉动架构加速全同态加密(Fully Homomorphic Encryption,FHE)。我们首先分析FHE算法,随后为每个核心运算核开发脉动类或脉动式单元。由于各运算核的数据访问模式和计算模式存在差异,单元互连是一大挑战。我们通过提出一种名为limb interleaving(分支交错)的新型数据分块技术解决了这一问题。分支交错技术为所有运算核构建了统一的数据输入/输出模式,使整套被命名为Osiris的架构能够同步运行。Osiris可在多种FHE参数下高利用率处理密钥切换、自举以及完整的神经网络推理任务。为实现高性能,我们提出了一种以大步长为核心(giant-step centric,GSC)的新型数据流,通过优化复用性和并行度,将前沿的FHE矩阵-向量乘积算法高效映射到Osiris上。我们对Osiris的评估表明,在所有标准基准测试中,其性能均优于此前的最先进加速器。
英文摘要:
In this paper we show how fully homomorphic encryption (FHE) can be accelerated using a systolic architecture. We begin by analyzing FHE algorithms and then develop systolic or systolic-esque units for each major kernel. Connecting units is challenging due to the different data access and computational patterns of the kernels. We overcome this by proposing a new data tiling technique that we name limb interleaving. Limb interleaving creates a common data input/output pattern across all kernels that allows the entire architecture, named Osiris, to operate in lockstep. Osiris is capable of processing key-switches, bootstrapping, and full neural network inferences with high utilization across a range of FHE parameters. To achieve high performance, we propose a new giant-step centric (GSC) dataflow that efficiently maps state-of-the-art FHE matrix-vector product algorithms onto Osiris by optimizing for reuse and parallelism. Our evaluation of Osiris shows it outperforms the prior state-of-the-art accelerator on all standard benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。