Paper 2020/834

Minimax Approximation of Sign Function by Composite Polynomial for Homomorphic Comparison

Eunsang Lee, Joon-Woo Lee, Jong-Seon No, and Young-Sik Kim

Abstract

The comparison operation for two numbers is one of the most commonly used operations in several applications, including deep learning. Several studies have been conducted to efficiently evaluate the comparison operation in homomorphic encryption schemes, termed homomorphic comparison operation. Recently, Cheon et al. (Asiacrypt 2020) proposed new comparison methods that approximate the sign function using composite polynomial in homomorphic encryption and proved that these methods have optimal asymptotic complexity. In this paper, we propose a practically optimal method that approximates the sign function by using compositions of minimax approximate polynomials. It is proved that this approximation method is optimal with respect to depth consumption and the number of non-scalar multiplications. In addition, a polynomial-time algorithm that determines the optimal compositions of minimax approximate polynomials for the proposed homomorphic comparison operation is proposed by using dynamic programming. The numerical analysis demonstrates that the proposed homomorphic comparison operation reduces running time by approximately 45\% (resp. 41\%) on average, compared with the previous algorithm if running time (resp. depth consumption) is to be minimized. In addition, when $N$ is $2^{17}$, and the precision parameter $\alpha$ is 20, the previous algorithm does not achieve 128-bit security, while the proposed algorithm achieves 128-bit security due to small depth consumption.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint. MINOR revision.
Keywords
Cheon-Kim-Kim-Song (CKKS) schemefully homomorphic encryption (FHE)homomorphic comparison operationminimax approximate polynomialRemez algorithmsign function
Contact author(s)
eslee3209 @ ccl snu ac kr
History
2021-04-05: revised
2020-07-07: received
See all versions
Short URL
https://ia.cr/2020/834
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2020/834,
      author = {Eunsang Lee and Joon-Woo Lee and Jong-Seon No and Young-Sik Kim},
      title = {Minimax Approximation of Sign Function by Composite Polynomial for Homomorphic Comparison},
      howpublished = {Cryptology {ePrint} Archive, Paper 2020/834},
      year = {2020},
      url = {https://eprint.iacr.org/2020/834}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.