Free-XOR TFHE evaluates all symmetric binary Boolean gates with two blind rotations
Their gate bootstrapping framework enables free evaluation of any symmetric binary Boolean gate using only two blind rotations
Security & privacy arXiv 21 Oct 2026 Method Theory
Published as “Free-XOR TFHE via Lazy Bootstrapping”
Why it matters
The technique can substantially reduce homomorphic evaluation time for workloads dominated by XOR operations, such as certain symmetric-cryptography and arithmetic circuits.
Summary
The authors demonstrate that encoding bits as Z4 elements and using lazy bootstrapping lets XOR gates be evaluated without programmable bootstrapping while any symmetric binary Boolean gate can be evaluated with only two PBS operations, achieving up to an 88% speedup on XOR-only circuits. Experiments on toy circuits run on an Apple M2 laptop show this speedup but also reveal that the advantage diminishes and can disappear when symmetric gates become prevalent. The evidence consists of a single set of timing measurements on circuits with up to 150 XOR gates and 50 symmetric gates, compared against standard TFHE gate bootstrapping.
What they found 3
- XOR gates can be evaluated without programmable bootstrapping using addition modulo 4.
“Addition modulo 4 therefore computes the XOR of the underlying bits without requiring a programmable bootstrapping (PBS).”
- Any two-input symmetric Boolean gate can be evaluated with two PBS operations.
“Thus, any two-input symmetric Boolean gate can be evaluated using two PBSs.”
- The approach achieves an approximately 88% speedup on XOR-only circuits.
“Our approach achieves an approximately 88% speedup on XOR-only circuits, with diminishing gains as the proportion of symmetric gates relative to FreeXOR gates increases.”
Caveats 2
- Speedup diminishes and can become negative when the circuit contains many symmetric gates, as shown by Toy2 (2.608 s vs 2.481 s) and Toy3 (2.682 s vs 3.711 s) where the standard approach is faster.
- Consequently, our approach is most efficient for circuits in which XOR gates significantly outnumber symmetric gates.
What’s new here 4
- Supports free evaluation of XOR gates and all eight symmetric binary Boolean gates using only two blind rotations (PBSs).
- Introduces a two-bit Z4 encoding with a headroom mechanism that enables lazy bootstrapping.
- Simplifies the construction by relying solely on the LWE hardness assumption rather than NTRU.
- Provides a Rust implementation built on the low-level TFHE-rs API.