A Full RNS Variant of Approximate Homomorphic Encryption
Open accessThe DOI matches its Crossref record; 27 of the 27 references it cites were found in a registry or an index.
Abstract
The technology of homomorphic encryption has improved rapidly in a few years. The cutting edge implementations are efficient enough to use in practical applications. Recently, Cheon et al. (ASI-ACRYPT’17) proposed a homomorphic encryption scheme which supports an arithmetic of approximate numbers over encryption. This scheme shows the current best performance in computation over the real numbers, but its implementation could not employ core optimization techniques based on the Residue Number System (RNS) decomposition and the Number Theoretic Transformation (NTT). In this paper, we present a variant of approximate homomorphic encryption which is optimal for implementation on standard computer system. We first introduce a new structure of ciphertext modulus which allows us to use both the RNS decomposition of cyclotomic polynomials and the NTT conversion on each of the RNS components. We also suggest new approximate modulus switching procedures without any RNS composition. Compared to previous exact algorithms requiring multi-precision arithmetic, our algorithms can be performed by using only word size (64-bit) operations. Our scheme achieves a significant performance gain from its full RNS implementation. For example, compared to the earlier implementation, our implementation showed speed-ups 17.3, 6.4, and 8.3 times for decryption, constant multiplication, and homomorphic multiplication, respectively, when the dimension of a cyclotomic ring is 32768. We also give experimental result for evaluations of some advanced circuits used in machine learning or statistical analysis. Finally, we demonstrate the practicability of our library by applying to machine learning algorithm. For example, our single core implementation takes 1.8 minutes to build a logistic regression model from encrypted data when the dataset consists of 575 samples, compared to the previous best result 3.5 minutes using four cores.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
An algorithm for the machine calculation of complex Fourier series
Cooley, J. W., & Tukey, J. W. (1965) · Mathematics of Computation · doi:10.1090/s0025-5718-1965-0178586-1 · Cited by 13,154 · cited 1×
“We implemented the NTT conversion and its inverse based on the butterfly techniques of Cooley-Tukey [13] and Gentleman-Sande [20], respectively.”
Fully homomorphic encryption using ideal lattices
Gentry, C. (2009) · Proceedings of the forty-first annual ACM symposium on Theory of computing · doi:10.1145/1536414.1536440 · Cited by 6,806 · cited 2×
“For an efficient implementation of polynomial arithmetic, Gentry et al. [22] suggested a representation of cyclotomic polynomials, called the double-CRT representation, based on the Chinese Remainder Theorem (CRT).”
Somewhat Practical Fully Homomorphic Encryption.Preprint
Fan, J., & Vercauteren, F. (2012) · IACR Cryptology ePrint Archive · Cited by 2,597
Homomorphic Encryption for Arithmetic of Approximate Numbers
Cheon, J. H., Kim, A., Kim, M., & Song, Y. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-70694-8_15 · Cited by 2,522 · cited 10×
“[12] suggested an HE scheme for arithmetic of approximate numbers, called HEAAN.”
InfluentialSelf-citationFully Homomorphic Encryption over the Integers
van Dijk, M., Gentry, C., Halevi, S., & Vaikuntanathan, V. (2010) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-13190-5_2 · Cited by 1,858
(Leveled) fully homomorphic encryption without bootstrapping
Brakerski, Z., Gentry, C., & Vaikuntanathan, V. (2012) · Proceedings of the 3rd Innovations in Theoretical Computer Science Conference · doi:10.1145/2090236.2090262 · Cited by 1,782
(2016) · International Conference on Machine Learning · Cited by 1,270
Fully Homomorphic Encryption without Modulus Switching from Classical GapSVP
Brakerski, Z. (2012) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-32009-5_50 · Cited by 1,252
Can homomorphic encryption be practical?
Naehrig, M., Lauter, K., & Vaikuntanathan, V. (2011) · Proceedings of the 3rd ACM workshop on Cloud computing security workshop · doi:10.1145/2046660.2046682 · Cited by 1,004
On the concrete hardness of Learning with Errors
Albrecht, M. R., Player, R., & Scott, S. (2015) · Journal of Mathematical Cryptology · doi:10.1515/jmc-2015-0016 · Cited by 861
Cited by
TFHE: Fast Fully Homomorphic Encryption Over the Torus
Chillotti, I., Gama, N., Georgieva, M., & Izabachène, M. (2020) · Journal of Cryptology · doi:10.1007/s00145-019-09319-x · Cited by 990
Privacy-Preserving Machine Learning With Fully Homomorphic Encryption for Deep Neural Network
Lee, J.-W., Kang, H., Lee, Y., Choi, W., Eom, J., Deryabin, M., Lee, E., Lee, J., Yoo, D., Kim, Y.-S., et al. (2022) · IEEE Access · doi:10.1109/access.2022.3159694 · Cited by 414
Survey on Fully Homomorphic Encryption, Theory, and Applications
Marcolla, C., Sucasas, V., Manzano, M., Bassoli, R., Fitzek, F. H. P., & Aaraj, N. (2022) · Proceedings of the IEEE · doi:10.1109/jproc.2022.3205665 · Cited by 323
“Also, the bootstrapping version [128] of CKKS was enhanced in [133] by Chen, Chillotti and Song, whereas, in [134], Han and Ki discussed and improved the bootstrapping version of [129].”
MethodHEAX: An Architecture for Computing on Encrypted Data
Riazi, M. S., Laine, K., Pelton, B., & Dai, W. (2020) · Proceedings of the Twenty-Fifth International Conference on Architectural Support for Programming Languages and Operating Systems · doi:10.1145/3373376.3378523 · Cited by 243
“Similarly, we leveraged the RNS-level parallelism which is proven to be secure [16].”
MethodCHET: an optimizing compiler for fully-homomorphic neural-network inferencing
Dathathri, R., Saarikivi, O., Chen, H., Laine, K., Lauter, K., Maleki, S., Musuvathi, M., & Mytkowicz, T. (2019) · Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/3314221.3314628 · Cited by 235
“This paper only focusses on FHE schemes with rescaling support, namely the CKKS scheme [16] and its variant RNS-CKKS [15].”
BackgroundMethodInfluentialBTS: an accelerator for bootstrappable fully homomorphic encryption
Kim, S., Kim, J., Kim, M. J., Jung, W., Kim, J., Rhu, M., & Ahn, J. H. (2022) · Proceedings of the 49th Annual International Symposium on Computer Architecture · doi:10.1145/3470496.3527415 · Cited by 184
“CKKS performs HRescale to mitigate this explosion and keeps the error tolerable by dividing the ct with the last prime modulus qL [18].”
BackgroundMethodInfluentialSelf-citationImproved Bootstrapping for Approximate Homomorphic Encryption
Chen, H., Chillotti, I., & Song, Y. (2019) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-17656-3_2 · Cited by 169
“Recently, there is another variant of the CKKS scheme [15] based on the Residue Number System (RNS), following an idea of Bajard et al.”
Self-citationnGraph-HE: a graph compiler for deep learning on homomorphically encrypted data
Boemer, F., Lao, Y., Cammarota, R., & Wierzynski, C. (2019) · Proceedings of the 16th ACM International Conference on Computing Frontiers · doi:10.1145/3310273.3323047 · Cited by 162
“…of HE and DL themselves, such as limited arithmetic depth and polynomial nGraph-HE currently supports the SEAL encryption library [36], and the underlying cryptosystems BFV [5] and CKKS [18], and it can be extended to support additional cryptosystems. activation functions (Section 2.2).”
BackgroundMethodInfluentialKim, J., Lee, G., Kim, S., Sohn, G., Rhu, M., Kim, J., & Ahn, J. H. (2022) · 2022 55th IEEE/ACM International Symposium on Microarchitecture (MICRO) · doi:10.1109/micro56248.2022.00086 · Cited by 161
“RNS is widely used to reduce the high complexity of performing multiprecision arithmetic between large integer coefficients [11], [25].”
MethodnGraph-HE2: A High-Throughput Framework for Neural Network Inference on Encrypted Data
Boemer, F., Costache, A., Cammarota, R., & Wierzynski, C. (2019) · Proceedings of the 7th ACM Workshop on Encrypted Computing & Applied Homomorphic Cryptography · doi:10.1145/3338469.3358944 · Cited by 159
“with the CKKS optimizations [13, 14] and the relinearization technique with the special prime [12].”
MethodOn the Security of Homomorphic Encryption on Approximate Numbers
Li, B., & Micciancio, D. (2021) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-77870-5_23 · Cited by 159
“One of the most recent and interesting contributions along these lines is the approach suggested in [18, 17, 33, 16, 14] based on the idea that in many practical scenarios, computations are performed on real-world data which is already approximate, and the result of the computation inherently…”
BackgroundMethodApproximate Homomorphic Encryption with Reduced Approximation Error
Kim, A., Papadimitriou, A., & Polyakov, Y. (2022) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-95312-6_6 · Cited by 71
“3 times for multiplication [11], and the precision gain of the multiprecision HEAAN implementation over RNS-HEAAN is only half of what we report in our work.”
BackgroundMethodInfluentialSelf-citationHEAX: An Architecture for Computing on Encrypted Data
Riazi, M. S., Laine, K., Pelton, B., & Dai, W. (2019) · arXiv · doi:10.48550/arxiv.1909.09731 · Cited by 26
COLLAGENE enables privacy-aware federated and collaborative genomic data analysis
Li, W., Kim, M., Zhang, K., Chen, H., Jiang, X., & Harmanci, A. (2023) · Genome Biology · doi:10.1186/s13059-023-03039-z · Cited by 16
“COLLAGENE uses CKKS as the default homomorphic encryption scheme [111, 112] with the underlying primitives implemented by the SEAL C++ library [65].”
MethodSelf-citation
Metadata
- Authors
- Cheon, J. H., Han, K., Kim, A., Kim, M., & Song, Y.
- Venue
- Lecture Notes in Computer Science
- Publisher
- Springer International Publishing
- Published
- 2019
- Volume
- 11349
- Pages
- 347-368
- ISSN
- 0302-9743 (ISSN-L)
- 1611-3349
- OpenAlex
- W2899140612
- Cited by
- 357
- References
- 27
- FWCI
- 9.92
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.