BASALISC:面向BGV全同态加密的可编程硬件加速器
BASALISC: Programmable Hardware Accelerator for BGV Fully Homomorphic Encryption
AI总结:
针对全同态加密实用性受限的问题,提出支持BGV方案全打包自举的可编程硬件加速器架构BASALISC,通过优化内存层次与专用运算单元实现较HELib超5000倍的加速。
摘要:
全同态加密(Fully Homomorphic Encryption, FHE)支持对加密数据进行安全计算。遗憾的是,其巨大的内存占用、计算开销与带宽需求限制了实用性。我们提出BASALISC,这是一个硬件加速器架构家族,旨在大幅加速云端的FHE计算。BASALISC是首个实现带全打包自举(bootstrapping,任意深度计算所需的噪声消除能力)的BGV方案的架构,它支持定制版自举,可通过针对面积和功耗优化的硬件乘法器实例化。\nBASALISC是一种三层抽象的RISC架构,面向1GHz ASIC实现设计,正在采用12nm GF工艺进行150mm²芯片的流片。BASALISC的四层内存层次结构包含一个二维无冲突内层内存,可实现32 Tb/s的基256 NTT计算且无流水线停顿。其冲突解决置换硬件经过通用化设计,可复用于计算BGV自同构且不会造成吞吐量损失。BASALISC还配备定制乘累加单元,用于加速BGV密钥切换。\nBASALISC工具链包含定制编译器以及性能与正确性联合仿真器。为评估BASALISC,我们研究了其物理可实现性,对核心功能单元进行了仿真与形式化验证,并在一组基准测试上研究其性能。仿真结果显示,其速度比流行的FHE软件库HELib快5000倍以上。
英文摘要:
Fully Homomorphic Encryption (FHE) allows for secure computation on encrypted data. Unfortunately, huge memory size, computational cost and bandwidth requirements limit its practicality. We present BASALISC, an architecture family of hardware accelerators that aims to substantially accelerate FHE computations in the cloud. BASALISC is the first to implement the BGV scheme with fully-packed bootstrapping -- the noise removal capability necessary for arbitrary-depth computation. It supports a customized version of bootstrapping that can be instantiated with hardware multipliers optimized for area and power. BASALISC is a three-abstraction-layer RISC architecture, designed for a 1 GHz ASIC implementation and underway toward 150mm2 die tape-out in a 12nm GF process. BASALISC's four-layer memory hierarchy includes a two-dimensional conflict-free inner memory layer that enables 32 Tb/s radix-256 NTT computations without pipeline stalls. Its conflict-resolution permutation hardware is generalized and re-used to compute BGV automorphisms without throughput penalty. BASALISC also has a custom multiply-accumulate unit to accelerate BGV key switching. The BASALISC toolchain comprises a custom compiler and a joint performance and correctness simulator. To evaluate BASALISC, we study its physical realizability, emulate and formally verify its core functional units, and we study its performance on a set of benchmarks. Simulation results show a speedup of more than 5,000 times over HElib -- a popular software FHE library.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。