High-precision RNS-CKKS on fixed but smaller word-size architectures: theory and application

PROCEEDINGS OF THE 11TH WORKSHOP ON ENCRYPTED COMPUTING & APPLIED HOMOMORPHIC CRYPTOGRAPHY, WAHC 2023(2023)

引用 0|浏览13
暂无评分
摘要
A prevalent issue in the residue number system (RNS) variant of the Cheon-Kim-Kim-Song (CKKS) homomorphic encryption (HE) scheme is the challenge of efficiently achieving high precision on hardware architectures with a fixed, yet smaller, word-size of bitlength.., especially when the scaling factor satisfies log Delta > W. In this work, we introduce an efficient solution termed composite s Icaling. In this approach, we group multiple RNS primes as q(l) := pi(t-1)(j=0) q(l,j) such that log q(l,j) < W for 0 <= j < t and use each composite q(l) in the rescaling procedure as ct (sic) [ct/q(l)]. This strategy contrasts the traditional rescaling method in RNS-CKKS, where each q(l) is chosen as a single log Delta-bit prime, a method we designate as single scaling. To achieve higher precision in single scaling, where log Delta > W, one would either need a novel hardware architecture with word size W' > log Delta or would have to resort to relatively inefficient solutions rooted in multi-precision arithmetic. This problem, however, doesn't arise in composite scaling. In the composite scaling approach, the larger the composition degree t, the greater the precision attainable with RNS-CKKS across an extensive range of secure parameters tailored for workload deployment. We have integrated composite scaling RNS-CKKS into both OpenFHE and Lattigo libraries. This integration was achieved via a concrete implementation of the method and its application to the most up-to-date workloads, specifically, logistic regression training and convolutional neural network inference. Our experiments demonstrate that single and composite scaling approaches are functionally equivalent, both theoretically and practically.
更多
查看译文
关键词
Fully Homomorphic Encryption,High-precision CKKS,Fixed-word Size Architecture,Composite Scaling
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要