硬件友好的随机化:通过低总成本实现FHE加速器中的随机访问和最小布线
Hardware-Friendly Randomization: Enabling Random-Access and Minimal Wiring in FHE Accelerators with Low Total Cost
AI总结:
该研究提出了一种低总成本的硬件友好的随机化方案,通过减少通信开销和布线需求,实现FHE加速器中的高效随机访问和低功耗。
摘要:
环学习误差(RLWE)问题构成了高效全同态加密(FHE)方案的核心。RLWE公钥和密文形式为(b,a)的重要组成部分是均匀随机多项式a∈R_q。虽然对安全性至关重要,但将a从客户端传输到服务器并输入到硬件加速器中的通信开销可能很大,特别是对于旨在实现高加速因子的FHE加速器而言。已知的减少这种开销的技术是在客户端通过确定性过程从一个小种子生成a,仅传输种子,并在加速器中实时生成a。加速器硬件实现中的挑战包括布线(密度和功率)、计算面积、计算功率以及实时生成指令调度的灵活性。本扩展摘要提出了一种具体的方案和参数,其中这些实际挑战得到了解决。我们详细说明了我们方法的好处,它在保持通信延迟和内存足迹的减少的同时,允许并行生成均匀分布的样本,放松布线要求,允许无限制地随机访问RNS肢体,并在密钥生成过程中导致极低的客户端开销(即小于3%)。所提出的方法消除了随机分布所需厚金属层的需求,并防止了PRNG子系统的功率消耗随着加速因子的增加而不成比例地增长,可能在高吞吐量配置中节省数十瓦的功率。
英文摘要:
The Ring-Learning With Errors (RLWE) problem forms the backbone of highly efficient Fully Homomorphic Encryption (FHE) schemes. A significant component of the RLWE public key and ciphertext of the form $(b,a)$ is the uniformly random polynomial $a \in R_q$ . While essential for security, the communication overhead of transmitting $a$ from client to server, and inputting it into a hardware accelerator, can be substantial, especially for FHE accelerators aiming at high acceleration factors. A known technique in reducing this overhead generates $a$ from a small seed on the client side via a deterministic process, transmits only the seed, and generates $a$ on-the-fly within the accelerator. Challenges in the hardware implementation of an accelerator include wiring (density and power), compute area, compute power as well as flexibility in scheduling of on-the-fly generation instructions. This extended abstract proposes a concrete scheme and parameters wherein these practical challenges are addressed. We detail the benefits of our approach, which maintains the reduction in communication latency and memory footprint, while allowing parallel generation of uniformly distributed samples, relaxed wiring requirements, unrestricted randomaccess to RNS limbs, and results in an extremely low overhead on the client side (i.e. less than 3%) during the key generation process. The proposed scheme eliminates the need for thick metal layers for randomness distribution and prevents the power consumption of the PRNG subsystem from scaling prohibitively with the acceleration factor, potentially saving tens of Watts per accelerator chip in high-throughput configurations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。