## CryptoDB

### Zeyu Li

#### Publications

Year
Venue
Title
2022
ASIACRYPT
Large-Precision Homomorphic Sign Evaluation using FHEW/TFHE Bootstrapping 📺
A comparison of two encrypted numbers is an important operation needed in many machine learning applications, for example, decision tree or neural network inference/training. An efficient instantiation of this operation in the context of fully homomorphic encryption (FHE) can be challenging, especially when a relatively high precision is sought. The conventional FHE way of evaluating the comparison operation, which is based on the sign function evaluation using FHEW/TFHE bootstrapping (often referred in literature as programmable bootstrapping), can only support very small precision (practically limited to 4-5 bits or so). For higher precision, the runtime complexity scales linearly with the ciphertext (plaintext) modulus (i.e., exponentially with the modulus bit size). We propose sign function evaluation algorithms that scale logarithmically with the ciphertext (plaintext) modulus, enabling the support of large-precision comparison in practice. Our sign evaluation algorithms are based on an iterative use of homomorphic floor function algorithms, which are also derived in our work. Further, we generalize our procedures for floor function evaluation to arbitrary function evaluation, which can be used to support both small plaintext moduli (directly) and larger plaintext moduli (by using a homomorphic digit decomposition algorithm, also suggested in our work). We implement all these algorithms using the PALISADE lattice cryptography library, introducing several implementation-specific optimizations along the way, and discuss our experimental results.

#### Coauthors

Daniele Micciancio (1)
Yuriy Polyakov (1)
{"ft_lang_label":"__label__en","ft_lang_prob":0.85645455,"math_prob":0.8513126,"size":1777,"snap":"2023-40-2023-50","text_gpt3_token_len":351,"char_repetition_ratio":0.11675127,"word_repetition_ratio":0.0,"special_character_ratio":0.1705121,"punctuation_ratio":0.0882353,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96067363,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-28T21:27:22Z\",\"WARC-Record-ID\":\"<urn:uuid:c9ed517f-a6db-4dd0-97aa-413b854ab0f0>\",\"Content-Length\":\"23193\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9d3bcbb3-e341-4168-9ec5-da098a8e8750>\",\"WARC-Concurrent-To\":\"<urn:uuid:64837738-a47c-4af9-8623-9feeb05c46e5>\",\"WARC-IP-Address\":\"46.101.216.44\",\"WARC-Target-URI\":\"https://www.iacr.org/cryptodb/data/author.php?authorkey=12290\",\"WARC-Payload-Digest\":\"sha1:UH5KXO3DNOBW4GWCX76JJX4ENYOJOWHX\",\"WARC-Block-Digest\":\"sha1:WEB6HKCY4G5JAOMDGFAPMZAB2F2BEH5B\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510454.60_warc_CC-MAIN-20230928194838-20230928224838-00713.warc.gz\"}"}