ComputeFHE speeds up TFHE operations up to 3.9×
ComputeFHE reduces the number of bootstrapping operations and improves performance of selected TFHE operations by up to 3.9 times
AI/ML arXiv 23 Jun 2026 Method Prototype evidence
Published as “ComputeFHE: A Privacy-Preserving General-Purpose Computation Library”
Why it matters
The library lowers the expertise barrier and reduces bootstrapping overhead, making FHE-based applications more practical for developers.
Summary
ComputeFHE’s optimized ALU reduces the number of bootstrapping operations, delivering performance improvements of up to 3.9× for selected operations. Experiments show the optimized variant cuts bootstrapping from 91 to 52 in a simple addition example and from 3,843 to 2,016 in a sorting benchmark. Evidence comes from the authors’ own measurements on synthetic example programs; no large-scale real-world evaluation is provided.
What they found 2
- Optimized ALU achieves up to 3.9× speedup for selected operations.
“achieving performance improvements of up to 3.9× for selected operations.”
- In the quickstart addition example, bootstrapping drops from 91 to 52.
“The standard implementation (Figure 2a), which can be toggled by using ALU_STANDARD as the 2nd parameter of the Init() function, requires 91 bootstrapping operations, whereas the optimized variant (Figure 2b) reduces this count to 52.”
Caveats 4
- One notable exception is the equality and inequality operators, for which the bootstrapping count remains unchanged, as the corresponding standard implementation is already near-optimal.
- oblivious array access remains computationally expensive and would benefit from further optimization.
- Currently, ComputeFHE does not provide support for encrypted floatingpoint arithmetic.
- fixed-point arithmetic cannot fully match the flexibility and dynamic range offered by floating-point representations.
What’s new here 4
- Provides a C++ imperative-style API for TFHE with encrypted integer and fixed-point types.
- Offers both a standard ALU (two-input gates) and an optimized ALU using three-input, FHE-friendly gates.
- Includes a simulation mode that estimates bootstrapping costs without performing cryptographic computation.
- Supports encrypted conditional statements and oblivious array access within the same programming model.