TY - GEN
T1 - chiku
T2 - 21st International Conference on Security and Cryptography, SECRYPT 2024
AU - Trivedi, Devharsh
AU - Kaaniche, Nesrine
AU - Boudguiga, Aymen
AU - Triandopoulos, Nikos
N1 - Publisher Copyright:
© 2024 by SCITEPRESS – Science and Technology Publications, Lda.
PY - 2024/1/1
Y1 - 2024/1/1
N2 - 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.
AB - 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.
KW - Comparison Approximation
KW - Fully Homomorphic Encryption
KW - Private Machine Learning
KW - Python Library
U2 - 10.5220/0012716000003767
DO - 10.5220/0012716000003767
M3 - Conference contribution
AN - SCOPUS:85202888623
T3 - Proceedings of the International Conference on Security and Cryptography
SP - 634
EP - 641
BT - Proceedings of the 21st International Conference on Security and Cryptography, SECRYPT 2024
A2 - Di Vimercati, Sabrina De Capitani
A2 - Samarati, Pierangela
PB - Science and Technology Publications, Lda
Y2 - 8 July 2024 through 10 July 2024
ER -