chiku: Efficient Probabilistic Polynomial Approximations Library

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Fully Homomorphic Encryption (FHE) is a prime candidate to design privacy-preserving schemes due to its cryptographic security guarantees. Bit-wise FHE (e.g., FHEW, T FHE) provides basic operations in logic gates, thus supporting arbitrary functions presented as boolean circuits. While word-wise FHE (e.g., BFV, CKKS) schemes offer additions and multiplications in the ciphertext (encrypted) domain, complex functions (e.g., Sin, Sigmoid, TanH) must be approximated as polynomials. Existing approximation techniques (e.g., Taylor, Pade, Chebyshev) are deterministic, and this paper presents an Artificial Neural Networks (ANN) based probabilistic polynomial approximation approach using a Perceptron with linear activation in our publicly available Python library chiku. As ANNs are known for their ability to approximate arbitrary functions, our approach can be used to generate a polynomial with desired degree terms. We further provide third and seventh-degree approximations for univariate Sign(x) ∈ {−1,0,1} and Compare(a − b) ∈ {0, 21,1} functions in the intervals [−1,1] and [−5,−5]. Finally, we empirically prove that our probabilistic ANN polynomials can improve up to 15% accuracy over deterministic Chebyshev’s.

Original languageEnglish
Title of host publicationProceedings of the 21st International Conference on Security and Cryptography, SECRYPT 2024
EditorsSabrina De Capitani Di Vimercati, Pierangela Samarati
PublisherScience and Technology Publications, Lda
Pages634-641
Number of pages8
ISBN (Electronic)9789897587092
DOIs
Publication statusPublished - 1 Jan 2024
Event21st International Conference on Security and Cryptography, SECRYPT 2024 - Dijon, France
Duration: 8 Jul 202410 Jul 2024

Publication series

NameProceedings of the International Conference on Security and Cryptography
ISSN (Print)2184-7711

Conference

Conference21st International Conference on Security and Cryptography, SECRYPT 2024
Country/TerritoryFrance
CityDijon
Period8/07/2410/07/24

Keywords

  • Comparison Approximation
  • Fully Homomorphic Encryption
  • Private Machine Learning
  • Python Library

Fingerprint

Dive into the research topics of 'chiku: Efficient Probabilistic Polynomial Approximations Library'. Together they form a unique fingerprint.

Cite this