← Lab /Security & privacy

AlphaEvolve cuts TFHE bootstrap latency 2.5× on TPUv5e

AlphaEvolve can automatically discover implementation optimizations that significantly reduce FHE primitive latencies on TPUs

Security & privacy arXiv 14 May 2026 Method Prototype evidence

Published as “Adapting AlphaEvolve to Optimize Fully Homomorphic Encryption on TPUs”

Why it matters

Enables faster FHE primitives on TPUs, lowering the barrier for privacy-preserving AI workloads.

Summary

AlphaEvolve reduced TFHE bootstrap latency by 2.5× and CKKS rotation and multiplication latency by 1.31× and 1.18×, respectively, on Google Cloud TPUv5e. The improvements were discovered automatically within 24 hours of hardware-in-the-loop evolutionary search and were measured against human-engineered baselines (jaxite and CROSS). Evidence is strong because latency was measured on 100 real TPU chips with rigorous correctness and security checks, though the gains apply only to specific primitives and still require manual code review before integration.

What they found 3

  1. TFHE bootstrap latency reduced from 10 ms to 4 ms (2.5× speedup)

    “Post-AlphaEvolve bootstrap 10 →4 ms 2.5× speedup”

  2. CKKS rotation latency reduced from 4854 μs to 3714 μs (1.3× speedup)

    “Post-AlphaEvolve CKKS-Rot 4854 →3714 μs 1.3× speedup”

  3. CKKS multiplication latency reduced from 6340 μs to 5359 μs (1.18× speedup)

    “Post-AlphaEvolve CKKS-Mult 6340 →5359 μs 1.18× speedup”

Caveats 4

  • Targeting isolated operations, such as polynomial multiplication (polymul [2]), failed to produce end-to-end speedups.
  • The best program generated by the evolutionary loop can be integrated into the original library after human review.
  • Currently, a human programmer reviews the best program and merges the improved code into the original library.
  • Our initial results focus on TPUs but the framework is extensible and can potentially optimize FHE primitives as well as any cryptographic primitives on a variety of hardware accelerators.

What’s new here 4

  • Applies an LLM-driven evolutionary search (AlphaEvolve) to FHE kernel optimization on TPUs.
  • Integrates real-world TPU latency as the fitness reward, closing the loop between code generation and hardware execution.
  • Discovers micro-architectural optimizations (loop unrolling, scheduling, type-cast removal) that were missed by domain experts.
  • Demonstrates co-evolution of multiple cryptographic kernels to achieve end-to-end latency improvements.