An Efficient Integer-Wise ReLU on TFHE

  • Yi Huang
  • , Junping Wan
  • , Zoe L. Jiang*
  • , Jun Zhou
  • , Junbin Fang
  • , Zhenfu Cao
  • *Corresponding author for this work

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

Abstract

Fully homomorphic encryption (FHE) enables users to process encrypted data, while preserving data privacy throughout the data computation process. It develops ways to privately execute neural networks. Although bit-wise FHE over the torus (TFHE) was originally proposed to support non-linear functions, such as ReLU operation which is often used in neural networks, the computational complexity of the homomorphic ReLU operation is linearly to data precision. Integer-wise TFHE enables integer bootstrapping with homomorphic addition. However, it leaves an open problem to support homomorphic multiplication and ReLU due to negacyclicity limitation. In this paper, we first propose the ExMultbyBin(x) algorithm for integer-wise multiplication by extending the data range from {0,⋯,B/2-1} to {-B,⋯,B-1}. Then, we propose the idea of function transformation by equivalently transform the ReLU(x) function to a new function ExMultbyBin(x,fid(x),sign(x)-B/2). Finally, we achieve a privacy-preserving ReLU function IntReLU with integer-wise TFHE, resulting in computational complexity independent of data precision. That is, when the data precision is n-bit, IntReLU has a computational complexity of O(1). Experimental results in the TFHE library indicate that, the operation time of our intReLU is reduced by 17% when the data precision is 6-bit compared to the bit-wise TFHE scheme.

Original languageEnglish
Title of host publicationInformation Security and Privacy - 29th Australasian Conference, ACISP 2024, Proceedings
EditorsTianqing Zhu, Yannan Li
PublisherSpringer Science and Business Media Deutschland GmbH
Pages161-179
Number of pages19
ISBN (Print)9789819750245
DOIs
StatePublished - 2024
Event29th Australasian Conference on Information Security and Privacy, ACISP 2024 - Sydney, Australia
Duration: 15 Jul 202417 Jul 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14895 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference29th Australasian Conference on Information Security and Privacy, ACISP 2024
Country/TerritoryAustralia
CitySydney
Period15/07/2417/07/24

Keywords

  • FHE over the torus (TFHE)
  • Fully homomorphic encryption (FHE)
  • ReLU

Fingerprint

Dive into the research topics of 'An Efficient Integer-Wise ReLU on TFHE'. Together they form a unique fingerprint.

Cite this