TY - GEN
T1 - Efficient Homomorphic Comparison Methods with Optimal Complexity
AU - Cheon, Jung Hee
AU - Kim, Dongwoo
AU - Kim, Duhyeong
N1 - Publisher Copyright:
© 2020, International Association for Cryptologic Research.
PY - 2020
Y1 - 2020
N2 - Comparison of two numbers is one of the most frequently used operations, but it has been a challenging task to efficiently compute the comparison function in homomorphic encryption (HE) which basically supports addition and multiplication. Recently, Cheon et al. (Asiacrypt 2019) introduced a new approximate representation of the comparison function with a rational function, and showed that this rational function can be evaluated by an iterative algorithm. Due to this iterative feature, their method achieves a logarithmic computational complexity compared to previous polynomial approximation methods; however, the computational complexity is still not optimal, and the algorithm is quite slow for large-bit inputs in HE implementation. In this work, we propose new comparison methods with optimal asymptotic complexity based on composite polynomial approximation. The main idea is to systematically design a constant-degree polynomial f by identifying the core properties to make a composite polynomial f∘ f∘ ⋯ ∘ f get close to the sign function (equivalent to the comparison function) as the number of compositions increases. We additionally introduce an acceleration method applying a mixed polynomial composition f∘ ⋯ ∘ f∘ g∘ ⋯ ∘ g for some other polynomial g with different properties instead of f∘ f∘ ⋯ ∘ f. Utilizing the devised polynomials f and g, our new comparison algorithms only require Θ(log (1 / ϵ) ) + Θ(log α) computational complexity to obtain an approximate comparison result of a, b∈ [ 0, 1 ] satisfying | a- b| ≥ ϵ within 2- α error. The asymptotic optimality results in substantial performance enhancement: our comparison algorithm on 16-bit encrypted integers for α= 16 takes 1.22 ms in amortized running time based on an approximate HE scheme HEAAN, which is 18 times faster than the previous work.
AB - Comparison of two numbers is one of the most frequently used operations, but it has been a challenging task to efficiently compute the comparison function in homomorphic encryption (HE) which basically supports addition and multiplication. Recently, Cheon et al. (Asiacrypt 2019) introduced a new approximate representation of the comparison function with a rational function, and showed that this rational function can be evaluated by an iterative algorithm. Due to this iterative feature, their method achieves a logarithmic computational complexity compared to previous polynomial approximation methods; however, the computational complexity is still not optimal, and the algorithm is quite slow for large-bit inputs in HE implementation. In this work, we propose new comparison methods with optimal asymptotic complexity based on composite polynomial approximation. The main idea is to systematically design a constant-degree polynomial f by identifying the core properties to make a composite polynomial f∘ f∘ ⋯ ∘ f get close to the sign function (equivalent to the comparison function) as the number of compositions increases. We additionally introduce an acceleration method applying a mixed polynomial composition f∘ ⋯ ∘ f∘ g∘ ⋯ ∘ g for some other polynomial g with different properties instead of f∘ f∘ ⋯ ∘ f. Utilizing the devised polynomials f and g, our new comparison algorithms only require Θ(log (1 / ϵ) ) + Θ(log α) computational complexity to obtain an approximate comparison result of a, b∈ [ 0, 1 ] satisfying | a- b| ≥ ϵ within 2- α error. The asymptotic optimality results in substantial performance enhancement: our comparison algorithm on 16-bit encrypted integers for α= 16 takes 1.22 ms in amortized running time based on an approximate HE scheme HEAAN, which is 18 times faster than the previous work.
UR - http://www.scopus.com/inward/record.url?scp=85097818366&partnerID=8YFLogxK
U2 - 10.1007/978-3-030-64834-3_8
DO - 10.1007/978-3-030-64834-3_8
M3 - Conference contribution
AN - SCOPUS:85097818366
SN - 9783030648336
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 221
EP - 256
BT - Advances in Cryptology – ASIACRYPT 2020 - 26th International Conference on the Theory and Application of Cryptology and Information Security, Proceedings
A2 - Moriai, Shiho
A2 - Wang, Huaxiong
PB - Springer Science and Business Media Deutschland GmbH
T2 - 26th International Conference on the Theory and Application of Cryptology and Information Security, ASIACRYPT 2020
Y2 - 7 December 2020 through 11 December 2020
ER -