BFV, CKKS, TFHE: Which One is the Best for a Secure Neural Network Evaluation in the Cloud?

被引:15
作者
Clet, Pierre-Emmanuel [1 ]
Stan, Oana [1 ]
Zuber, Martin [1 ]
机构
[1] Univ Paris Saclay, CEA LIST, F-91120 Palaiseau, France
来源
APPLIED CRYPTOGRAPHY AND NETWORK SECURITY WORKSHOPS, ACNS 2021 | 2021年 / 12809卷
关键词
FHE; Cloud; Neural Networks; TFHE; BFV; CKKS; Chimera; FULLY HOMOMORPHIC ENCRYPTION;
D O I
10.1007/978-3-030-81645-2_16
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We provide clear and concise guidelines for the use of three of the most popular homomorphic cryptosystems: BFV, CKKS and TFHE. Because they are unified under the Chimera framework and it is now possible to switch a ciphertext from one cryptosystem to another, such a comparison is essential to better understand which cryptosystem to use in which use-case or for which part of a secure computation on the cloud. We do this by comparing the application of the three cryptosystems to the evaluation phase of standard feed-forward neural networks tested on the MNIST (http://yann.lecun.com/exdb/mnist/) database. We tested their application in the case where both the query and the neural network model are encrypted and in the case when only the query is encrypted. We evaluated the results obtained using the three homomorphic schemes in terms of precision, memory usage and execution time for a minimal security of 128 bits.
引用
收藏
页码:279 / 300
页数:22
相关论文
共 27 条
[1]  
Abadi M, 2016, PROCEEDINGS OF OSDI'16: 12TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P265
[2]  
Albrecht M., 2018, Technical report
[3]   On the concrete hardness of Learning with Errors [J].
Albrecht, Martin R. ;
Player, Rachel ;
Scott, Sam .
JOURNAL OF MATHEMATICAL CRYPTOLOGY, 2015, 9 (03) :169-203
[4]  
[Anonymous], 2011, FULLY HOMOMORPHIC SI
[5]   CHIMERA: Combining Ring-LWE-based Fully Homomorphic Encryption Schemes [J].
Boura, Christina ;
Gama, Nicolas ;
Georgieva, Mariya ;
Jetchev, Dimitar .
JOURNAL OF MATHEMATICAL CRYPTOLOGY, 2020, 14 (01) :316-338
[6]   Fast Homomorphic Evaluation of Deep Discretized Neural Networks [J].
Bourse, Florian ;
Minelli, Michele ;
Minihold, Matthias ;
Paillier, Pascal .
ADVANCES IN CRYPTOLOGY - CRYPTO 2018, PT III, 2018, 10993 :483-512
[7]  
Brakerski Z., 2011, Electronic Colloquium on Computational Complexity (ECCC), V18, P111
[8]   Fully Homomorphic Encryption without Modulus Switching from Classical GapSVP [J].
Brakerski, Zvika .
ADVANCES IN CRYPTOLOGY - CRYPTO 2012, 2012, 7417 :868-886
[9]  
Brutzkus A, 2019, PR MACH LEARN RES, V97
[10]  
Chabanne H., 2017, P IACR CRYPT EPRINT, P35