TY - JOUR
T1 - Efficient Sorting of Homomorphic Encrypted Data with k-Way Sorting Network
AU - Hong, Seungwan
AU - Kim, Seunghong
AU - Choi, Jiheon
AU - Lee, Younho
AU - Cheon, Jung Hee
N1 - Publisher Copyright:
© 2005-2012 IEEE.
PY - 2021
Y1 - 2021
N2 - In this study, we propose an efficient sorting method for encrypted data using fully homomorphic encryption (FHE). The proposed method extends the existing 2-way sorting method by applying the k -way sorting network for any prime k to reduce the depth in terms of comparison operation from O(log 2 2n) to O(k log k2n), thereby improving performance for k slightly larger than 2, such as k=5. We apply this method to approximate FHE which is widely used due to its efficiency of homomorphic arithmetic operations. In order to build up the k-way sorting network, the k-sorter, which sorts k-numbers with a minimal comparison depth, is used as a building block. The approximate homomorphic comparison, which is the only type of comparison working on approximate FHE, cannot be used for the construction of the k-sorter as it is because the result of the comparison is not binary, unlike the comparison in conventional bit-wise FHEs. To overcome this problem, we propose an efficient k -sorter construction utilizing the features of approximate homomorphic comparison. Also, we propose an efficient construction of a k -way sorting network using cryptographic SIMD operations. To use the proposed method most efficiently, we propose an estimation formula that finds the appropriate k that is expected to reduce the total time cost when the parameters of the approximating comparisons and the performance of the operations provided by the approximate FHE are given. We also show the implementation results of the proposed method, and it shows that sorting 56 = 15625 data using 5-way sorting network can be about 23.3% faster than sorting 214 = 16384 data using 2-way.
AB - In this study, we propose an efficient sorting method for encrypted data using fully homomorphic encryption (FHE). The proposed method extends the existing 2-way sorting method by applying the k -way sorting network for any prime k to reduce the depth in terms of comparison operation from O(log 2 2n) to O(k log k2n), thereby improving performance for k slightly larger than 2, such as k=5. We apply this method to approximate FHE which is widely used due to its efficiency of homomorphic arithmetic operations. In order to build up the k-way sorting network, the k-sorter, which sorts k-numbers with a minimal comparison depth, is used as a building block. The approximate homomorphic comparison, which is the only type of comparison working on approximate FHE, cannot be used for the construction of the k-sorter as it is because the result of the comparison is not binary, unlike the comparison in conventional bit-wise FHEs. To overcome this problem, we propose an efficient k -sorter construction utilizing the features of approximate homomorphic comparison. Also, we propose an efficient construction of a k -way sorting network using cryptographic SIMD operations. To use the proposed method most efficiently, we propose an estimation formula that finds the appropriate k that is expected to reduce the total time cost when the parameters of the approximating comparisons and the performance of the operations provided by the approximate FHE are given. We also show the implementation results of the proposed method, and it shows that sorting 56 = 15625 data using 5-way sorting network can be about 23.3% faster than sorting 214 = 16384 data using 2-way.
KW - Approximate homomorphic encryption
KW - parallel algorithm
KW - sorting network
UR - https://www.scopus.com/pages/publications/85113294093
U2 - 10.1109/TIFS.2021.3106167
DO - 10.1109/TIFS.2021.3106167
M3 - Article
AN - SCOPUS:85113294093
SN - 1556-6013
VL - 16
SP - 4389
EP - 4404
JO - IEEE Transactions on Information Forensics and Security
JF - IEEE Transactions on Information Forensics and Security
M1 - 9520302
ER -