Abstract
Fully homomorphic encryption (FHE) offers a promising solution for privacy-preserving machine learning by enabling arbitrary computations on encrypted data. However, the efficient evaluation of non-linear functions—such as the ReLU activation function over large integers—remains a major obstacle in practical deployments, primarily due to high bootstrapping overhead and limited precision support in existing schemes. In this paper, we propose , a novel framework that enables efficient homomorphic ReLU evaluation over large integers (7–11 bits) via full-domain bootstrapping. Central to our approach is a signed digit decomposition algorithm, , that partitions a large integer ciphertext into signed 6-bit segments using three new low-level primitives: , , and . This decomposition preserves arithmetic consistency, avoids cross-segment carry propagation, and allows parallelized bootstrapping. By segmenting the large integer and processing each chunk independently with optimized small-integer bootstrapping, we achieve homomorphic ReLU with full-domain bootstrapping, which significantly reduces the total number of sequential bootstrapping operations required. The security of our scheme is guaranteed by TFHE. Experimental results demonstrate that the proposed method reduces the bootstrapping cost by an average of 28.58% compared to state-of-the-art approaches while maintaining 95.2% accuracy. With execution times ranging from 1.16 s to 1.62 s across 7–11 bit integers, our work bridges a critical gap toward a scalable and efficient homomorphic ReLU function, which is useful in privacy-preserving machine learning. Furthermore, an end-to-end encrypted inference test on a CNN model with the MNIST dataset confirms its practicality, achieving 88.85% accuracy and demonstrating a complete pipeline for privacy-preserving neural network evaluation.
1. Introduction
The growing reliance on cloud computing and outsourced data processing has intensified the demand for robust privacy-preserving computation, particularly for sensitive applications like machine learning. Fully Homomorphic Encryption (FHE) has emerged as a foundational solution to this challenge, enabling arbitrary computations to be performed directly on encrypted data without decryption [1]. This unique capability provides an unparalleled level of security in distributed environments by ensuring that sensitive information remains protected throughout the computation life-cycle [2]. The development of FHE techniques is especially critical for domains such as cloud-based ML services [3,4], where enabling secure neural network evaluation while addressing challenges like computational complexity and ciphertext expansion remains an active research area [5].
Among FHE schemes, Torus-Based Fully Homomorphic Encryption (TFHE) [6] excels in evaluating non-linear functions (e.g., ReLU) via efficient gate bootstrapping. However, a significant limitation arises from its native support for only Boolean or small integer data. Implementing arithmetic operations on integers using bit-wise TFHE requires constructing complex circuits, leading to a linear overhead of bootstrappings for an n-bit operation, which is highly inefficient [7].
The framework in [7] demonstrates the potential of bit-wise TFHE by leveraging its native Boolean operations to implement ReLU activations and max-pooling directly, avoiding polynomial approximations that degrade inference accuracy. To address the inefficiency of homomorphic matrix multiplications, SHE [7] employs logarithmic quantization, converting multiplications into shift and accumulation operations that are more efficient under TFHE. This approach highlights how bit-wise TFHE can be optimized for specific workloads, yet general-purpose integer arithmetic remains challenging due to the circuit-level emulation required.
Subsequent research has explored integer-wise TFHE variants to reduce overhead. Specifically, Bourse et al. [8] enabled small integer (<6 bits) encryption supporting addition and sign functions, while Okada et al. [9] extended this to multiplication via MultbyBin—though limited to positive integers. FDFB [10] and pseudo-function decomposition [11] expanded domain support but incurred high bootstrapping costs. Yang et al. [12] reduced bootstrapping to two, yet still lacked support for negative integers. Against this backdrop, Huang et al. [13] made a key advance, solving core limitations of integer-wise TFHE (negacyclicity range constraints) while achieving the first precision-agnostic ReLU, a critical step toward practical encrypted neural networks. However, their approach efficiently supports only integers of up to 6 bits. This limitation stems from the LWE ciphertext constraint: under current security and correctness guarantees, the plaintext space is bounded to 6 bits. Supporting larger integers (e.g., 7–11 bits) is essential for real-world applications such as high-precision neural networks. More recently, Loris [14] proposed parameter optimization techniques to support larger integer precision in TFHE, yet their method still faces efficiency challenges when scaling to 7–11 bits due to the high cost of bootstrapping operations.
Table 1 provides a comparative overview of key TFHE-based schemes, highlighting their limitations in supporting large integers and efficient bootstrapping. As shown below, existing approaches either lack support for negative integers [9], are limited to 6-bit precision [13], or incur high bootstrapping costs when scaling to larger integers [10,14].
Table 1.
Comparison of torus-based homomorphic encryption schemes.
In this context, the 6-bit threshold is chosen as the critical point between small and large integers because, while ensuring computational correctness, LWE-based ciphertexts can natively represent only up to 6 bits. To handle larger integers without loss of generality, we adopt a decomposition strategy: an 11-bit integer (composed of 1 sign bit and 10 magnitude bits) is split into two 6-bit segments. Each segment itself contains 1 sign bit and 5 magnitude bits. This representation ensures consistent sign handling across segments and allows arbitrary-precision integer support through recursive decomposition.
1.1. Our Contribution
To bridge this gap, we propose , the first homomorphic ReLU algorithm supporting full-domain bootstrapping for large integers (7–11 bits). Our core innovations address the limitations of prior work:
- Signed Decomposition Algorithm . We design three atomic operations—(a) to eliminate carrying interference; (b) to perform signed modular reduction preserving arithmetic consistency; (c) to remove low-bit noise—which together enable the algorithm. This algorithm seamlessly splits large integer ciphertexts into signed 6-bit chunks without cross-segment carry propagation.
- Optimized ReLU Framework with Precision-Consistent Bootstrapping. We integrate the algorithm with an optimized small-integer ReLU bootstrapping scheme [13], introducing two key optimizations: (1) strategic use of [15] to minimize bootstrapping operations for integers ≤10 bits, and (2) redefinition of test polynomial coefficients to ensure uniform slot allocation across segments of varying precision. These optimizations collectively enable correct and efficient ReLU evaluation over decomposed ciphertexts while preventing computational errors when the highest-order segment has less than 6 bits of precision.
- Comprehensive Performance Advantage. Through rigorous analysis and experimentation, we demonstrate that our approach significantly reduces the bootstrapping cost (by an average of ) compared to state-of-the-art approaches while maintaining accuracy.
1.2. Roadmap
In this paper, we establish foundational knowledge, detailing TFHE mechanisms, integer bootstrapping, and limitations of radix-based decomposition in Section 2. Building upon these preliminaries, Section 3 introduces our signed decomposition framework, presenting the novel , and primitives that collectively enable error-free splitting of large integers into signed 6-bit chunks. Section 4 then integrates this decomposition with optimized small-integer ReLU bootstrapping to construct the complete algorithm for full-domain evaluation. Critical performance analysis follows in Section 5, where we rigorously validate correctness, security, and efficiency. Finally, Section 6 concludes with broader impacts while acknowledging limitations and future directions for homomorphic activation functions.
2. Preliminaries
This chapter mainly introduces the relevant theoretical foundations of fully homomorphic encryption (FHE) and the algorithms for FHE. It primarily includes theoretical foundations such as the LWE hard problem, the torus-based encryption algorithm based on the LWE hard problem, and technical foundations such as the bit-wise fully homomorphic encryption algorithm, the integer-wise fully homomorphic encryption algorithm, the homomorphic multiplication algorithm supporting integers, and the large integer ciphertext decomposition algorithm based on radix.
2.1. Notation
Let be a distribution over some finite set , then we use to denote that x is chosen from and to denote that x is chosen uniformly random from . We denote column vectors and matrices by bold letters ( for a vector and for a matrix). We will use to denote the Euclidean norm of . And we will use to denote the infinite norm of vector . We will use ⌊x⌋ to denote the largest integer smaller or equal to x within the torus representation, ⌈x⌉ to denote the smallest integer larger than or equal to x with in the torus operation, and ⌊x⌉ to denote to rounding to the nearest integer within the torus representation.
2.2. From TLWE to Torus-Based Encryption
The security of most modern Fully Homomorphic Encryption (FHE) schemes, including TFHE, rests on the hardness of lattice-based problems. We begin by introducing the Torus Learning With Errors (TLWE) problem, the core cryptographic assumption underlying Torus-based encryption schemes. Subsequently, we introduce the torus-based encryption schemes, building upon this foundation.
2.2.1. The Hardness of the Torus Learning with Errors (TLWE) Problem
The cryptographic strength of TLWE is rooted in the computational hardness of the Learning With Errors (LWE) problem, first introduced by Regev [16]. Let the integer be a security parameter, be the set of real numbers, be the set of integers, and be the torus (the set of real numbers modulo 1). Let be an error (or noise) probability distribution over , and be a secret key vector where . The notation denotes uniformly random sampling of from set S, and denotes sampling an error e from the distribution .
The TLWE distribution consists of ciphertexts of the form , where is a random vector and is a noisy inner product, with error . The TLWE problem manifests in two core forms:
TLWE Search Problem: Given multiple samples from where and , the goal is to recover the secret key vector . TLWE Decisional Problem: Given samples that are either from or drawn uniformly from , the goal is to distinguish between the two cases. The search and decisional variants of the TLWE problem are of the same complexity. Chillotti et al. [6] proved that solving TLWE problem is at least as hard as solving worst-case instances of certain NP-hard problems.
2.2.2. Torus-Based Encryption Schemes
Torus-based encryption schemes define several core ciphertext types, with TLWE being a fundamental one; others include TRLWE (Torus Ring Learning With Errors) and TRGSW (Torus Ring Gentry-Sahai-Waters), each enabling different functionalities. It is also worth noting that in TLWE, the error term is commonly referred to as noise.
The TLWE encryption scheme provides the fundamental encryption mechanism and includes the following procedures:
- : On input a security parameter , output an LWE dimension and an error distribution .
- : On input n, output a secret key .
- : On input and a plaintext , samples , , compute , and return a ciphertext .
- : On input and , compute and return the plaintext .
The TRLWE encryption scheme extends TLWE to polynomial rings, enabling more efficient bootstrapping and functional operations:
- : On input , output a polynomial degree and an error distribution .
- : On input N, output a secret key .
- : On input and a plaintext polynomial , sample , an error vector , compute , and return a ciphertext .
- : On input and , compute and return .
The TRGSW encryption scheme provides a structure that is pivotal for efficient bootstrapping and homomorphic multiplication:
- : On input , output parameters N, a matrix dimension l, a gadget matrix h, and an error distribution .
- : On input N, output a secret key .
- : On input and a plaintext , compute a TRLWE ciphertext of length , sample an error , and return a ciphertext . (Here, h is a gadget vector/matrix used for decomposition.)
- : On input and , computes , return the plaintext . (This requires knowledge of the structure of or the use of a specific gadget decomposition function .)
2.3. Torus-Based Fully Homomorphic Encryption
This section details the core encryption schemes within the TFHE family, outlining the evolution from the fundamental bit-wise encryption to the more advanced integer-wise paradigm, which is crucial for efficient arithmetic operations on encrypted data.
2.3.1. Bit-Wise Fully Homomorphic Encryption
The TFHE algorithm proposed by Chillotti et al. in 2016 [6] only supports bit-type data. This paper refers to it as the bit-wise TFHE algorithm. Its plaintext space is and its ciphertext space is . Bit-wise TFHE mainly includes the following algorithms:
- : On input the security parameter , return the parameter set .
- ←: On input the parameter set , return the secret key , the bootstrapping key , and the key-switching key .
- : On input the secret key and plaintext (representing a bit), return .
- : On input the secret key and TLWE ciphertext , obtain via , then decrypt to get the corresponding plaintext m by rounding up or down, i.e., , return plaintext m.
- (← ): Transforms a ciphertext under one key into a ciphertext under another key, preserving the encrypted message.
- ←: Input a TRLWE ciphertext , extract the constant term coefficient, obtain a TLWE ciphertext , return TLWE ciphertext .
- (← ): The core innovation of TFHE. Take a noisy ciphertext encrypting and a constant , and return a fresh low-noise ciphertext encrypting . This enables homomorphic evaluation of gates (e.g., NAND) while simultaneously reducing noise.
The TFHE algorithm is correct when the error e satisfies
because , so , and .
2.3.2. Integer-Wise Fully Homomorphic Encryption
While powerful for binary circuits, the bit-wise paradigm is inefficient for arithmetic operations on integers, requiring complex circuit constructions. To address this, Okada et al. [9] proposed an integer-wise variant of TFHE. This scheme expands the plaintext space from to a signed integer domain for a positive integer B, and generalizes the bootstrapping algorithm to natively handle integers, a process termed integer bootstrapping.
The integer-wise TFHE scheme shares the same , , , and algorithms as its bit-wise counterpart. The key differences lie in encryption, decryption, and bootstrapping:
- (): Encrypt an integer by encoding it as . The ciphertext is , where .
- (): Decrypt by computing and rounding. Correctness requires a stricter noise constraint: .
- ( ): A generalized bootstrapping procedure. Input a noisy ciphertext encrypting and a function . Output a fresh ciphertext encrypting . It outputs for and for .
The integer-wise TFHE algorithm is correct when the error e satisfies
because , , so .
As the core component of the integer-wise TFHE scheme, the integer bootstrapping algorithm operates through the following six steps:
1. Rounding: Scale and round the coefficients of the input ciphertext to integers modulo , obtaining . Here, a TLWE ciphertext is obtained, satisfying:
where is the sum of rounding errors, and each rounding error is uniformly distributed in . Therefore, on average and can be neglected.
2. Test Polynomial Initialization: Initialize a polynomial whose coefficients encode the values of the function f to be evaluated. In this step the algorithm initializes the test polynomial , whose coefficients satisfy:
(Note: Interpretation of coefficient indices adjusted for clarity). So the N coefficients of the test polynomial are uniformly filled with the B values to .
3. Blind Rotation: Multiply (rotate) the test polynomial by in the encrypted domain. In this step, a TRLWE ciphertext, , is multiplied by , which is equivalent to shifting the coefficients of the polynomial. Therefore, is a TRLWE ciphertext of the plaintext polynomial , whose constant term is . (Note: Interpretation adjusted).
4. Key-Switched Rotation: Perform a series of controlled rotations using the bootstrapping key , effectively evaluating the polynomial at the position . In this step, the external product operation ⊡ denotes the following mapping:
Briefly, the external product ⊡ multiplies a TRGSW ciphertext encrypting with a TRLWE ciphertext encrypting , outputting a TRLWE ciphertext encrypting . Therefore, after the loop, is a TRLWE ciphertext of a plaintext polynomial whose constant term is . According to Equation (2), . According to Equation (1), we have
Therefore, lies between and . According to Equation (3), we get
Therefore is a TRLWE ciphertext of the plaintext polynomial , whose constant term is .
According to Theorem 6.2 in [17], we get:
where , is the precision parameter of the gadget decomposition matrix, , , is the noise parameter of the bootstrapping key .
5. Extraction: Extract the constant term of the resulting polynomial into a TLWE ciphertext. In this step, the algorithm extracts a TLWE ciphertext from the TRLWE ciphertext . Specifically, is a TRLWE ciphertext of plaintext polynomial under secret key , and the constant term of is . is a TLWE ciphertext encrypting under some secret key . The algorithm does not add extra noise, so .
6. Key Switching: Finalize the output ciphertext . The result is a ciphertext encrypting with manageable noise, whose variance is bounded as shown in Equation (6). In this step, by calling the TFHE.KeySwitching algorithm, we obtain a TLWE ciphertext encrypting . According to Theorem 6.3 in the TFHE algorithm [17], the worst-case infinity norm of the noise is . According to Equation (4), the worst-case infinity norm of the noise is:
At this point, according to Theorem 6.3 in [17], the variance of the noise in the average case is
The output ciphertext is a small-noise TLWE ciphertext of .
2.3.3. Radix-Based Large Integer Decomposition
Since the integer-wise TFHE algorithm can only support integers with a maximum precision of 6 bits, whereas most computing tasks often require computation on integers with 10 to 12 bits of precision, this section studies large integer ciphertext decomposition algorithms. Currently, for decomposing large integers into small integers in plaintext, there are mainly two types of algorithms: decomposition based on radix [18] and decomposition based on the Chinese Remainder Theorem (CRT) [10]. Considering that operations on ciphertexts are more complex than on plaintexts, this section studies the more concise large integer ciphertext decomposition algorithm based on radix.
Currently, the design of a radix-based large integer ciphertext decomposition algorithm using the TFHE algorithm mainly follows the idea of the large integer ciphertext decomposition algorithm proposed by Liu et al. [18].
It provides a foundation for handling large integers but suffers from two critical limitations:
- The decomposed small integer ciphertexts lose their sign bits, resulting in unsigned numbers that cannot support cross-domain functions.
- The integer bootstrapping in [18] can only handle single-bit carries, while homomorphic modulo operations may generate multi-bit carries, leading to decomposition errors.
To address these limitations, this paper proposes an enhanced signed decomposition approach, as detailed in the following sections.
3. Signed Large Integer Ciphertext Decomposition Algorithm
3.1. Signed Large-Integer Decomposition for ReLU
Current homomorphic digit decomposition algorithms based on the sign-evaluation algorithm for larger plaintext spaces have the problems of being unable to retain the sign bit and ciphertexts after modulo operations as they were unable to remove carry interference, so they cannot be used to implement cross-domain ReLU functions supporting large integers. Therefore, this paper extends the current radix-based large integer ciphertext decomposition algorithm. First, the left-shift algorithm , and the homomorphic modulo algorithm are shown in Algorithms 1 and 2, respectively. Second, to address the interference of low-bit information in high-bit ciphertexts, the ciphertext cleaning algorithm is proposed and exhibited in Algorithm 3. Finally, based on this, the signed large integer ciphertext decomposition algorithm is proposed and shown in Algorithm 4, solving the above problems and laying the foundation for implementing the homomorphic ReLU algorithm supporting full-domain bootstrapping for large integers. Here, we give a definition of the ReLU function: given the integer interval ,
| Algorithm 1 . |
| Require: Ciphertext , shift bits Ensure: Ciphertext where 1: for to n do 2: 3: end for 4: 5: return |
| Algorithm 2 . |
| Require: Ciphertext , modulus bits Ensure: Ciphertext where (signed with random sign bit) 1: 2: for to n do 3: 4: end for 5: 6: 7: return |
| Algorithm 3 . |
| Require: Ciphertext , sign ciphertext , precision , bootstrapping key , key-switching key Ensure: Ciphertext where 1: 2: for to do 3: 4: 5: 6: 7: end for 8: return |
| Algorithm 4 . |
| Require: Ciphertext (precision Q), bootstrapping keys , key-switching keys Ensure: Ciphertexts where , , 1: if then 2: 3: 4: else 5: PBSManyLUT() 6: end if 7: 8: 9: 10: 11: 12: for to do 13: 14: if then 15: 16: end if 17: 18: 19: end for 20: if then 21: 22: else 23: 24: end if 25: for to do 26: 27: end for 28: 29: return |
3.2. The Left-Shift and Homomorphic Modulo Algorithms
The homomorphic modulo algorithm can perform homomorphic modulo operations on the input ciphertext and output the modulo ciphertext. It is worth noting that the output of the modulo operation is a signed number with a random sign bit. Specifically, the modulo operation is achieved by retaining the low-bit data and discarding the high-bit data. In the HomMod algorithm, the modulo operation is specifically reflected in lines 2 and 4 of the algorithm. As known from Section 2, for an LWE ciphertext , , and since is a vector composed of 0 or 1, it satisfies:
In the homomorphic modulo algorithm , lines 2 and 4 of the algorithm perform modulo operations on and b, respectively. However, to ensure the correctness of the modulo operation in subtraction, the entire operation result needs to be modulo to remove high-bit carry information. The algorithm removes high-bit carry information by left-shifting the modulo ciphertext, but the left-shift bit count is because the highest bit needs to be reserved as the sign bit. However, since the modulo operation discards the high-bit sign bit information, the highest bit at this point is a random value and does not represent the true sign of the modulo ciphertext. Therefore, the output of the homomorphic modulo algorithm is the ciphertext of a signed number with a random sign bit. A schematic diagram of the algorithm flow is shown in Figure 1.
Figure 1.
algorithm flow.
3.3. The Ciphertext Cleaning Algorithm
The ciphertext cleaning algorithm can clean the input ciphertext based on the effective bit precision , retaining the high bits of information and setting the remaining low-bit information to 0. This process is equivalent to removing the low-bit noise of the ciphertext, ensuring that the ciphertext can perform subsequent homomorphic operations. Specifically, the algorithm performs ciphertext cleaning bit by bit based on the effective bit precision. First, the current effective bit information is moved to the highest bit via the left-shift algorithm . Then, sign judgment is performed via the integer bootstrapping algorithm , obtaining the ciphertext of or . Next, add the ciphertext to the ciphertext of the constant , obtaining the ciphertext where is 0 or . At this point, is consistent with the highest bits of the input ciphertext. Taking as an example, if it is negative after left-shifting by 1 bit, this indicates that the second highest bit of the plaintext x corresponding to the input ciphertext is 1. After bootstrapping and addition, the obtained is 16. With a precision of 6 bits, 16 represents the second highest bit as 1. If it is positive after left-shifting by 1 bit, this indicates that the second highest bit of the plaintext x corresponding to the input ciphertext is 0. Then, after bootstrapping and addition, the obtained is 0. With a precision of 6 bits, 0 indicates that the second highest bit is 0. Finally, adding the input sign bit ciphertext to the obtained multiple ciphertexts yields the ciphertext consistent with the highest bits of the plaintext x corresponding to the input ciphertext , with all other bits set to 0, satisfying , achieving ciphertext cleaning.
In the ciphertext cleaning algorithm , the definition of function is as follows:
As described in Section 2.3.2, the coefficients of the polynomial in the integer bootstrapping algorithm are related to the passed function ff. For function , the coefficient set of the test polynomial is defined as follows:
3.4. The Signed Large Integer Ciphertext Decomposition Algorithm
This subsection presents the core algorithm for decomposing large integer ciphertexts into signed 6-bit segments. We begin by defining the sign evaluation functions and their corresponding test polynomial configurations, then provide a comprehensive explanation of the algorithmic workflow, and conclude with a detailed step-by-step example illustrating the decomposition process for various precision levels.
3.4.1. Sign Evaluation Functions
The signed large integer ciphertext decomposition algorithm calls the integer bootstrapping algorithm (algorithm definition see Section 2.3.2). The decomposed small integer precision is 6, and B is 32. The functions and are defined as follows:
As described in Section 2.3.2, in the integer bootstrapping algorithm , the coefficients of the test polynomial are related to the input function f. For the function , the coefficient set of the test polynomial is defined as follows:
For the function , the coefficient set of the test polynomial is defined as follows:
For the function , the coefficient set of the test polynomial is defined as follows:
3.4.2. Algorithmic Workflow and Explanation
The algorithm (Algorithm 4) orchestrates a sophisticated decomposition process through the coordinated execution of multiple homomorphic primitives. The algorithm commences with sign determination, where the precision Q dictates the bootstrapping strategy (lines 2–6). For , two sequential operations evaluate and functions, while for , a single operation efficiently computes both functions simultaneously. These bootstrapping operations internally configure the test polynomial coefficients according to Equations (14) and (15), enabling precise sign extraction through torus-based computation.
Following sign determination, the algorithm constructs precision-adaptive offset ciphertexts through a sequence of arithmetic operations and transformations (lines 7–11). The operations with dynamically calculated bit shifts (, , and 2) generate the necessary offset values , , and that accommodate the variable precision requirements of large integer decomposition.
The core decomposition phase (lines 12–19) employs iterative operations to extract small integer segments from the original ciphertext. Each call with parameter performs signed modular reduction on specific bit ranges, producing intermediate ciphertexts with random sign bits that require subsequent correction. For segments beyond the first (), the algorithm subtracts to eliminate carry interference from lower-order bits. The algorithm then applies additional evaluations of (with coefficients defined in Equation (16)) to determine the true sign of each small integer segment, followed by arithmetic combination with the large integer’s sign bit to ensure consistent signed representation across all decomposed segments.
For the highest-order segment (lines 20–24), the algorithm performs precision-dependent subtraction using the previously generated offset ciphertexts. The conditional selection between and based on ensures appropriate handling of different precision regimes, effectively truncating the original ciphertext while accounting for sign-dependent adjustments.
The final refinement stage (lines 25–28) employs operations to eliminate residual low-order noise from the decomposed ciphertexts. This critical step ensures that all segments maintain the required cleanliness for subsequent homomorphic operations, with precision parameters carefully calibrated to each segment’s specific bit requirements (5 for middle-order segments, for the high-order segment).
Throughout this process, the algorithm maintains the fixed 6-bit precision standard for all small integer segments while dynamically adapting to the variable precision Q of the input large integer, demonstrating a robust approach to full-domain decomposition that efficiently handles both high-precision () and moderate-precision () scenarios through adaptive use of and operations.
3.4.3. Parameter Adaptation Examples for Different Precisions
To clarify the parameter adaptation of the SignedDecomp algorithm, we provide concrete examples for decomposing integers of different precisions (7–11 bits). Table 2 summarizes the key algorithmic parameters for each precision level Q, including:
- Number of segments ;
- Dynamic shift amounts used in Algorithm 4: and ;
- The effective data bits (num) for each segment, which determine the precision parameter in the subsequent CipherClean operation.
Note that the effective data bits num for a segment represent the number of magnitude bits (excluding the sign bit) that carry meaningful information. The total bits per segment (including sign bit) is num+1, though all segments are stored as 6-bit signed integers in our algorithm. The CipherClean operation retains exactly these num high-order magnitude bits while zeroing out lower bits.
Interpretation: For (3 segments), the highest-order segment has 0 bits of effective data (i.e., contains only the sign), which is handled by the precision-consistent bootstrapping mechanism described in Section 4.2. The negative shift values for and indicate that the corresponding offset ciphertexts () are not required, and the algorithm conditionally skips those operations (see Algorithm 4, lines 20–24). The num values for each segment are precisely the parameters used in the CipherClean step (lines 25–28 of Algorithm 4) to eliminate residual low-order noise.
Table 2.
Parameter examples for SignedDecomp under different input precisions Q.
For (3 segments), the highest-order segment has 0 bits of useful data (i.e., only sign), which is handled by the precision-consistent bootstrapping described in Section 4.2. The negative shift values for indicate that the corresponding offset ciphertexts are not required, and the algorithm branches accordingly (see Algorithm 4, lines 20–24).
3.4.4. Detailed Step-by-Step Example
The workflow of the algorithm is illustrated in Figure 2 for a large integer precision of 11 bits. The rounded rectangle encloses the plaintext x encrypted with key , where the sub-rectangle at the bottom-right corner indicates the encryption key used. We use a concrete example of decomposing a large integer (with precision between 12 and 16 bits) into 3 small integer ciphertexts.
Figure 2.
Flowchart of the signed large integer ciphertext decomposition algorithm for a large integer precision of 11 bits.
Obtaining Sign and Offset Ciphertexts (Lines 1–11)
The initial phase computes the large integer’s sign bit and the necessary offset ciphertexts. The algorithm homomorphically evaluates functions and via , yielding ciphertexts ( or ) and (4 or ).
A key detail is the choice between bootstrapping methods: for precision ≥11 bits, two separate calls are needed, whereas for precision ≤10 bits, a single [15] call suffices. This is due to the slot constraints in the test polynomial, where allows representing at most 512 positive and 512 negative values, thus limiting to 10-bit precision.
Subsequent lines derive the specific offset ciphertexts:
- Line 7: Subtracting from a constant gives (0 or −1), the offset for 16-bit precision.
- Line 8: Left-shifting by bits produces , the offset for precisions 14–16 (0/−4, 0/−2, 0/−1 respectively).
- Line 9: Subtracting from a constant gives (0 or −8), the offset for 13-bit precision.
- Line 10: Left-shifting by bits yields , the offset for precisions 12–13 (0/−16, 0/−8).
- Line 11: Left-shifting by 2 bits produces (0 or −32), which serves as the large integer’s sign bit ciphertext.
Computing Low-order and Middle-order Ciphertexts (Lines 12–19)
This phase generates the ciphertexts and . Line 13 applies to obtain the initial small integer ciphertexts, which have random sign bits. For the middle-order ciphertext (), line 15 subtracts to eliminate interference from the lower-order part.
The true sign bit of each small integer is determined in line 17 by evaluating and subtracting a constant, resulting in a sign bit ciphertext (0 or −32). Finally, line 18 constructs the final signed small integer ciphertext by summing the modulo ciphertext, its own sign bit ciphertext (), and the large integer’s sign bit ciphertext (). This crucial step ensures the sign of the small integer matches that of the original large integer.
Acquiring the High-order Ciphertext (Lines 20–24)
The high-order small integer ciphertext is obtained by truncating the original large integer ciphertext. The specific offset ciphertext subtracted depends on the precision: is used for precisions 12–13, and for precisions 14–16. This step removes the influence of the lower-order segments.
Ciphertext Cleaning and Final Output (Lines 25–28)
The final phase ensures ciphertext cleanliness. The middle-order ciphertext is cleaned with a precision parameter of 5. The high-order ciphertext is cleaned with a precision of , calculated based on its dynamic data precision. After this cleaning process, the algorithm returns the three decomposed small integer ciphertexts.
4. The Full-Domain Large Integer ReLU
4.1. Overview of the Proposed Method
Since current fully homomorphic encryption algorithms supporting full-domain bootstrapping are limited to small integers with precision up to 6 bits and thus unsuitable for most computational tasks, we propose the algorithm by integrating the small-integer homomorphic ReLU algorithm [13] with the signed large integer ciphertext decomposition algorithm from Section 3. The proposed operates by decomposing large integer ciphertexts into multiple small integer ciphertexts using and then performing homomorphic ReLU operations on each segment in parallel via , thereby enabling full-domain ReLU evaluation for large integers through decomposition and parallel processing.
4.2. The Defect of Directly Applying Small-Integer ReLU
While the algorithm employs a uniform 6-bit precision for all small integer ciphertexts with upper limit to simplify design and ensure operational consistency, directly applying the algorithm to decomposed ciphertexts faces a fundamental challenge. As established in Section 3, the highest-order ciphertext among the n decomposed segments exhibits variable precision of , ranging from 2 to 6 bits, creating a critical mismatch with the fixed 6-bit framework.
The core limitation emerges from this precision divergence, which causes non-uniform slot allocation in the torus due to inconsistent assignment of test polynomial coefficients, ultimately generating computational errors. Equation (3) illustrates the original coefficient assignment rule governing this process, while Figure 3 visually demonstrates the allocation disparities between 6-bit and 3-bit precision scenarios that lead to computational inaccuracies.
Figure 3.
Torus slot allocation for 6-bit vs. 3-bit precision. (left) For 6-bit precision (), each integer occupies 32 slots. (right) For 3-bit precision (), each integer occupies 256 slots. This inconsistency causes computational errors when the same integer (e.g., 12) is represented differently across precisions.
Analysis reveals that under 6-bit precision, the torus slot range for the small integer 12 satisfies:
Under 3-bit precision, the integer 12 truncates to 1, with its slot range satisfying:
Comparing Equations (17) and (18) demonstrates that torus slot allocation remains consistent only when ; beyond this range, inconsistencies arise and produce computational errors.
To resolve this fundamental limitation, we modify the test polynomial coefficient assignment rule to:
This modification ensures consistent coefficient assignment regardless of precision variations, as demonstrated by the unified torus slot allocation for 3-bit precision in Figure 4.
4.3. The Large Integer ReLU Algorithm
Building upon the signed decomposition framework and the resolution of precision inconsistency in torus slot allocation, we now present the complete algorithm for homomorphic ReLU evaluation on large integers. The algorithm systematically integrates the procedure with the optimized bootstrapping, enabling full-domain ReLU functionality while maintaining arithmetic consistency across variable precisions.
The flowchart of the homomorphic ReLU algorithm (Algorithm 5) supporting full-domain bootstrapping for large integers is shown in Figure 5. The rounded rectangle encloses the plaintext x encrypted with key , where the sub-rectangle at the bottom-right corner indicates the encryption key used.
| Algorithm 5 (, , ). |
| Require: Large integer ciphertext (precision ), bootstrapping key , key-switching key Ensure: Ciphertexts where , 1: 2: for to n do 3: 4: end for 5: return |
Figure 5.
Flowchart of the homomorphic ReLU algorithm supporting full-domain bootstrapping for large integers.
Specifically, first, the large integer ciphertext is decomposed using the signed large integer ciphertext decomposition algorithm to obtain small integer ciphertexts . Then, each of the n small integer ciphertexts undergoes the homomorphic ReLU operation using the homomorphic ReLU algorithm supporting full-domain bootstrapping for small integers, resulting in ciphertexts , satisfying . When the large integer x is negative, the decomposed small integers are also negative. According to Equation (7), , and , thus satisfying . When the large integer x is positive, the decomposed small integers are also positive. According to Equation (7), , and . From the algorithm, , thus satisfying .
It is noteworthy that after obtaining the result ciphertexts of the homomorphic ReLU operation on the small integers, the algorithm does not merge the multiple result ciphertexts to obtain the large integer ciphertext after the homomorphic ReLU operation. This is because, as shown in [13], under current algorithm parameters, when the integer precision exceeds 6 bits, the operational success probability drops significantly. Therefore, the merged large integer ciphertext cannot participate in subsequent ciphertext-based homomorphic computations. Merging the result ciphertexts has no practical significance, so this paper does not perform ciphertext merging.
4.4. Correctness Analysis
Since the correctness of integer-supporting fully homomorphic encryption algorithms is related to noise, and the variance of noise in these algorithms depends on the algorithm parameters, this section first introduces the algorithm parameters. The parameters used in this chapter are consistent with the TFHE scheme [13,17], as shown in Table 3.
Table 3.
Parameter settings for LargeIntReLU.
Substituting the parameters from Table 3 into Equation (6), the error variance on the left side of the inequality can be calculated as . The corresponding standard deviation is denoted by , where . Since in the proposed homomorphic ReLU algorithm supporting full-domain bootstrapping for large integers, the precision of small integers is uniformly set to 6 bits, the upper limit B for small integer values is set to 32, and integer bootstrapping for large integer ciphertexts is all signed integer bootstrapping (with B fixed at 32), the correctness probability of the proposed algorithm is as shown in Table 4 [13]. It can be obtained that the correctness probability of the proposed homomorphic ReLU algorithm supporting full-domain bootstrapping for large integers is .
Table 4.
Error under different integer intervals [13].
4.5. Formal Correctness Analysis
To address the formal correctness requirement, we present the following theorem and proof.
Theorem 1 (Correctness of SignedDecomp).
Given a large integer ciphertext with precision Q () and the parameter set as defined in Table 2, the SignedDecomp algorithm (Algorithm 4) outputs small integer ciphertexts , such that for the underlying plaintexts the following holds with probability at least :
where each is a signed 6-bit integer, and the decomposition process does not introduce arithmetic errors.
Proof.
The correctness of SignedDecomp hinges on the sequential correctness of its three atomic operations: LeftShift, HomMod, and CipherClean.
Step 1 (LeftShift). For a ciphertext encrypting m, the operation outputs . This linearly scales the plaintext noise by without altering the plaintext structure, i.e., . Therefore, it preserves correctness deterministically.
Step 2 (HomMod). Given modulus , the modulo operation is performed on each coefficient of and b to obtain and . As shown in Equation (8), this homomorphic modular reduction preserves the linear relation due to the binary secret key . The subsequent left-shift by bits correctly aligns the segment without introducing carry propagation.
Step 3 (CipherClean). For each bit position j (), the algorithm extracts the j-th highest bit via left-shift and bootstrapping with function (Equation (9)). The correctness of this bit extraction relies on the correctness of the underlying integer bootstrapping . With parameters from Table 2, the probability of a single bootstrapping being correct is for 6-bit integers (as per Table 3). The sequential composition of num such operations (where ) results in an overall correctness probability of at least (the worst-case per-operation error is already accounted for in the bootstrapping error bound). Finally, the coordination of these three steps in SignedDecomp ensures that each 6-bit segment is correctly extracted and signed, and that the original large integer x can be reconstructed via Equation (20). The overall probability is dominated by the bootstrapping steps, which is empirically validated as . □
Theorem 2 (Correctness of LargeIntReLU).
Let be a ciphertext of a large integer x with precision . The LargeIntReLU algorithm (Algorithm 5) outputs ciphertexts such that:
with probability at least , where and are the segments from SignedDecomp.
Proof.
The proof follows from the composition of Theorem 1 and the correctness of the underlying algorithm. Since SignedDecomp correctly obtains segments with probability , and correctly computes for each 6-bit segment with the same probability, the overall algorithm correctness is bounded by the product of individual success probabilities. Given the high per-operation correctness (95.2%) and the low number of segments ( for ), the overall probability remains ≥95.2%, as confirmed by our experimental results. □
The correctness probability of reported in Table 3 is obtained under the following experimental conditions:
- Test samples: 10,000 randomly generated integers uniformly distributed over the full range of the 6-bit signed domain .
- Hardware/Software: Experiments were conducted on an Alibaba Cloud instance (Intel Xeon Platinum 8369HB @3.30 GHz, 128 GB RAM) using the TFHE library [6].
4.6. Security Analysis
The security of the algorithm is proven below. Formally, Theorem 3 describes the security of the algorithm.
Theorem 3.
In the algorithm, when the algorithm parameters , and γ are the same as in the TFHE scheme [17], the algorithm is secure.
Proof.
Since the security of fully homomorphic encryption algorithms is determined by the algorithm parameters, and the algorithm and all other algorithms it calls adopt the same parameters as the TFHE scheme [17], the security of the algorithm can be reduced to the security of the TFHE scheme [17]. The TFHE scheme [17] has been systematically proven secure. Therefore, the algorithm proposed in this paper is secure. □
Information-Leakage Analysis
We further address the concern about potential information leakage during the decomposition process. Each atomic operation in SignedDecomp—LeftShift, HomMod, and CipherClean—is a publicly computable function of the ciphertext and does not depend on the secret key. Moreover, all bootstrapping operations (via IntBoots) are performed using public bootstrapping keys. Therefore, the entire decomposition process can be simulated by a probabilistic polynomial-time simulator that only has access to the ciphertext (and public parameters), without knowing the plaintext. This satisfies the standard notion of circuit privacy in the context of FHE, ensuring that the decomposition does not reveal any additional information beyond the output segments.
5. Algorithm Performance Analysis
This section presents a comprehensive evaluation of the proposed algorithm, analyzing its correctness, security, and efficiency through both theoretical comparison and experimental validation.
5.1. Benchmark Algorithm: Bit Decomposition for Comparison
To enable fair efficiency comparison with bit-wise homomorphic ReLU algorithms, we first introduce a baseline bit decomposition method. Since existing bit-wise TFHE schemes typically decompose large integers in plaintext before encryption, no ciphertext-level bit decomposition algorithm exists for direct comparison. We therefore propose the algorithm to decompose large integer ciphertexts into individual bit ciphertexts, serving as a reference benchmark for evaluating our approach.
The algorithm (Algorithm 6) sequentially processes each bit position by shifting the target bit to the highest position using , determining its sign via with function (Equation (13)), and finally extracting the bit value through constant subtraction. This decomposition enables direct comparison with bit-wise ReLU approaches.
| Algorithm 6 Bit Decomposition Algorithm (). |
| Require: Large integer ciphertext , large integer precision n, bootstrapping key , key-switching key , where is the ciphertext of x Ensure: Ciphertexts satisfying 1: for to n do 2: Compute 3: Compute 4: Compute {Subtract ciphertext of constant } 5: end for 6: return Ciphertexts |
5.2. Theoretical Complexity Analysis
We now theoretically compare against two state-of-the-art approaches: the bit-data based [7] and the integer-based [14]. Given that bootstrapping dominates FHE computation time (over 95%), we focus on bootstrapping operation counts as the primary complexity metric. Table 5 summarizes the theoretical bootstrapping requirements across different integer precisions.
Table 5.
Bootstrapping operations comparison.
The approach builds upon Huang et al.’s [13], which requires bit-wise plaintext decomposition before encryption. For ciphertext operations, first applies our algorithm (requiring n bootstrappings) followed by (requiring bootstrappings), totaling operations.
The algorithm employs plaintext decomposition into small integers, requiring bootstrappings for full-domain evaluation. To enable ciphertext-level comparison, it would need an additional decomposition overhead of bootstrappings, resulting in total operations.
Our requires bootstrappings for decomposition (2 for large integer sign determination, for small integer signs, and for ciphertext cleaning), plus for small integer ReLU operations, totaling bootstrappings.
As evident from Table 5, demonstrates clear theoretical advantages with consistently lower bootstrapping requirements across all precision levels.
5.3. Experimental Validation
We implemented based on the TFHE library [6] and evaluated it on an Alibaba Cloud server (Intel Xeon Platinum 8369HB @3.30 GHz, 128 GB RAM, Ubuntu 20.04). Due to the unavailability of practical implementations for [14], we compare exclusively against across different precision levels, with execution times detailed in Table 6.
Table 6.
Computation time comparison (seconds).
Limitations and Future Work
We acknowledge that while our theoretical analysis and micro-benchmarks demonstrate the efficiency of , the current experimental validation does not include end-to-end performance testing on actual neural network models (e.g., CNN, MLP). Such evaluation is essential to verify the practical applicability of the scheme in real-world homomorphic inference pipelines. In an effort to address this, we attempted to integrate into the REDsec framework for encrypted MNIST inference. However, we encountered a fundamental obstacle: the ReLU module in REDsec introduces ciphertext-specific errors that were not accounted for during plaintext model training. Consequently, while the plaintext model achieved normal accuracy (99%), its encrypted inference accuracy dropped to approximately 10%—equivalent to random guessing. This confirms that models trained solely on plaintext cannot be directly deployed in homomorphic inference pipelines; cryptographic noise must be incorporated during training (e.g., via noise-aware or quantization-aware training).
Resolving this issue involves objective difficulties beyond time constraints. Accurately modeling REDsec’s error distribution requires detailed knowledge of its internal bootstrapping parameters and encoding schemes—information not available in public documentation. Modifying the core codebase to enable noise injection would require maintainer privileges and would risk introducing vulnerabilities. Moreover, REDsec offers no APIs for integrating training-time noise simulation. We have contacted the original developers through multiple channels for guidance, but as of the submission deadline, we have not received a response. Without their assistance, we cannot safely adapt the library for noise-aware training.
We have documented this limitation and plan to address it in future work by either establishing collaborative opportunities with the REDsec developers or exploring alternative frameworks that better support noise-aware training integration. Once resolved, we will conduct comprehensive end-to-end tests on typical datasets (e.g., MNIST, CIFAR-10) and report accuracy, latency, and other relevant metrics. We believe that the theoretical contributions and component-level evaluations presented in this paper remain valuable and provide a solid foundation for subsequent practical deployments.
6. Conclusions
This paper successfully addressed the limitation of current integer TFHE algorithms by proposing a novel homomorphic ReLU algorithm that supports full-domain bootstrapping for large integers. The core of this contribution is a signed large integer ciphertext decomposition algorithm, which was enabled by the newly designed , , and algorithms. This decomposition method effectively resolves the issues of sign-bit retention and carry interference that plagued previous approaches. By integrating this decomposition technique with an existing small integer ReLU algorithm, we constructed a complete and efficient solution for homomorphically evaluating the ReLU function on large integers. Theoretical analysis and experimental results confirm the algorithm’s correctness and security, demonstrating a significant performance improvement with an average reduction in operation time of 28.58% compared to existing methods.
While the current work focuses on the ReLU activation function, the decomposition framework opens several avenues for future research. An immediate direction is to extend the signed decomposition approach to support other non-linear activation functions essential for deep learning, including Sigmoid and GeLU. This would require designing sign-preserving decomposition algorithms and approximating the target functions within each six-bit segment using low-degree polynomials, while carefully managing approximation error and precision constraints. Another important goal is to integrate into a complete homomorphic neural network inference system and evaluate its end-to-end performance on real-world encrypted datasets (e.g., medical or financial data). Although we encountered stability issues with the underlying cryptographic library when attempting full-network tests, we have documented these limitations and plan to address them in future work by either rectifying the ReLU module or adopting a more robust implementation. Once resolved, comprehensive end-to-end experiments will further demonstrate the practical utility of our algorithm in privacy-preserving machine learning applications.
Author Contributions
Conceptualization, Y.H., J.F. (Jingjing Fan) and J.F. (Junbin Fang); methodology, Y.L., Y.H. and X.T.; software, Y.L., Y.H. and Q.X.; validation, Y.L., Y.H. and Q.X.; formal analysis, Y.L., Y.H. and X.T.; investigation, Y.L., Y.H. and Q.X.; resources, J.F. (Junbin Fang) and Z.-L.J.; data curation, Y.L., Y.H. and Q.X.; writing—original draft preparation, Y.L., Y.H. and X.T.; writing—review and editing, Z.-L.J., J.F. (Jingjing Fan), J.F. (Junbin Fang) and X.Z.; visualization, Y.L., Y.H. and Q.X.; supervision, Z.-L.J., J.F. (Jingjing Fan), J.F. (Junbin Fang) and X.Z.; project administration, Z.-L.J., J.F. (Jingjing Fan), J.F. (Junbin Fang) and X.Z.; funding acquisition, Z.-L.J., J.F. (Junbin Fang) and X.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This work is supported by Shenzhen Science and Technology Program (KJZD20240903104301003); the National Natural Science Foundation of China under Grant 62272131; the Shenzhen Social Science Fund under Grant SZ2025B011 and the Shenzhen Science and Technology Program under Grant SYSPG20241211173609009; PCL-CMCC Foundation for Science and Innovation (Grant No. 2024ZY2B0050).
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Gentry, C. Fully Homomorphic Encryption Using Ideal Lattices. In Proceedings of the 41st Annual ACM Symposium on Theory of Computing, Bethesda, MD, USA, 31 May–2 June 2009; pp. 169–178. [Google Scholar]
- Marcolla, C.; Sucasas, V.; Manzano, M.; Bassoli, R.; Fitzek, F.H.P.; Aaraj, N. Survey on Fully Homomorphic Encryption, Theory, and Applications. Proc. IEEE 2022, 110, 1572–1609. [Google Scholar] [CrossRef] [Scilit]
- Wang, N.; Zhou, W.; Wang, J.; Guo, Y.; Fu, J.; Liu, J. Secure and Efficient Similarity Retrieval in Cloud Computing Based on Homomorphic Encryption. IEEE Trans. Inf. Forensics Secur. 2024, 19, 2454–2469. [Google Scholar] [CrossRef] [Scilit]
- Fukuchi, Y.; Hashimoto, S.; Sakai, K.; Fukumoto, S.; Sun, M.; Ku, W. Secure kNN for Distributed Cloud Environment Using Fully Homomorphic Encryption. IEEE Trans. Cloud Comput. 2025, 13, 721–736. [Google Scholar] [CrossRef] [Scilit]
- Meftah, S.; Tan, B.H.M.; Mun, C.F.; Aung, K.M.M.; Veeravalli, B.; Chandrasekhar, V. DOReN: Toward Efficient Deep Convolutional Neural Networks with Fully Homomorphic Encryption. IEEE Trans. Inf. Forensics Secur. 2021, 16, 3740–3752. [Google Scholar] [CrossRef] [Scilit]
- Chillotti, I.; Gama, N.; Georgieva, M.; Izabachene, M. Faster Fully Homomorphic Encryption: Bootstrapping in Less Than 0.1 Seconds. In Proceedings of the 22nd International Conference on the Theory and Application of Cryptology and Information Security, Hanoi, Vietnam, 4–8 December 2016; Volume 10031, pp. 3–33. [Google Scholar]
- Lou, Q.; Jiang, L. SHE: A Fast and Accurate Deep Neural Network for Encrypted Data. In Proceedings of the 33rd Neural Information Processing Systems, Vancouver, BC, Canada, 8–14 December 2019; Volume 32, pp. 10035–10043. [Google Scholar]
- Bourse, F.; Minelli, M.; Minihold, M.; Paillier, P. Fast Homomorphic Evaluation of Deep Discretized Neural Networks. In Proceedings of the 38th Annual International Cryptology Conference, Santa Barbara, CA, USA, 19–23 August 2018; pp. 483–512. [Google Scholar]
- Okada, H.; Kiyomoto, S.; Cid, C. Integerwise Functional Bootstrapping on TFHE. In Proceedings of the 23rd International Conference on Information Security, Bali, Indonesia, 16–18 December 2020; pp. 107–125. [Google Scholar]
- Kluczniak, K.; Schild, L. FDFB: Full Domain Functional Bootstrapping Towards Practical Fully Homomorphic Encryption. IACR Trans. Cryptogr. Hardw. Embed. Syst. 2022, 2023, 501–537. [Google Scholar]
- Clet, P.E.; Zuber, M.; Boudguiga, A.; Sirdey, R.; Gouy-Pailler, C. Putting Up the Swiss Army Knife of Homomorphic Calculations by Means of TFHE Functional Bootstrapping. Cryptol. Eprint Arch. 2022, 2022/149. Available online: https://eprint.iacr.org/2022/149.pdf (accessed on 15 March 2026).
- Yang, Z.; Xie, X.; Shen, H.; Chen, S.; Zhou, J. TOTA: Fully Homomorphic Encryption with Smaller Parameters and Stronger Security. Cryptol. Eprint Arch. 2021, 2021/1347. Available online: https://eprint.iacr.org/2021/1347 (accessed on 15 March 2026).
- Huang, Y.; Wan, J.; Jiang, Z.L.; Zhou, J.; Fang, J.; Cao, Z. An Efficient Integer-Wise ReLU on TFHE. In Proceedings of the Information Security and Privacy—29th Australasian Conference, ACISP 2024, Sydney, NSW, Australia, 15–17 July 2024; Proceedings, Part I; Lecture Notes in Computer Science; Zhu, T., Li, Y., Eds.; Springer: Berlin/Heidelberg, Germany, 2024; Volume 14895, pp. 161–179. [Google Scholar]
- Bergerat, L.; Boudi, A.; Bourgerie, Q.; Chillotti, I.; Ligier, D.; Orfila, J.B.; Tap, S. Parameter Optimization and Larger Precision for (T) FHE. J. Cryptol. 2023, 36, 28–100. [Google Scholar] [CrossRef] [Scilit]
- Chillotti, I.; Ligier, D.; Orfila, J.B.; Tap, S. Improved Programmable Bootstrapping with Larger Precision and Efficient Arithmetic Circuits for TFHE. In Proceedings of the 27th International Conference on the Theory and Application of Cryptology and Information Security, Singapore, 6–10 December 2021; pp. 670–699. [Google Scholar]
- Regev, O. On Lattices, Learning with Errors, Random Linear Codes, and Cryptography. J. ACM 2009, 56, 1–40. [Google Scholar] [CrossRef] [Scilit]
- Chillotti, I.; Gama, N.; Georgieva, M.; Izabachène, M. TFHE: Fast Fully Homomorphic Encryption over the Torus. J. Cryptol. 2020, 33, 34–91. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Micciancio, D.; Polyakov, Y. Large-Precision Homomorphic Sign Evaluation Using FHEW/TFHE Bootstrapping. In Proceedings of the 28th International Conference on the Theory and Application of Cryptology and Information Security, Taiwan, China, 5–9 December 2022; Volume 13792, pp. 130–160. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.




